-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/favorites view #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 95 commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
1421131
feat: cross-panel Favorites view with sub-device support
cayossarian 46b56ae
fix: thread config_entry_id from sub-device side panel horizon
cayossarian 4767f0f
fix: re-render Favorites view when a target is un-favorited
cayossarian 611c804
fix: replace Favorite ha-switch with heart icon to avoid breaker conf…
cayossarian fea70b4
fix: code review hardening for Favorites view
cayossarian 294a3b2
fix: re-sort list view rows on hass updates
cayossarian 458f2c4
docs: spec for compact expanded list rows
cayossarian 4f891e5
docs: implementation plan for compact expanded list rows
cayossarian 036d571
feat(core): extract shared getCircuitStateClasses helper
cayossarian 778d31f
refactor(grid): use shared getCircuitStateClasses
cayossarian ee71d26
feat(list): chart-only expanded rows; gear + tappable badge on list row
cayossarian ee4da8c
fix(list): scope dom-updater circuit selector to .circuit-slot
cayossarian 88a25f6
fix(dashboard): accept .list-status-toggle as a toggle target
cayossarian a1c3837
style: list-row gear, tappable badge, chart-only slot
cayossarian 661a5f0
fix(list): enable slide-confirm for tappable badge in list views
cayossarian 798d1e2
fix(favorites): merge monitoring status across entries for utilization %
cayossarian 8e62a8f
fix(list): move utilization % next to breaker badge
cayossarian 37ed62a
fix(grid): move utilization % next to breaker badge in By Panel view
cayossarian ea81743
build: rebuild dist bundle
cayossarian 63ee065
style: move panel tabs inline with panel selector dropdown
cayossarian d324ff8
build: rebuild dist bundle
cayossarian badfbff
style: drop redundant Favorites title+count summary
cayossarian 5444852
build: rebuild dist bundle
cayossarian 5eaf258
feat(list): real toggle-pill armed by slide-confirm; add slider to Fa…
cayossarian 386196f
build: rebuild dist bundle
cayossarian 32e5a90
feat(favorites): render per-panel status grid below slider+W/A row
cayossarian bbe4a93
fix(panel): coalesce concurrent tab renders; clear history on metric …
cayossarian de3a46a
build: rebuild dist bundle
cayossarian b50a9a6
feat(list): configurable 1/2/3 columns via Graph Settings side panel
cayossarian 54644ff
build: rebuild dist bundle
cayossarian b020536
fix(list): wrap row+expansion in .list-cell so grid keeps chart in-co…
cayossarian 6d2facd
build: rebuild dist bundle
cayossarian b312b93
refactor(list): scope toggleExpand DOM lookups to the owning cell
cayossarian 911c24e
build: rebuild dist bundle
cayossarian 5b290e7
refactor(panel): render tokens, keyed monitoring cache, debounced vie…
cayossarian 1521f8b
refactor: CSS.escape for selectors; single CARD_STYLES emit; panel-na…
cayossarian 145aceb
refactor(panel): extract FavoritesViewState persistence to its own mo…
cayossarian 92b5b8f
test: cover FavoritesController.build and render coalescing logic
cayossarian acef1df
build: rebuild dist bundle
cayossarian cb4137e
release: bump card version to 0.9.4
cayossarian 11347b9
fix: address copilot review (orphaned JSDoc, aria-checked, coalesce e…
cayossarian 015938b
build: rebuild dist bundle
cayossarian a3e5233
docs: add error management design spec
cayossarian 9ada6ad
docs: clarify backend helper usage in error management spec
cayossarian 3e3e432
docs: add error management implementation plan
cayossarian be661a1
feat: add ErrorStore with two-lane persistent/transient error management
cayossarian f66843d
fix: export AddInput type from error-store
cayossarian 642cdea
fix: align error-store i18n strings with spec
cayossarian c59025d
feat: add RetryManager with exponential backoff and panel-offline sho…
cayossarian 2c8c01c
fix: clear stale error on successful panel-offline short-circuit
cayossarian bd1f249
feat: add error i18n keys and panel_status entity type
cayossarian 898d020
feat: add span-error-banner LitElement component
cayossarian 75b63d2
fix: harden error-banner lifecycle and apply codebase conventions
cayossarian 65d35ce
feat: wire error banner and panel status watching into card
cayossarian ce2650a
fix: harden error-store clear and card discovery re-entry
cayossarian e37b35e
feat: wire error banner and panel status watching into panel
cayossarian 1a2f9e6
fix: panel watch teardown, re-entry guard, and banner contradiction
cayossarian 2209bbc
refactor: route side panel errors through ErrorStore
cayossarian 89e3294
chore: remove unused ERROR_DISPLAY_MS constant
cayossarian d502956
fix: preserve error diagnostics in side panel catch blocks
cayossarian d134b62
feat: wire retry manager and error surfacing into dashboard controller
cayossarian ee33cd0
feat: surface cache fetch and area resolver errors via ErrorStore
cayossarian 6c49abc
feat: surface tab-monitoring service errors via ErrorStore
cayossarian 3b66480
fix: panel-switch race and localize area-resolver error
cayossarian 36816ec
fix: address remaining error management review issues
cayossarian 9327d3b
fix: remove retry from relay toggle — state changes must fail immedia…
cayossarian 792959d
remove extraneous docs
cayossarian cac4314
refactor: scope retry to discovery and fetches, remove dead code
cayossarian 0b25d34
Revert "remove extraneous docs"
cayossarian 63c1852
docs: remove docs from repo per AGENTS.md (belong in SpanPanel_Docs w…
cayossarian 2baab6b
docs: add CLAUDE.md with doc artifact location and attribution rules
cayossarian e2f178f
fix: address Copilot review comments on PR #10
cayossarian 120be0a
build: rebuild dist bundle (Copilot review fixes)
cayossarian 64ce0c7
fall back to live current/breaker rating for utilization pct
cayossarian 63eea28
feat(i18n): add tf() placeholder substitution and named panel-status …
cayossarian ea509fb
feat(error-store): widen watchPanelStatus to multi-panel watch
cayossarian 36dcf37
refactor(error-store): drop dead cast, unify cleanup, extract key hel…
cayossarian 236ad4d
feat(favorites): show per-panel offline banner rows in Favorites view
cayossarian a0f05d0
docs(changelog): note Favorites offline banner fix in 0.9.4
cayossarian dcf8220
fix(side-panel): style unit-toggle so grid selector shows current set…
cayossarian 07046af
build: rebuild dist bundle
cayossarian 23339cf
refactor(header): extract buildSheddingLegendHTML for reuse in Favori…
cayossarian 0407c0c
feat(favorites): add gear + shedding legend to summary strip
cayossarian beca7a0
refactor(favorites): drop empty CSS rule and refresh stale docstring
cayossarian c5c4d9f
feat(side-panel): add favorites mode rendering with per-panel sections
cayossarian c960860
feat(favorites): open graph-settings sidebar grouped by contributing …
cayossarian 59a66fe
build: rebuild dist bundle
cayossarian 7776bc5
fix(favorites): anchor summary gear flush-left in the summary row
cayossarian 843818d
fix(favorites): defer tab re-render while favorites-mode sidebar is open
cayossarian bb7b706
feat(favorites): list every circuit per contributing panel in sidebar
cayossarian 58cbdba
fix(side-panel): defer tab re-render for every sidebar mode, not just…
cayossarian a555311
fix: address deep code-review findings
cayossarian 91863d2
test: cover cache-race and attribute-escape regressions
cayossarian 3b0b4b0
build: rebuild dist bundle
cayossarian ca3a460
fix(favorites): BESS chart line visibility and resize
cayossarian 5f1a047
fix: address Copilot review feedback
cayossarian 4108f85
fix(panel): drop redundant summary header from Favorites Monitoring view
cayossarian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # CLAUDE.md | ||
|
|
||
| ## Doc Artifacts | ||
|
|
||
| Design docs, specs, plans, brainstorming output, and superpowers artifacts for this repo live in the SpanPanel_Docs workspace, NOT in this repo: | ||
|
|
||
| - `/Users/bflood/projects/HA/SpanPanel_Docs/span/docs/superpowers/plans/` — superpowers plan artifacts | ||
| - `/Users/bflood/projects/HA/SpanPanel_Docs/span/docs/superpowers/specs/` — superpowers spec artifacts | ||
| - `/Users/bflood/projects/HA/SpanPanel_Docs/span/docs/dev/` — developer plans, specs, design documents | ||
|
|
||
| When invoking the brainstorming or writing-plans skill, override its default location (which is `docs/superpowers/...` in the current repo) with the correct | ||
| path in SpanPanel_Docs. Never write `.md` design artifacts into this repo. | ||
|
|
||
| If a doc was already written to the wrong location, copy it to the correct location before removing from this repo. Do not auto-commit in SpanPanel_Docs since | ||
| that repo may have unrelated pending changes — leave new files as untracked for the user to commit. | ||
|
|
||
| This matches the AGENTS.md convention in the sibling `span` integration repo (`/Users/bflood/projects/HA/span/AGENTS.md`) — the two repos are maintained | ||
| together and share the same doc-artifact rule. | ||
|
|
||
| ## Attribution | ||
|
|
||
| Never include references to AI models, AI assistants, or AI-generated content in any code, comments, commit messages, PR descriptions, documentation, or other | ||
| output. This includes "Co-Authored-By" tags, "Generated with" footers, and any similar attribution. | ||
|
|
||
| ## Related | ||
|
|
||
| - Sibling integration repo: `/Users/bflood/projects/HA/span` (has its own AGENTS.md with the integration-specific conventions) | ||
| - After any change under `src/`, the integration's bundled JS must be rebuilt and copied via the `sync-frontend` skill or | ||
| `/Users/bflood/projects/HA/span/scripts/build-frontend.sh`. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.