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

oh-colorpicker: Fix command not sent when state null & style not accepted & cosmetic error on missing defaultColor #1989

Merged
merged 4 commits into from
Sep 5, 2023

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Jul 26, 2023

Fixes #1713.

  • Fix command not sent when current Item state is null.
  • Fix style can not be set.
  • Fix a (cosmetic) error thrown when defaultColor has no value.

@ghys Please test this so we don't run into infinite command loops.

@relativeci
Copy link

relativeci bot commented Jul 26, 2023

Job #1092: Bundle Size — 15.75MiB (~+0.01%).

15929f7(current) vs b88eb89 main#1091(baseline)

⚠️ Bundle contains 16 duplicate packages

Metrics (2 changes)
                 Current
Job #1092
     Baseline
Job #1091
Initial JS 1.67MiB(~+0.01%) 1.67MiB
Initial CSS 608.89KiB 608.89KiB
Cache Invalidation 93.94% 0%
Chunks 219 219
Assets 689 689
Modules 1700 1700
Duplicate Modules 90 90
Duplicate Code 1.95% 1.95%
Packages 138 138
Duplicate Packages 15 15
Total size by type (2 changes)
                 Current
Job #1092
     Baseline
Job #1091
CSS 859.34KiB 859.34KiB
Fonts 526.1KiB 526.1KiB
HTML 1.23KiB 1.23KiB
IMG 140.74KiB 140.74KiB
JS 9.25MiB (~+0.01%) 9.25MiB
Media 295.6KiB 295.6KiB
Other 4.72MiB (~+0.01%) 4.72MiB

View job #1092 reportView main branch activity

@florian-h05 florian-h05 changed the title oh-colorpicker: Fix command not sent when state null & error on missing defaultColor oh-colorpicker: Fix command not sent when state null & cosmetic error on missing defaultColor Jul 27, 2023
@florian-h05 florian-h05 marked this pull request as ready for review July 27, 2023 09:49
@florian-h05 florian-h05 requested a review from a team as a code owner July 27, 2023 09:49
@florian-h05 florian-h05 changed the title oh-colorpicker: Fix command not sent when state null & cosmetic error on missing defaultColor oh-colorpicker: Fix command not sent when state null & style not accepted & cosmetic error on missing defaultColor Jul 27, 2023
Signed-off-by: Florian Hotze <[email protected]>
@florian-h05 florian-h05 added bug Something isn't working main ui Main UI labels Aug 19, 2023
@florian-h05 florian-h05 added this to the 4.1 milestone Aug 19, 2023
@florian-h05
Copy link
Contributor Author

@ghys Can you please have a look at that?

Copy link
Member

@ghys ghys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for letting this slide; I can't really test myself as I've never been confronted to the situation but I remember reports when for example HSB components were rounded and it caused trouble like these infinite loops. I guess if there are side-effects we'll know soon enough :)

@ghys ghys merged commit 6ba9293 into openhab:main Sep 5, 2023
4 checks passed
@florian-h05 florian-h05 deleted the oh-colorpicker branch September 5, 2023 19:14
stefan-hoehn pushed a commit to stefan-hoehn/openhab-webui that referenced this pull request Sep 23, 2023
…pted & cosmetic error on missing defaultColor (openhab#1989)

Fixes openhab#1713.

- Fix command not sent when current Item state is null.
- Fix style can not be set.
- Fix a (cosmetic) error thrown when defaultColor has no value.

---------

Signed-off-by: Florian Hotze <[email protected]>
Signed-off-by: Stefan Höhn <[email protected]>
digitaldan pushed a commit to digitaldan/openhab-webui that referenced this pull request Sep 24, 2023
…pted & cosmetic error on missing defaultColor (openhab#1989)

Fixes openhab#1713.

- Fix command not sent when current Item state is null.
- Fix style can not be set.
- Fix a (cosmetic) error thrown when defaultColor has no value.

---------

Signed-off-by: Florian Hotze <[email protected]>
florian-h05 added a commit to florian-h05/openhab-webui that referenced this pull request Oct 14, 2023
Fixes openhab#2134.
Regression from openhab#1989.

Signed-off-by: Florian Hotze <[email protected]>
florian-h05 added a commit that referenced this pull request Oct 29, 2023
Fixes #2134.
Regression from #1989.

Signed-off-by: Florian Hotze <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oh-colorpicker component doesn‘t accept style configuration
2 participants