Skip to content

feat(ui): default to top navbar + stacked pages, restore v1.6.1 layout - #456

Merged
futrime merged 1 commit into
mainfrom
claude/navbar-layout-alignment-d70379
Nov 10, 2026
Merged

futrime merged 1 commit into
mainfrom
claude/navbar-layout-alignment-d70379

Conversation

@futrime

@futrime futrime commented Nov 10, 2026

Copy link
Copy Markdown
Member

Makes the top navigation bar and stacked (non two-pane) pages the default, and reverts all layout metrics (sizing, spacing, borders, arrangement) to Android v1.6.1. Content and colors are unchanged.

Changes

  • UiSettings: layout_mode defaults to navbar, two_pane_pages defaults to false (existing users keep what they chose).
  • Top bar (shell_navbar.xml): v1.6.1 structure. 48dp tall; tabs centred on the bar at 13sp; 36dp news/theme buttons; 32dp avatar. The active tab is bold primary text with no pill; the others use secondary text.
  • Shared tokens: cards are 8dp with no border, inner cards 12dp, buttons/inputs 8dp, tags 4dp, page title 22sp. A horizontal SegmentedControl draws separate 32dp tab pills with 8dp gaps instead of a track.
  • Pages reverted to v1.6.1 sizes, spacing and arrangement, with headers back on the page background: home, instances, instance settings, settings, about, content management/list, mods, external mods (grid of cards), CurseForge, news, quick launch, accounts.

Testing

  • Built locally and checked on an emulator (2400x1080 landscape). Each page was compared side by side against v1.6.1.
  • testDebugUnitTest locally: the only failures are package-engine tests that need symlink privileges or git on Windows; no UI tests failed.

… layout metrics

- Default layout is now the top navigation bar with stacked (non two-pane) pages.
- Top bar back to v1.6.1: 48dp, tabs centred, 13sp, no pill behind the active tab.
- Shared tokens back to v1.6.1: cards 8dp without border, buttons and inputs 8dp,
  tags 4dp, page title 22sp, horizontal segmented controls as separate tab pills.
- Page layouts (home, instances, instance settings, settings, about, content,
  mods, external mods, CurseForge, news, quick launch, accounts) use v1.6.1
  sizes, spacing, borders and arrangement; page headers sit on the background.
- Content and colors are unchanged.
@futrime
futrime merged commit 2051e09 into main Nov 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant