Wegweiser
All notes

Every page now fits on a phone

22 of 82 kinds of page cut content off at the width of a phone, and nothing showed it. All 82 fit now, at 390 and at 320 pixels, and a page's chapter list stays in view while you scroll.

I measured 82 pages of the app, one of each kind, at the width of a phone, and 22 cut something off. The worst was the audit page, where the table lost 718 pixels on the right, but the dashboard, the scanner, the settings, the organisation page and a device page all lost something too. Nobody could see it, because the page clips whatever is wider than the screen so that nothing scrolls sideways, and what is clipped is simply not there. You could look at the fleet table on the dashboard and not know that it had more columns.

The causes were few, and most pages had the same ones. Columns of a layout grew to the width of the widest thing in them, so one wide table pushed the whole column off the screen. Tables hid what did not fit instead of scrolling it. The bar at the top of a page that also carries buttons squeezed the page's path to nothing and pushed the buttons off the edge. Long words that cannot break, such as a hardware id quoted in a finding or a file path, ran off the side, and a dropdown was as wide as its longest option.

Most of those are fixed where they come from and not page by page, so all 82 pages fit now, at 390 pixels and also at 320, which is the narrowest a page should still work at. A wide table scrolls inside its own box, the bar at the top puts the path on the first line and the buttons under it, and on a touch screen the small buttons, chips and links of the chapter list are 44 pixels, which is what a finger needs. I also have a script now that measures the edges of those 82 pages, and a test that stops the columns and the table boxes from going back.

The organisation, group and tenant overview pages, the stack, the briefing and the RMM link pages have a list of their chapters on the left, and on a phone or a narrow tablet it used to become a row of buttons at the top that scrolled away with the page, so it was only useful at the very beginning. It is now one strip that stays under the bar at the top while you scroll, and it shows which chapter you are reading. A jump to a chapter also moves the keyboard focus there, a screen reader is told which part is the current one, and if you asked your phone for less motion the page jumps instead of scrolling smoothly.

More notes

  1. Graphite is a denser interface you can switch on for yourself

  2. The dashboard and the device page now say what is wrong before anything else

  3. Alarms get their own page, and the dashboard starts with them