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

feat(pacer): Enhance isLoginPage to accurately identify login pages #381

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

ERosendo
Copy link
Contributor

While debugging freelawproject/recap#373, I noticed pacer has 2 different login pages. One for the manage account page and another one to access pacer. Here are the URLs:

image

This PR refines the isLoginPage helper function to correctly detect both the standard and manage account login pages. It achieves this by employing a more specific approach checking the path.

After merging this PR, the extension will insert the banner in both login pages:

image

image

Also, this PR fixes freelawproject/recap#373

image

This commit refines the isLoginPage helper function to correctly detect both the standard and manage account login pages. It achieves this by employing a more specific URL path-based approach.
@ERosendo ERosendo added the no changelog Override Check Changelog Action. label Jul 16, 2024
@ERosendo ERosendo removed the no changelog Override Check Changelog Action. label Jul 16, 2024
@ERosendo ERosendo marked this pull request as ready for review July 16, 2024 21:54
@ERosendo ERosendo requested a review from mlissner July 16, 2024 21:54
@mlissner mlissner merged commit 49b4576 into main Jul 16, 2024
8 checks passed
@mlissner mlissner deleted the 373-feat-update-helper-to-identify-login-page branch July 16, 2024 21:55
@mlissner
Copy link
Member

Great, thanks.

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.

News banner shows up on the billing page
2 participants