Repository navigation
Conversation
Added instructions for testing the UI in Predbat.
Corrected typo in README regarding editing apps.yaml.
Add dashboard cards and improve plan timeline
Codex/modern UI v9.2
# Conflicts: # apps/predbat/predbat_ui_style.css
Resolve web routing, discovery tests, MCP authentication and debug journal conflicts. Preserve separate write/control permissions and strict public registration validation alongside upstream signing-key persistence and consent scopes. Validation: 405 quick test groups passed (5 slow groups skipped), six targeted web suites, 159 frontend tests, production UI build and all pre-commit hooks.
Bring in the tested main release merge while retaining the feature branch README. All source, tests and built assets match main commit 8c30d54, which passed 405 quick test groups, 159 frontend tests, the UI build and pre-commit checks.
Merge changes from 9.7.1
Merge changes from 9.7.1
Codex/merge predbat update
Codex/merge predbat update
This branch has not been deployed
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.
Summary
Adds an optional modern web interface for Predbat, with responsive layouts, light and dark themes, and navigation between Overview, Dashboard, Plan, Charts, Compare, configuration and system pages.
Both interfaces run together: the classic pages keep their existing paths, and the modern interface is available under
./ui/. Select Try the new interface in the classic menu or Classic interface in the modern menu. The browser remembers the choice for this installation; no configuration change or restart is needed.The new interface includes:
Compatibility
apps/predbat/predbat_ui*files.apps.yamlconfigurations remain supported.frontend/.Configuration
Add the relevant settings to your existing pred_bat: section in apps.yaml. Replace the example entity IDs with your own.
No
web_uisetting is needed. All additional Overview settings below are optional. Existing grid, solar, battery and household entities are reused automatically.Existing integrations and defaults
Packaging and delivery
sharpdependency are removed.predbat_ui*files with fixed names and rejects empty chunks/assets. No zip is shipped.FileResponsesupplies ETag/Last-Modified and conditional responses, withCache-Control: no-cacheand compression for text assets.npm ci, tests and a build, then checks for changed or untracked generated files.coverage/deploycopiespredbat_ui*./legacy_*aliases and chart-path switch are removed. Modern UI guidance is in final sections of the web-interface and apps.yaml documentation.Validation
Frontend CI passed on both fork repositories at
a1c64357. The upstream pull request workflows are awaiting maintainer approval.