Skip to content

feat: list density, consistent details and shape-based state indicators - #119

Merged
nextestudios merged 1 commit into
mainfrom
feature/28-list-density
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/28-list-density

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • State indicators by shape, not only color: focus = ring + fill (enhancement: improve controller focus visuals and focus restoration #31 token); marked = left stripe + checked-box glyph + "Marcado"; cut = scissors glyph + "Recortado" + dimmed content (ring and stripe stay crisp); encrypted = lock glyph + "Com senha"; blocked = warning icon + "Bloqueado: …". Narrator names include the states.
  • Details: fixed order type · size · date · attributes (e.g. Arquivo PDF · 1.2 MB · 26/09/2026 10:00 · oculto); drives/known folders keep their free-space line. Long names are ellipsized; the focused row shows the full name (up to three lines).
  • Density: new AppSettings.Density (Comfortable default / Compact), persisted in settings.json (no schema bump; missing = comfortable). Comfortable keeps the two-line TV layout; compact is one line with type, size and date columns. Menu → "Densidade da lista"; the reserved ChangeView action toggles it too (not bound to a button yet).

Testing

  • CI: DensityJourneyTests (choose in the menu, relaunch with the same store → still compact; ChangeView toggles and saves).
  • Manual (added to docs/TESTING.md): grayscale screenshot distinguishing focused/marked/both/cut/encrypted, long-name behavior, compact columns alignment, 720p/1080p/4K in both densities.

Closes #28

🤖 Generated with Claude Code

- Focused, marked and cut rows each have a distinct shape: focus ring;
  left stripe + checked box + "Marcado"; scissors + "Recortado" and dimmed
  content. Encrypted entries show a lock and "Com senha". Readable in
  grayscale.
- Details always read type, size, date, attributes; the focused row shows
  the full name (up to three lines), others ellipsize.
- New persisted ListDensity setting: comfortable (two lines, TV) or compact
  (one line with type, size and date columns). Toggled from the app menu
  or the reserved ChangeView action.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios force-pushed the feature/28-list-density branch from 7f90f8d to 3f5ec35 Compare September 27, 2026 03:06
@nextestudios
nextestudios merged commit 4b45311 into main Sep 27, 2026
@nextestudios
nextestudios deleted the feature/28-list-density branch September 27, 2026 03:07
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.

enhancement: improve List View density, details and state indicators

1 participant