Skip to content

Add readonly mode for file-based pages and widgets#4115

Open
jimtng wants to merge 12 commits intoopenhab:mainfrom
jimtng:editable-uicomponents
Open

Add readonly mode for file-based pages and widgets#4115
jimtng wants to merge 12 commits intoopenhab:mainfrom
jimtng:editable-uicomponents

Conversation

@jimtng
Copy link
Copy Markdown
Contributor

@jimtng jimtng commented Apr 17, 2026

UI implementation of openhab/openhab-core#5493

Note: this PR changes the YAML syntax in the Code tab:

  • remove special keys for the slots. Instead, the slots are displayed in the YAML as is.
  • always show the component: key.

This is so that the yaml code is compatible with the file-based syntax, making it copy-pasteable to/from file.

image image

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 17, 2026

#5314 Bundle Size — 13.85MiB (+0.05%).

d653e32(current) vs 6a86839 main#5313(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 5 changes Regression 1 regression
                 Current
#5314
     Baseline
#5313
Regression  Initial JS 1.41MiB(+0.06%) 1.41MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 16.19% 16.18%
Change  Chunks 699(+0.29%) 697
Change  Assets 818(+0.25%) 816
Change  Modules 2820(+0.07%) 2818
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 126 126
No change  Duplicate Packages 1 1
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#5314
     Baseline
#5313
Regression  JS 11.54MiB (+0.05%) 11.53MiB
Regression  CSS 902.29KiB (+0.03%) 901.98KiB
No change  IMG 638.41KiB 638.41KiB
No change  Fonts 526.1KiB 526.1KiB
No change  Media 295.6KiB 295.6KiB
No change  Other 847B 847B

Bundle analysis reportBranch jimtng:editable-uicomponentsProject dashboard


Generated by RelativeCIDocumentationReport issue

@jimtng jimtng force-pushed the editable-uicomponents branch 2 times, most recently from 7ff6b55 to c330d7a Compare April 17, 2026 09:19
@jimtng jimtng marked this pull request as ready for review April 17, 2026 09:30
@florian-h05 florian-h05 added enhancement New feature or request main ui Main UI awaiting other PR Depends on another PR labels Apr 18, 2026
@jimtng jimtng force-pushed the editable-uicomponents branch 3 times, most recently from 8f66192 to e776cdf Compare April 20, 2026 07:04
jimtng added 12 commits April 20, 2026 23:15
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
…ed syntax

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting other PR Depends on another PR enhancement New feature or request main ui Main UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants