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

Thing Details: Add Copy DSL Definition button #3086

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Mar 3, 2025

This is based on openhab/openhab-core#4569

Resolve openhab/openhab-core#4509

This depends on the changes in api.js and also the rename of copy to duplicate in #3021

Also cleaned up / removed the previous attempt (from 5 years ago) to create a textual definition. It was commented out and wasn't actually used.

image

Copy link

relativeci bot commented Mar 3, 2025

#2912 Bundle Size — 11.07MiB (-0.02%).

42f4c67(current) vs d651945 main#2909(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 3 changes Regression 1 regression
                 Current
#2912
     Baseline
#2909
Regression  Initial JS 2MiB(~+0.01%) 2MiB
No change  Initial CSS 577.34KiB 577.34KiB
Change  Cache Invalidation 19.56% 18.8%
No change  Chunks 226 226
No change  Assets 249 249
Change  Modules 2948(-0.03%) 2949
No change  Duplicate Modules 149 149
No change  Duplicate Code 1.71% 1.71%
No change  Packages 98 98
No change  Duplicate Packages 2 2
Bundle size by type  Change 2 changes Improvement 2 improvements
                 Current
#2912
     Baseline
#2909
Improvement  JS 9.29MiB (-0.02%) 9.29MiB
Improvement  CSS 867.35KiB (-0.03%) 867.59KiB
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.38KiB 1.38KiB
No change  Other 871B 871B

Bundle analysis reportBranch jimtng:copy-dsl-in-thing-detailsProject dashboard


Generated by RelativeCIDocumentationReport issue

@lolodomo lolodomo added enhancement New feature or request main ui Main UI labels Mar 4, 2025
@florian-h05 florian-h05 added the awaiting other PR Depends on another PR label Mar 10, 2025
@jimtng jimtng force-pushed the copy-dsl-in-thing-details branch from 85d905e to 42f4c67 Compare March 10, 2025 14:20
@jimtng
Copy link
Contributor Author

jimtng commented Mar 10, 2025

rebased

@florian-h05 florian-h05 removed the awaiting other PR Depends on another PR label Mar 10, 2025
Copy link
Contributor

@florian-h05 florian-h05 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@florian-h05 florian-h05 added this to the 5.0 milestone Mar 11, 2025
@florian-h05 florian-h05 merged commit a229c3d into openhab:main Mar 11, 2025
5 checks passed
florian-h05 added a commit to florian-h05/openhab-webui that referenced this pull request Mar 11, 2025
Those were forgotten to submit during review.

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
enhancement New feature or request main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal to suggest file syntax for things and items to users
3 participants