Skip to content

feat: grid view with 2D controller navigation - #139

Merged
nextestudios merged 1 commit into
mainfrom
feature/29-grid-view
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/29-grid-view

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • New ViewMode setting (list/grid), saved with the other preferences. ChangeView (now bound to Ctrl+G, shown as such in the bottom bar) and Menu → Exibição toggle it; the density setting from enhancement: improve List View density, details and state indicators #28 keeps its own menu item and applies to both views (compact grid = smaller tiles).
  • GridNavigation (Application, pure): left/right step one item and wrap across rows, up/down keep the column, down onto a shorter last row lands on its last item, triggers page by visible rows, edges stay put. Used by folders and the home screen. In the grid, left no longer goes to the parent folder (Back and the path bar do).
  • View: a virtualized GridView (ItemsWrapGrid) next to the ListView; only the active one has items. Tiles reuse the row fill code (fallback glyph, native shell icon via feat: integrate native Windows file and folder icons #24 at 64 px, marked/cut/encrypted states, Narrator name). The view pins the column count from the width and reports columns/visible rows to the controller, so 2D navigation matches what is on screen. Tiles scale with the responsive layout tiers from enhancement: responsive layout for TV, desktop and handheld screens #36.
  • --render-screens now captures 3b-folder-grid-compact and 3c-folder-grid at every target resolution.
  • Controller: Select is already Search (feat: add recursive file search #46), so the controller reaches the toggle from Menu (Start). Thumbnails stay for later, as the issue says.

Tests

  • CI: GridViewJourneyTests (2D walk never skips, wraps at row ends, short last row, paging, left does not leave the folder, switching views keeps the focused item, persisted). DensityJourneyTests updated: ChangeView now toggles the view and leaves density alone.
  • Smoke --render-screens run on this branch to check the grid at 720p and 4K.
  • Manual (docs/TESTING.md): real controller 2D navigation, 10k-item folder, resizing, Narrator.

Closes #29

🤖 Generated with Claude Code

- ViewMode setting (list/grid), toggled by ChangeView (Ctrl+G) and Menu ->
  View; density applies to both (compact grid = smaller tiles).
- GridNavigation in Application: left/right step one item and wrap across
  rows, up/down keep the column, down onto a short last row lands on the
  last item, triggers page by visible rows. Used by folders and home.
- Virtualized GridView tiles share the row fill code (icons, states,
  Narrator name) with a 64 px shell icon loader; the view pins the column
  count and reports it to the controller.
- --render-screens captures the grid in both densities.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios merged commit 56e6d93 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/29-grid-view branch September 27, 2026 04:51
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.

feat: add Grid View

1 participant