UI: Add adaptive window size breakpoint helper in composeApp
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 80/100
Research direction
Start by reading the Compose app structure and its existing unit test setup to find where shared UI helpers and tests belong. Add the size class enum and calculation using the stated Material3 width boundaries, then test values at and around 600dp and 840dp. Done means all boundary tests pass.
Written by the indexing model from the issue text.
Description
Summary
To support adaptive layouts across Desktop window resize events, introduce a window size class provider (Compact, Medium, Expanded) based on standard Material3 breakpoints (width < 600dp, 600-840dp, > 840dp).
Acceptance Criteria
- Define
WindowWidthSizeClassenum (Compact,Medium,Expanded). - Implement
calculateWindowWidthSizeClass(windowWidthDp: Dp). - Add unit tests verifying breakpoint boundaries.
- Dominant language
- Kotlin
- Stars
- 1
- Forks
- 0
- Avg merge
- 4m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentwithyash/yaan
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
developmentwithyash/yaan#63 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
developmentwithyash/yaan#62 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
developmentwithyash/yaan#60 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
developmentwithyash/yaan#57 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
developmentwithyash/yaan#41 ·
Maintainers usually reply within 1 day
All issues in developmentwithyash/yaan
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 4 days
-
bug P2-should size/XS viz
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
albertocavalcante/gvy#1631 ·
Maintainers usually reply within 1 day
-
Auto apply filtersOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
IacobIonut01/ReFra#1410 ·
Maintainers usually reply within 17 days
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rustyrazorblade/easy-db-lab#1087 ·
Maintainers usually reply within 1 day