Skip to content

Sitemap editor: nested sitemaps#4206

Open
mherwege wants to merge 4 commits into
openhab:mainfrom
mherwege:sitemap_nested
Open

Sitemap editor: nested sitemaps#4206
mherwege wants to merge 4 commits into
openhab:mainfrom
mherwege:sitemap_nested

Conversation

@mherwege

Copy link
Copy Markdown
Contributor

Depends on openhab/openhab-core#5543

This enhancement allows creating, editing and visualizing nested sitemaps in the sitemap editor. It requires the core enhancement to be merged.

@mherwege mherwege marked this pull request as draft May 18, 2026 18:56
@relativeci

relativeci Bot commented May 18, 2026

Copy link
Copy Markdown

#5781 Bundle Size — 13.8MiB (+0.03%).

7abfc75(current) vs 6e8e01e main#5775(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 1 change
                 Current
#5781
     Baseline
#5775
No change  Initial JS 1.46MiB 1.46MiB
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 840 840
No change  Assets 979 979
Change  Modules 2721(+0.07%) 2719
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 122 122
No change  Duplicate Packages 1 1
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#5781
     Baseline
#5775
Regression  JS 11.5MiB (+0.03%) 11.5MiB
Regression  CSS 896.59KiB (+0.03%) 896.29KiB
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 mherwege:sitemap_nestedProject dashboard


Generated by RelativeCIDocumentationReport issue

@florian-h05 florian-h05 added enhancement New feature or request main ui Main UI awaiting other PR Depends on another PR labels May 18, 2026
mherwege added 3 commits May 20, 2026 14:20
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
@mherwege mherwege marked this pull request as ready for review May 30, 2026 06:26
openOnReady: Boolean,
disabled: Boolean
},
emits: ['sitemapPicked', 'input'],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since sitempaPicked is an f7.emit, it shouldn't be listed here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i actually don't see where there is a f7.on sitemapPicked - maybe this is just here for consistency?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This code is copied from persistencePicker I believe, so your feedback also may also apply to that one (and some other pickers). But all you point out is correct.

})
},
methods: {
open() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't see where 'open' is used, is it needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not used.

title="Sitemap"
:value="widget.name"
:disabled="!editable"
@input="(value) => (widget.name = value)" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you can change the emit to be update:value instead of 'input'. That way, you can use vmodel:value="widget.name" which is shorthand for the 2 separate :value and @input lines.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
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.

3 participants