The current sidebar in https://github.com/kh90909/OakTerm/pull/1 is fixed left, which allows the main content to scroll. The sidebar is useful for items that benefit from larger horizontal space, like select elements. This presents a design problem for mobile devices however, as limited screen real estate will force priority consideration.
Ideas for mobile display:
Position sidebar relatively, either above or below terminal content. This means that the header and footer may also have to be positioned relatively, and the user will have to scroll through the entire interface - problematic for long-running content. The terminal output div could be height-limited and overflow scrolled.
Move sidebar controls to a modal. This makes the controls available in an overlay, but scrolling through the control set may be an issue. Not impossible however.
Implement an off-canvas sidebar (like Slidebars). This benefits mobile devices as the sidebar can scroll independently from the terminal content, and the sidebar maintains its fixed-position behavior (better for UI consistency)
I'm in favor of the off-canvas menu (3) but I'm open to ideas!
The current sidebar in https://github.com/kh90909/OakTerm/pull/1 is fixed left, which allows the main content to scroll. The sidebar is useful for items that benefit from larger horizontal space, like select elements. This presents a design problem for mobile devices however, as limited screen real estate will force priority consideration.
Ideas for mobile display:
I'm in favor of the off-canvas menu (3) but I'm open to ideas!