-
Notifications
You must be signed in to change notification settings - Fork 19
feat: headerbar update notification [LIBS-344] #748
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
Conversation
e1b7dc3 to
42e1b13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good!! I noticed one bug: when hard-reloading in the one-client condition, the page got stuck at the PWA Loading Boundary (white screen) until reloading again. I found that removing these lines fixed it -- they were the old way of handling the hard-reload
After that's fixed, this is functionally good to go -- I'll post a few ideas for follow-ups and suggestions for making one or two things easier to understand for future maintainers too, but they're not at all necessary for merging 🙂
# [10.1.0](v10.0.1...v10.1.0) (2022-10-06) ### Features * headerbar PWA update notifications [LIBS-344] ([#748](#748)) ([b245bf1](b245bf1))
|
🎉 This PR is included in version 10.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Implements LIBS-176
Implements LIBS-344
Requires dhis2/app-runtime#1252Requires dhis2/ui#1153released asbetaRequires dhis2/ui#1156 (mergeuibeta to master)Description
This refactors the PWA update notification logic, moving update notification UI to the Profile menu. It also adds the app name, app version, and server version strings to the
useConfigcontext.