Skip to content

Update global alert styles per USE changes#1494

Open
matt-bernhardt wants to merge 1 commit intomainfrom
use-445
Open

Update global alert styles per USE changes#1494
matt-bernhardt wants to merge 1 commit intomainfrom
use-445

Conversation

@matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Mar 25, 2026

Our desired styling for global alerts is changing, taking the lead of the Unified Search project. Particularly with the coming launch of that platform, we want to update how global alerts are rendered across other properties.

Relevant ticket(s):

https://mitlibraries.atlassian.net/browse/use-445

How does this address that need:

This updates the rendering of the global alert banner, according to styles developed by the UX group.

Document any side effects to this change:

This is a bespoke addition to the Bento codebase that ideally will be rolled into the theme gem in the future, but that coming change will be much more involved than a handful of styles in the alert area. For now, our best option is to introduce a bespoke override like this.

Developer

  • All new ENV is documented in README
  • All new ENV has been added to Heroku Pipeline, Staging and Prod
  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Requires database migrations?

NO

Includes new or updated dependencies?

NO

** Why are these changes being introduced:

Our desired styling for global alerts is changing, taking the lead of
the Unified Search project. Particularly with the coming launch of that
platform, we want to update how global alerts are rendered across other
properties.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/use-445

** How does this address that need:

This updates the rendering of the global alert banner, according to
styles developed by the UX group.

** Document any side effects to this change:

This is a bespoke addition to the Bento codebase that ideally will be
rolled into the theme gem in the future, but that coming change will be
much more involved than a handful of styles in the alert area. For now,
our best option is to introduce a bespoke override like this.
@coveralls
Copy link

Coverage Status

coverage: 99.072%. remained the same
when pulling b1892c6 on use-445
into 3b9a63e on main.

Copy link

@djanelle-mit djanelle-mit left a comment

Choose a reason for hiding this comment

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

Style changes look spot on! Assuming the copy is done via environment variables this is good to go!

@matt-bernhardt
Copy link
Member Author

Ok, great - I've tagged Melissa on the Jira ticket for a stakeholder review, and as long as she's okay then I'll merge and we can deploy this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants