Bug #627
Updated by Roshni Harish. 14 days ago
Module: Global UI, all modules (OPD, Billing, Radiology, etc.) Environment: Test, NSSH (https://nssh.test.clinq.health) Type: Bug / UX Severity: Low–Medium (blocks part of the screen and slows down busy users such as front desk staff and doctors) Priority: P3 **Raised by NSS** Description Toast notifications such as “Saved”, “Patient registered” or “Prescription signed” Pop-ups (notifications/toasts) stay on screen for more than 5 seconds. They cover buttons and content, and there’s no way to close them early. On busy screens they pile up. Steps to reproduce Do any action that shows a toast, for example registering a patient, saving a draft should auto-dismiss sooner or signing a prescription. Watch how long the toast stays on screen. Try to close it. Expected result Toasts close on their own sooner: Success or info: about 3 seconds Warning: about 5 seconds Error: stays until dismissed, so the user doesn’t miss it Every toast has a ✕ close button, and can also be dismissed by clicking or swiping it. Hovering over a toast pauses the auto-close timer. Several toasts stack neatly, with a limit of about 3 visible at once, and don’t cover important actions such as Register Patient or Sign. Actual result Toasts stay for more than 5 seconds, can’t be closed manually, and cover parts of the screen. Acceptance criteria Success and info toasts close automatically within about 3 seconds. Error toasts stay until the user dismisses them. Every toast has a close button. Hovering pauses the timer. At most 3 toasts are visible at a time, and older ones are removed first. Toasts don’t overlap primary action buttons. Notes Toasts probably come from a shared toast component, so a single fix to its default duration and its dismissible setting will apply everywhere. dismissible.