tinypilot icon indicating copy to clipboard operation
tinypilot copied to clipboard

Usability issue: overlays should never make the page overflow

Open jotaen opened this issue 4 years ago • 0 comments

We currently have two overlays that can dynamically grow vertically: Debug Logs and Virtual Media.

This is inconvenient, because the overlay content might push actions out of the view port, which makes it harder to reach or even discover them.

We could introduce (and implement) a policy that overlays should always be fully visible (say at least on a 13" screen as baseline). It’d be up to the specific overlay then to take care of limiting its contents’ height and make the parts scrollable that overflow.

This issue is similar (maybe alternative?) to https://github.com/tiny-pilot/tinypilot/issues/715. It’s still important in its own right, because e.g. for Virtual Media there are other buttons apart from the “Close” one that would be pushed down.

Just for reference: below is a screenshot of the browser window at my 13" laptop screen and the debug logs overlay with limited height. For Virtual Media, there’d be space for around 8 backing files. So I’d say the remaining height is still big enough.

Screenshot 2021-07-19 at 15 48 52

jotaen avatar Jul 19 '21 14:07 jotaen