Draft
Migrate admin configuration to jsonConfig with short-form i18n and legacy UI removal#221
Conversation
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Agent-Logs-Url: https://github.com/iobroker-community-adapters/ioBroker.legrand-ecocompteur/sessions/70d9e4e6-1c7d-422e-aa96-8d0e17251abe Co-authored-by: mcm1957 <28575778+mcm1957@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate admin UI configuration to jsonConfig
Migrate admin configuration to jsonConfig with short-form i18n and legacy UI removal
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR migrates the adapter admin configuration from legacy Materialize HTML to
jsonConfigwhile preserving all existing native config keys and data types (baseURL,pollJSON,pollIndex,validationMax). It also replaceswords.js-based translations with short-form JSON i18n files and removes obsolete admin UI artifacts.Admin UI migration (jsonConfig)
admin/jsonConfig.jsonwith equivalent fields and constraints from legacy UI.system.configdata migration.xs,sm,md,lg,xl).Adapter metadata update
io-package.jsonto use:Translation migration
admin/words.jsusage with short-form files:admin/i18n/{de,en,es,fr,it,nl,pl,pt,ru,uk,zh-cn}.jsonlabel/helptexts defined inadmin/jsonConfig.json.Legacy admin cleanup
admin/index_m.htmladmin/style.cssadmin/words.jsDocumentation update
README.mdfor the jsonConfig migration.Example (new jsonConfig field definition)