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
(fix) - O3-03130 - fix 'Add Provider Queue Room' dialog popping up wh… #1115
Conversation
Size Change: -163 kB (-5%) ✅ Total Size: 3.22 MB
ℹ️ View Unchanged
|
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.
I defer entirely to the Palladium team on this.
Thanks, @chibongho. We are fine with the changes. One question though, will we maintain the queue screen button as a separate button from the other actions list, or will we add viewing queue screen as one of the actions? |
@ojwanganto The ComboButton is a strange carbon element. It requires a "Primary action" that is always displayed, plus a list of other actions that are within a menu. I have placed the "Queue screen" button as the primary action, and the other actions in the menu. |
…en it should not
Requirements
Summary
The "Add Provider Queue Room" modal pops up unexpectedly sometimes when navigating to the service queues app. The current implementation has the dialog popping up when certain conditions are met. The PR changes it to appear by pressing a button in the "Clinics Metrics" section instead.
A previous commit added some UI changes to show the buttons at the "Clinic Metrics" section has a ComboButton on mobile. However, it also made a (probably) unintentional change to hide the "Queue Screen" button behind the
Emr: View Legacy Interface
privilege. This PR reverts it to the old behavior.I just made it always use the ComboButton, regardless of whether the browser is on mobile or desktop. Let me know if that's not ok.
Screenshots
When logged in as admin:
When logged in as nurse:
Related Issue
Other