Module manager: search field and language filter on one row when there is room #93

Open
opened 2026-10-27 22:36:56 +00:00 by claude-bot · 0 comments
Collaborator

Owner's suggestion after the PR #90 desktop preview: the search field and the language drop-down (qml/pages/ModulesPage.qml) take two full-width rows above the list. When the page is wide enough, put them side by side so the list gets a row more.

  • Wide enough (e.g. landscape, tablets, desktop): one row, search field filling, the language box at its implicit width (or a capped share) on the right.
  • Narrow (portrait phones, the 360–400 dp the budgets target): keep two rows. A squeezed search field or a language name elided to "Eng…" would be worse than the row it saves.
  • One layout that switches on width (a GridLayout with columns: width > threshold ? 2 : 1, or a Flow), not two copies of the controls; the e2e hooks (utsb: modules search) keep reporting where the field is.
  • Check with cargo make shots at both widths and the desktop preview; phone in portrait and landscape.

Could: the current layout works; this is polish.

Owner's suggestion after the PR #90 desktop preview: the search field and the language drop-down (`qml/pages/ModulesPage.qml`) take two full-width rows above the list. When the page is wide enough, put them side by side so the list gets a row more. - Wide enough (e.g. landscape, tablets, desktop): one row, search field filling, the language box at its implicit width (or a capped share) on the right. - Narrow (portrait phones, the 360–400 dp the budgets target): keep two rows. A squeezed search field or a language name elided to "Eng…" would be worse than the row it saves. - One layout that switches on width (a `GridLayout` with `columns: width > threshold ? 2 : 1`, or a `Flow`), not two copies of the controls; the e2e hooks (`utsb: modules search`) keep reporting where the field is. - Check with `cargo make shots` at both widths and the desktop preview; phone in portrait and landscape. Could: the current layout works; this is polish.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
schaefera/utStudyBIble#93
No description provided.