Skip to content

feat(ui): rework Entity Console UI and fix 150px viewport cutoff - #3

Merged
spelech merged 3 commits into
mainfrom
feature/ui-redesign-and-layout-fix
Oct 14, 2026
Merged

spelech merged 3 commits into
mainfrom
feature/ui-redesign-and-layout-fix

Conversation

@spelech

@spelech spelech commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Description

Fixes the 150px iframe height cutoff bug and reworks the Google Assistant Entity Console into a modern, responsive full-height data grid.

Visual Preview

Overview (Full Height Data Grid) Live Filter & Search
Overview Search & Filter

Key Changes

  • Root Cause Fix (panel.js): Enforced display: block; position: absolute; width: 100%; height: 100%; on <google-assistant-entity-console-panel> and child iframe, preventing browser fallback to 150px.
  • HTML Shell (index.html): Full-height flexbox shell, compact 4-card KPI stats ribbon, sticky filter and search toolbar, and cleaner table column hierarchy.
  • CSS Overhaul (style.css): Modern Material Design 3 tokens mapped to Home Assistant CSS theme variables, isolated scroll viewport (overflow-y: auto on data grid only), sticky table header (top: 0), sticky room/domain group banners (top: 35px), and backdrop-filter blur for edit modals.
  • Interactive Enhancements (app.js): Instant search with clear button, live match counter (Showing X of Y), group entity count badges, 'Flat List' grouping mode, and click-to-copy entity IDs.
  • Cache Busting: Version bumped to 1.9.0 in manifest.json.

Verification

  • Automated Tests: All 342 pytest integration tests passing locally and in CI (pytest tests/).
  • CI / GitHub Actions: Both CI/Lint & Test (push) and CI/Lint & Test (pull_request) passing green.
  • Live Browser Verification: Tested live on Home Assistant (2026.3.3) with 764 entities; verified smooth scrolling, sticky headers, instant filtering, modal editing, and zero layout cutoff.

Antigravity Agent added 3 commits October 13, 2026 20:38
- Fix host styling in panel.js (display: block, position: absolute, 100% height) to prevent fallback to 150px
- Modernize index.html with 100vh flexbox container, compact KPI ribbon, and sticky controls toolbar
- Overhaul style.css with MD3 design tokens mapped to HA variables, isolated table scrolling, and sticky group headers
- Enhance app.js with live search counter, group badges, flat grouping mode, and click-to-copy entity IDs
- Bump version to 1.9.0 for asset cache-busting
@spelech
spelech merged commit 1a079f4 into main Oct 14, 2026
2 checks passed
@spelech
spelech deleted the feature/ui-redesign-and-layout-fix branch October 14, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant