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 dismissible banners #9436

Merged
merged 1 commit into from
Jun 17, 2024
Merged

fix dismissible banners #9436

merged 1 commit into from
Jun 17, 2024

Conversation

mekarpeles
Copy link
Member

Addresses https://github.com/internetarchive/openlibrary/pull/9432/files#r1641272516

Technical

Testing

Screenshot

Stakeholders

@mekarpeles
Copy link
Member Author

Can be tested on http://ol-dev1.us.archive.org:1337/

Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

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

LGTM.

Testing on http://ol-dev1.us.archive.org:1337/ sometimes took 30+ seconds for the banner to dismiss, but that seems to be some unrelated issue whereby the POST to /hide_banner takes a while.

I cherry-picked the commits from #9432 and applied them on top of this PR, in the local development environment, and everything works as expected both logged in and logged out, in terms of the banner disappear once the x is clicked, and also the preferences sticking.

@mekarpeles mekarpeles merged commit 47abbbf into master Jun 17, 2024
4 checks passed
@mekarpeles mekarpeles added the Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants