sfbrigade / bats-server

Routed is an app to help ambulances direct non-critical patients to hospital emergency rooms with the most availability.
https://routedapp.org/
GNU Affero General Public License v3.0
18 stars 12 forks source link

Modal state for incoming ringdown is confusing #211

Closed fwextensions closed 2 years ago

fwextensions commented 2 years ago

If there are a lot of incoming ringdowns and a new one comes in, the list goes into a modal state, but the new ringdown is stuck to the bottom of the list, off screen:

image

You have to scroll to the very bottom of the list to see it, even on a fairly large monitor:

image

Obviously, this doesn't work well. Even if it was working as intended, with the new ringdown card stuck to the bottom of the viewport, it would look awkward on a desktop monitor. Modal dialogs on desktop are usually centered vertically on the screen or appear near the top of the window, not the very bottom.

If it's really important to interrupt the user when new ones come in, a simple modal could be shown to prompt them to switch to the Ringdowns tab. Then the new ringdowns could be shown in a New section at the top of the list, fully expanded so the user can view the summary and easily acknowledge it. This way, if a bunch of ringdowns come in before the user gets to ack'ing them, we can just have a simple scrolling list instead of dealing with more complex "+2" scenarios.