ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
78 stars 7 forks source link

(#212) Improve widget section presentation #239

Closed ryanw-mobile closed 1 week ago

ryanw-mobile commented 1 week ago

All widgets on the Agile Screen and Usage Screen now share the same base Card Layout, which specifies a uniform max width.

When the window is extremely wide, we do not fully use the available width, and cap the widget width to WindowWidthSize.Compact. Since widgets are a part of the fixed layout, we simply hardcode the adaptive layout for now.

Some minor overall layout was updated.

Agile rate trend is now animated.

codacy-production[bot] commented 1 week ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: -0.03% (target: -1.00%) :white_check_mark: ∅
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (83381947a0bf8526334ac0b5ba94c9505c3e5a10) | 2085 | 1388 | 66.57% | | | Head commit (990157ed39bdfd5a8e8be3a51c67da06c58b6a64) | 2086 (+1) | 1388 (+0) | 66.54% (**-0.03%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#239) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more