-
Notifications
You must be signed in to change notification settings - Fork 239
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-4123: Improve queue entry removal UX and modal styling #1451
(fix) O3-4123: Improve queue entry removal UX and modal styling #1451
Conversation
...-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-confirm-action.modal.tsx
Outdated
Show resolved
Hide resolved
packages/esm-service-queues-app/src/queue-table/queue-entry-actions/end-queue-entry.modal.tsx
Outdated
Show resolved
Hide resolved
...-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-confirm-action.modal.tsx
Outdated
Show resolved
Hide resolved
806fa78
to
ace4226
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.
Thanks @harshthakkr , this looks great.
Once obvious todo would be to similarly improve the wording for the Delete and Undo Transition modals. That doesn't seem to be in scope for this ticket, so I filed a separate ticket for this. (We might need some discussions on the wordings before it's ready to be worked on.)
ace4226
to
c54e6f8
Compare
@denniskigen, could you please review it? Thanks! |
packages/esm-service-queues-app/src/queue-table/queue-entry-actions/end-queue-entry.modal.tsx
Outdated
Show resolved
Hide resolved
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 mostly good save for a few inconsistencies.
packages/esm-service-queues-app/src/queue-table/queue-entry-actions/end-queue-entry.modal.tsx
Outdated
Show resolved
Hide resolved
...-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-confirm-action.modal.tsx
Outdated
Show resolved
Hide resolved
...m-service-queues-app/src/clear-queue-entries-dialog/clear-queue-entries-dialog.component.tsx
Show resolved
Hide resolved
Co-authored-by: OpenMRS Bot <[email protected]>
7869e66
to
3f37ec9
Compare
Thanks! |
…mrs#1451) * fix: modify the text and use destructive action button * fix: Update modal instruction * fix: Remove patient modal width * fix: width of Delete and Undo transition modals * test: Update test for queue-entry-confirm-action * fix: Change name from isRemovePatient to isRemovingPatientFromQueue * (chore) Update translations from Transifex (openmrs#1473) Co-authored-by: OpenMRS Bot <[email protected]> * fix: Requested changes * Revert "fix: Requested changes" This reverts commit 3f37ec9. * fix: Requested changes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: OpenMRS Bot <[email protected]>
Requirements
Summary
This PR improves consistency in the UI by making the following adjustments:
Screenshots
Remove modal
Before
After
Delete modal
Before
After
Undo Transition modal
Before
After
Related Issue
O3-4123
Note
The updates to the Transition string are applied only to the English language (i.e., en.json), as I am not familiar with other languages.