Skip to content

Commit

Permalink
Dynamically load the list of Semantic tags and store them in Vuex (#1882
Browse files Browse the repository at this point in the history
)

Supersedes #1850.
Closes #1822.

Depends on openhab/openhab-core#3559 (already
merged now).
Adding custom semantic tags is now possible:
openhab/openhab-core#3519.

This PR loads the Semantic tags when MainUI is loaded the first time and
stores them in Vuex.
This allows the removal of the hard-coded Semantic tags and the
translations from the assets and therefore makes the initial JS smaller.

--
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Jun 28, 2023
1 parent 8228411 commit 46cf029
Show file tree
Hide file tree
Showing 43 changed files with 81 additions and 2,681 deletions.
94 changes: 0 additions & 94 deletions bundles/org.openhab.ui/web/src/assets/i18n/semantics/bg.json

This file was deleted.

94 changes: 0 additions & 94 deletions bundles/org.openhab.ui/web/src/assets/i18n/semantics/ca.json

This file was deleted.

94 changes: 0 additions & 94 deletions bundles/org.openhab.ui/web/src/assets/i18n/semantics/cs.json

This file was deleted.

94 changes: 0 additions & 94 deletions bundles/org.openhab.ui/web/src/assets/i18n/semantics/da.json

This file was deleted.

Loading

0 comments on commit 46cf029

Please sign in to comment.