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

Charts: Force re-render on device orientation change #2706

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Aug 12, 2024

Fixes #2702.

@florian-h05 florian-h05 requested a review from a team as a code owner August 12, 2024 12:13
@florian-h05 florian-h05 added bug Something isn't working main ui Main UI labels Aug 12, 2024
@florian-h05 florian-h05 added this to the 4.3 milestone Aug 12, 2024
@florian-h05 florian-h05 changed the title Chart page: Force re-render on device orientation change Charts: Force re-render on device orientation change Aug 12, 2024
Copy link

relativeci bot commented Aug 12, 2024

#2178 Bundle Size — 10.79MiB (~+0.01%).

a359c06(current) vs 94aa16a main#2176(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
#2178
     Baseline
#2176
Improvement  Initial JS 1.89MiB(~-0.01%) 1.89MiB
No change  Initial CSS 608.01KiB 608.01KiB
Change  Cache Invalidation 17.83% 24.49%
No change  Chunks 226 226
No change  Assets 249 249
No change  Modules 2907 2907
No change  Duplicate Modules 149 149
No change  Duplicate Code 1.81% 1.81%
No change  Packages 97 97
No change  Duplicate Packages 2 2
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2178
     Baseline
#2176
Regression  JS 8.97MiB (~+0.01%) 8.97MiB
No change  CSS 892.57KiB 892.57KiB
No change  Fonts 526.1KiB 526.1KiB
No change  Media 295.6KiB 295.6KiB
No change  IMG 140.74KiB 140.74KiB
No change  HTML 1.24KiB 1.24KiB
No change  Other 871B 871B

Bundle analysis reportBranch florian-h05:chart-rerender-rotat...Project dashboard


Generated by RelativeCIDocumentationReport issue

@florian-h05 florian-h05 force-pushed the chart-rerender-rotate branch from 7ad9764 to a359c06 Compare August 12, 2024 12:29
@florian-h05 florian-h05 merged commit f7f04bf into openhab:main Aug 12, 2024
8 checks passed
@florian-h05 florian-h05 deleted the chart-rerender-rotate branch August 12, 2024 12:45
florian-h05 added a commit that referenced this pull request Aug 12, 2024
Fixes #2702.

Signed-off-by: Florian Hotze <[email protected]>
(cherry picked from commit f7f04bf)
@florian-h05 florian-h05 added the patch A PR that has been cherry-picked to a patch release branch label Aug 12, 2024
florian-h05 added a commit to florian-h05/openhab-webui that referenced this pull request Aug 12, 2024
florian-h05 added a commit to florian-h05/openhab-webui that referenced this pull request Aug 13, 2024
florian-h05 added a commit that referenced this pull request Aug 13, 2024
florian-h05 added a commit that referenced this pull request Aug 13, 2024
#2710)

Follow-up for #2706.

Signed-off-by: Florian Hotze <[email protected]>
(cherry picked from commit f745fa9)
florian-h05 added a commit to florian-h05/openhab-webui that referenced this pull request Aug 15, 2024
Improves the fixes from openhab#2677, openhab#2511, openhab#2706 and openhab#2710 to only apply on iOS devices.
Avoids/Fixes regressions with other platforms such as https://community.openhab.org/t/chart-scrollbar/157828.

Known issues:
- Charts display in popups on iPads are rendered to large.

Signed-off-by: Florian Hotze <[email protected]>
@florian-h05 florian-h05 added regression bug Something isn't working and removed bug Something isn't working regression labels Aug 15, 2024
florian-h05 added a commit that referenced this pull request Aug 15, 2024
Improves the fixes from #2677, #2511, #2706 and #2710 to only apply to
iOS devices.
Avoids/Fixes regressions with other platforms such as
https://community.openhab.org/t/chart-scrollbar/157828.

Known issues:
- Charts display in popups on iPads are rendered to large.

Signed-off-by: Florian Hotze <[email protected]>
florian-h05 added a commit that referenced this pull request Aug 15, 2024
Improves the fixes from #2677, #2511, #2706 and #2710 to only apply to
iOS devices.
Avoids/Fixes regressions with other platforms such as
https://community.openhab.org/t/chart-scrollbar/157828.

Known issues:
- Charts display in popups on iPads are rendered to large.

Signed-off-by: Florian Hotze <[email protected]>
(cherry picked from commit 17c2119)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI patch A PR that has been cherry-picked to a patch release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Charts do not resize correctly after rotating the phone on iOS
1 participant