Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(banners): Add logic to avoid duplicating RECAP banners #287

Merged
merged 11 commits into from
Dec 12, 2022

Conversation

ERosendo
Copy link
Contributor

@ERosendo ERosendo commented Dec 9, 2022

This PR fixes freelawproject/recap#318. We use the solution suggested in the issue.

@@ -220,6 +220,7 @@ ContentDelegate.prototype.handleDocketQueryUrl = function () {
);
} else {
if (result.results) {
PACER.removeBanners()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious...no semi-colon here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created the commit before We fixed the issue with Prettier. After I merged the main branch with this one, the code formatter made a lot of changes to this file, so I created a .git-blame-ignore-revs file to avoid messing with the blame view.

Thanks for mentioning that file during the meeting.

Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine except for the very small nitpick. If you want to fix that and merge, that seems good to me.

@ERosendo ERosendo merged commit 5b6f3bc into main Dec 12, 2022
@ERosendo ERosendo deleted the 318-avoid-duplicate-banners branch December 12, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

The extension inserts a duplicate recap banner and button to create an alert
2 participants