-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(headerbar): display instance's & app's info in profile menu - LIBS-176 #795
Conversation
🚀 Deployed on https://pr-795--dhis2-ui.netlify.app |
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Tweaking the font and spacing here improves this, I think. Using
I think
I think it warrants an error, just to the user doesn't assume it's still pending. Using the text
I'm not sure about this one. I included it in the mockup as it was mentioned in the ticket, but I'm not sure if it's crucial. @amcgee - do you know if that info is important? |
I think leaving out the build revision is OK for now. |
Draft: Needs a cypress test |
@Mohammer5 @cooper-joe looks good, a few points:
|
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.
See above
I addressed the first and second point. Waiting for @cooper-joe's response to the third one |
Yes, this was intentional, though I can see how it's inconsistent. Reasons were:
You're right that this is slightly odd though, and the inconsistency might cause confusion. I think omitting version completely avoids this (and avoids more i18n work). |
I've removed the word "version". |
Everything's been addressed & I covered the code with cypress. |
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.
@cooper-joe @amcgee @Mohammer5
I think we should avoid hard coding "DHIS2" for the same reason we have custom logo support. E.g. DATIM may want to show its own version string and product name, instead of DHIS2 and its version.
Hi! Due to a lack of activity on this issue over time (180 days) it seems to be stale. If still relevant, please provide information that moves it forward, e.g. additional information, a pull request with suggested changes, or a reason to keep it open. Any activity will keep it open, otherwise it will be closed automatically in 30 days. Thanks! 🤖 |
Still relevant, just went under the radar |
🚀 Deployed on https://pr-795--dhis2-ui.netlify.app |
I'm reviving this and adding PWA update notification, with slightly updated styling and using context instead of loading the version directly. So I'll close this PR and have opened #1153 - but it's based on your work @Mohammer5 so big hats off in thanks to you! |
Blocked by #820
Relates to LIBS-176 (link)
Open ToDos
Open questions
With the current styles it's a lot harder to parse