Closed mherwege closed 1 week ago
725e626(current) vs 50f2a91 main#1941(baseline)
[!WARNING] Bundle contains 2 duplicate packages – View duplicate packages
Bundle metrics
1 change
Current #1943 |
Baseline #1941 |
|
---|---|---|
Initial JS | 1.86MiB |
1.86MiB |
Initial CSS | 607.87KiB |
607.87KiB |
Cache Invalidation | 17.76% |
17.77% |
Chunks | 222 |
222 |
Assets | 245 |
245 |
Modules | 2873 |
2873 |
Duplicate Modules | 146 |
146 |
Duplicate Code | 1.84% |
1.84% |
Packages | 95 |
95 |
Duplicate Packages | 2 |
2 |
1 change
1 regression
Bundle analysis report Branch mherwege:press_release_button Project dashboard
Ready for review, the core PRs are now merged.
@mherwege : please rebase your branch. Build is failing due to a change in core framework that needed a fix in Basic UI.
@lolodomo done
Related to https://github.com/openhab/openhab-core/pull/4183 Requires https://github.com/openhab/openhab-core/pull/4204
This PR implements press/release button support.
To make this work, some refactoring had to be done to allow proper quoting of arguments in mappings and conditions. So far, quotes where stripped and the full mapping or condition strings where interpreted by splitting on special characters (=, : ...). This is limiting as it blocks these characters from being used in the arguments or makes working with blanks difficult. The sitemap syntax explicitely works with quoted strings for this, but that information was lost in the current implementation. Quotes are now preserved, and therefore they need to be removed in core at usage (https://github.com/openhab/openhab-core/pull/4204). Note that this introduced a backward compatibility constraint, as sitemaps saved in the UI, containing mappings or conditions with blanks, will require quotes to be manually added in the UI in order to be able to save changes to it. If not touched, the sitemaps should still work.