feat(frontend): global Home Assistant connection status indicator (#20)#41
Open
markoceri wants to merge 1 commit into
Open
feat(frontend): global Home Assistant connection status indicator (#20)#41markoceri wants to merge 1 commit into
markoceri wants to merge 1 commit into
Conversation
…ge-mining#20) Always-visible HA indicator in the bottom bar: green when connected, red when disconnected or not configured. Clicking it opens a popover (teleported to body to avoid the footer's overflow clipping) with the per-service status detail and a button that opens the Home Assistant settings, landing pre-filtered on the relevant adapter.
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 a global Home Assistant connection status indicator in the bottom bar, always visible, as requested in #20:
unauthorizedThe indicator is always rendered, even when no Home Assistant service exists yet (previously no badge was shown at all in that case).
Interaction
Clicking the indicator opens a small popover showing the per-service HA status detail (name, status, error message) and a button "Open Home Assistant settings" that navigates to the External Services page, landing pre-filtered on the relevant HA adapter.
The popover is teleported to
bodyso it is not clipped by the bottom bar'soverflow-hidden. It closes on outside click,Esc, or after navigation.As noted in the issue, the popover is structured so it can later be extended to list other adapters (Miner Controllers, Energy Monitors, Forecast Providers).
Changes
frontend/src/components/BottomBar.vue— HA indicator + teleported popover; existing non-HA service badges kept.frontend/src/views/settings/ExternalServicesSettingsView.vue— initialize the adapter filter from theadapterquery param.CHANGELOG.md— changelog entry.Testing
vue-tsc -b✅npm run build✅