Skip to content

feat: redesign demo page with light theme and sticky card layout - #102

Merged
teuchezh merged 10 commits into
devfrom
feature/demo-page-redesign
Jul 9, 2026
Merged

feat: redesign demo page with light theme and sticky card layout#102
teuchezh merged 10 commits into
devfrom
feature/demo-page-redesign

Conversation

@teuchezh

@teuchezh teuchezh commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Description

Redesigns demo.html (the manual testing tool) from a dark blue/purple glass theme into a light, Apple/Home-Assistant-style page, and fixes the settings panel scrolling internally instead of the page scrolling as a whole.

  • Light theme: solid light-gray page background, white panels with soft shadows, system-blue accent, recolored form controls/buttons/slider/checkboxes/preset cards/messages.
  • Settings panel no longer has max-height/overflow-y: auto (the cause of the internal scroll) — the page now scrolls as one unit.
  • Card preview is now position: sticky so it stays in view while scrolling through the (now single, flowing) settings list.
  • Tried a tabbed settings layout first; reverted after testing felt it spread related controls too thin and made the card easy to lose track of — kept as one flowing section list instead.
  • Filled in the 6 languages that existed in the project but were missing from the demo page's language selector (Slovak, Hungarian, Danish, Polish, Portuguese, Serbian), adding the missing demo.language.* i18n keys to all 13 locales.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Translation

Checklist

  • Code follows project style
  • Self-reviewed code
  • Tested locally (manual browser pass: theme, layout, sticky card, all existing controls, language switching, responsive collapse)
  • bun run lint passed
  • bun run typecheck passed
  • bun run build successful
  • Commits follow Conventional Commits

teuchezh and others added 10 commits July 9, 2026 12:03
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Tabs made the settings feel scattered and required extra clicks to
compare options while testing the card. Restore a single flowing
list of sections (no internal scroll — the page scrolls as one unit,
per the earlier fix), and pin the card preview itself with
position: sticky so it stays in view while scrolling through
settings. Also fill in the six languages missing from the language
selector (sk, hu, da, pl, pt, sr).
The demo page's language selector only listed 7 of the 13 supported
languages. Translated labels for Slovak and Hungarian already
existed but weren't wired into the dropdown; Danish, Polish,
Portuguese, and Serbian had no demo.language.* labels at all in any
locale. Add the four missing keys to all 13 translation files and
rebuild the bundle.
@teuchezh
teuchezh merged commit b2c189f into dev Jul 9, 2026
3 of 5 checks passed
@teuchezh
teuchezh deleted the feature/demo-page-redesign branch July 9, 2026 13:31
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