feat: adaptive grid column count driven by window size class (Closes #4) #45

Merged
shahondin1624 merged 1 commits from feature/issue-4-adaptive-grid-column-count into main 2026-03-13 13:08:16 +01:00

Summary

  • Replace GridCells.Adaptive(minSize = 75.dp) with GridCells.Fixed(N) driven by WindowSizeClass
  • Add UiConstants.Grid helper providing totalColumns, attributeSpan, and talentSpan per size class
  • Compact: 2 attr cols / 1 talent col; Medium/Expanded: 4 attr cols / 2 talent cols

Closes #4

## Summary - Replace `GridCells.Adaptive(minSize = 75.dp)` with `GridCells.Fixed(N)` driven by `WindowSizeClass` - Add `UiConstants.Grid` helper providing `totalColumns`, `attributeSpan`, and `talentSpan` per size class - Compact: 2 attr cols / 1 talent col; Medium/Expanded: 4 attr cols / 2 talent cols Closes #4
shahondin1624 added 1 commit 2026-03-13 13:08:06 +01:00
Replace GridCells.Adaptive(minSize=75.dp) with GridCells.Fixed(N) where
column count and item spans are determined by WindowSizeClass via new
UiConstants.Grid helper. Compact shows 2 attr/1 talent per row, Medium
and Expanded show 4 attr/2 talent per row.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 14f0dab046 into main 2026-03-13 13:08:16 +01:00
shahondin1624 deleted branch feature/issue-4-adaptive-grid-column-count 2026-03-13 13:08:16 +01:00
Sign in to join this conversation.