app-center
app-center copied to clipboard
Replace YaruMasterDetailPage with a Column/Row/ListView+Navigator
We initially created YaruMasterDetailPage (YMDP) because of the settings app where the amount of menu item + page combos is so high that we eventually got distracted from a navigation layout approach.
YMDP provides a different layout when the app is smaller than breakpoint XYZ which is not used in app-center
YMDP has a big design flaw and using navigation inside the code is kind of complex.
Without changing the design in such a change I propose to change the code to
This could also make it easier to use for example this design for small windows (this would be another task and needs design ack):
- hide left listview
- add a show-left-pane button to the titlebar which opens a drawer overlay with the left pane like for example in this weather app:
https://github.com/ubuntu/app-center/assets/15329494/6079f5a0-7ce6-47b8-87c2-cae73c2b2c5a