pez-globo / pufferfish-software

All software for the Pufferfish ventilator.
Apache License 2.0
0 stars 1 forks source link

Frontend topbar needs to be made more compact #387

Closed ethanjli closed 3 years ago

ethanjli commented 3 years ago

When the alarm message is too long, the frontend's topbar layout goes all weird: 2021-06-15-212051_1280x800_scrot

We will need to set the length of the active alarm message display to a constant value, and if the alarm message is too long we will need to either truncate it or do a marquee-style animation. We should also consider abbreviating other content in the topbar, e.g. only using acronyms for ventilation mode, removing the "Events Log" button label, and/or vertically stacking the battery level and clock display.

Order of priorities: