Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location card: Swap status & measurement badges to avoid layout shift #2425

Merged
merged 1 commit into from Feb 28, 2024

Conversation

florian-h05
Copy link
Contributor

The status badges are displayed based on the actual state of that status category. This causes the measurement badges, which are always shown to be either first or second line.

This swaps those, so that measurement badges don't move around anymore.

The status badges are displayed based on the actual state of that status category.
This causes the measurement badges, which are always shown to be either first or second line.

This swaps those, so that measurement badges don't move around anymore.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 requested a review from a team as a code owner February 28, 2024 16:34
@florian-h05
Copy link
Contributor Author

Supersedes #2198.

Copy link

relativeci bot commented Feb 28, 2024

Job #1718: Bundle Size — 11.02MiB (0%).

62866f6(current) vs 2255bb7 main#1717(baseline)

Warning

Bundle contains 19 duplicate packages – View duplicate packages

Bundle metrics  Change 1 change
                 Current
Job #1718
     Baseline
Job #1717
No change  Initial JS 1.85MiB 1.85MiB
No change  Initial CSS 607.92KiB 607.92KiB
Change  Cache Invalidation 16.92% 16.76%
No change  Chunks 220 220
No change  Assets 242 242
No change  Modules 3089 3089
No change  Duplicate Modules 164 164
No change  Duplicate Code 1.77% 1.77%
No change  Packages 150 150
No change  Duplicate Packages 18 18
Bundle size by type  no changes
                 Current
Job #1718
     Baseline
Job #1717
Not changed  JS 9.21MiB 9.21MiB
Not changed  CSS 889.4KiB 889.4KiB
Not changed  Fonts 526.1KiB 526.1KiB
Not changed  Media 295.6KiB 295.6KiB
Not changed  IMG 140.74KiB 140.74KiB
Not changed  HTML 1.24KiB 1.24KiB
Not changed  Other 871B 871B

View job #1718 reportView florian-h05:location-card branch activityView project dashboard

@florian-h05 florian-h05 merged commit 4b8c179 into openhab:main Feb 28, 2024
6 checks passed
@florian-h05 florian-h05 deleted the location-card branch February 28, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant