Simplify initialisation of What's New App
What does this MR do and why?
Simplify initalisation of Whats New App
We don't need to trigger the whats new app from the legacy top nav any longer. This allows us to simplify the init code in the super sidebar.
While we are at it, we are sneaking in a little rename of
whats-new-app
to js-whats-new-app
. Also, we are now passing the
version digest from the super sidebar, rather than reading it from the
DOM attributes.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2023-12-06_at_10.25.49 | Screen_Recording_2023-12-06_at_10.24.05 |
How to set up and validate locally
- Log into the GDK.
- Remove the localStorage item
display-whats-new-notification
(in the browser console withlocalStorage.removeItem('display-whats-new-notification')
- Reload the page
- The help menu should now a little dot, indicating that "what's new" has some entries.
- Open the drawer via Help > 'What's new'
- The dot should disappear, the drawer open
- Reloading the page: The help menu still should not have a dot
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Miguel Rincon