[1.1] Window Size Classification System #1

Closed
opened 2026-03-13 11:25:01 +01:00 by shahondin1624 · 0 comments

User Story

As a user on any device, I want the app to detect my screen size and classify it, so that the layout adapts to my device.

Acceptance Criteria

  • WindowSizeClass enum: Compact (<600dp), Medium (600-840dp), Expanded (>840dp)
  • Derived from BoxWithConstraints at app root — works on all targets
  • Available via LocalWindowSizeClass CompositionLocal
  • Resizing desktop/browser window recalculates in real time

Notes

This is the foundational building block for all responsive layout work. Other stories (1.2, 1.3, 1.4, 5.1) depend on this.

## User Story **As a** user on any device, **I want** the app to detect my screen size and classify it, **so that** the layout adapts to my device. ## Acceptance Criteria - [ ] `WindowSizeClass` enum: `Compact` (<600dp), `Medium` (600-840dp), `Expanded` (>840dp) - [ ] Derived from `BoxWithConstraints` at app root — works on all targets - [ ] Available via `LocalWindowSizeClass` CompositionLocal - [ ] Resizing desktop/browser window recalculates in real time ## Notes This is the foundational building block for all responsive layout work. Other stories (1.2, 1.3, 1.4, 5.1) depend on this.
shahondin1624 added this to the Phase 1: Foundation milestone 2026-03-13 11:25:01 +01:00
shahondin1624 added the epic:responsive-layoutpriority:must-have labels 2026-03-13 11:27:58 +01:00
Sign in to join this conversation.