UI/UX: Add user-selectable density mode (compact / comfortable) #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Different users have different preferences for data density. Power users on large monitors want maximum rows visible. Users on smaller screens or those who prefer readability want more breathing room. Currently there is no way to adjust this — spacing is hardcoded throughout all components.
Proposed Changes
Add a density toggle with two modes:
Compact Mode
0.15rem 0.4rem)0.78rembody,0.72remheaders)Comfortable Mode (default)
Implementation
localStorage(key:silo-density)<body>or a React context that components read fromImpact
MEDIUM — Gives power users control over their experience. Should be implemented after the base density improvements (#16-#20) so "comfortable" mode reflects the already-tightened defaults.
Dependencies
Files
web/src/hooks/useDensity.ts)web/src/components/AppShell.tsx(toggle UI)web/src/components/items/ItemTable.tsx(density-aware padding)web/src/components/audit/AuditTable.tsx(density-aware padding)web/src/components/items/ItemsToolbar.tsx(toggle button location)