Skip to content

Show dismissible alert for the new navigation

Thomas Hutterer requested to merge 411632_new_nav_alert into master

What does this MR do and why?

Resolves Dismissible alert for the new navigation (#411632 - closed).

Screenshots or screen recordings

image

How to set up and validate locally

  • Turn on the new navigation (via the toggle in your user dropdown). See the announcement on the top of any page.
  • Turn off the new navigation and verify that the announcement isn't shown there.
  • Turn it back on, dismiss the announcement by clicking the X on the top-right. Verify that it doesn't show up again after a page reload.
  • If you want to bring it back, you can always do Users::Callout.last.destroy in the Rails console.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thomas Hutterer

Merge request reports

Loading