feat: redesign demo page with light theme and sticky card layout - #102
Merged
Conversation
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.
1 task
2 tasks
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.
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.max-height/overflow-y: auto(the cause of the internal scroll) — the page now scrolls as one unit.position: stickyso it stays in view while scrolling through the (now single, flowing) settings list.demo.language.*i18n keys to all 13 locales.Type of Change
Checklist
bun run lintpassedbun run typecheckpassedbun run buildsuccessful