Add interface languages and improve themes and workspace controls for 0.1.36

This commit is contained in:
Knotty Wyvern
2026-10-15 10:55:59 -07:00
parent b066359b66
commit 68e86ab6eb
98 changed files with 5499 additions and 874 deletions
+20
View File
@@ -188,6 +188,10 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Modal correction: Pass the nearest dialog as the menu parent.
- Prevention: Check each background choice and the list-status choice with the real host menu API, in both themes and narrow layouts.
- Modal prevention: Run the settings harness with showModal to catch blocked pointer and keyboard input.
- Language occurrence: The French code menu truncated its longer action label during the language-card review on 2026-10-15.
- Language cause: A global .action-label rule forced ellipsis and prevented the shared menu label from wrapping.
- Language correction: The shared menu label explicitly resets overflow, text overflow, and white space in menu.css.
- Language prevention: The shared menu check now includes a long translated action beside a shortcut at a viewport edge.
- Check: The current host and PM check reports record the results.
- Evidence: output/round4-pm-report.json, output/round4-editor-menu-report.json, and output/round4-overlay-report.json.
- Modal evidence: RuneStone_BG_Slideshow/tests/artifacts/settings and the card review notes.
@@ -540,3 +544,19 @@ Replaced by: [UI-024](#ui-024--assertive-functional-color-by-default) strengthen
- Checks: editorSurfaces.smoke.mjs checks direct corrections, keyboard activation, replacement, undo, and narrow menus in both themes.
- Limits: Browser checks mock Windows spelling results. Native dictionary behavior remains a user acceptance check.
### UI-028 — Adjustable surface transparency and fixed custom palettes
- Type: Rule change
- Date: 2026-10-15
- Status: Implemented for user review
- Decision source: Cards 31d8931e-9d1b-4688-bb4f-03ee727b0f8f and 90906e18-4082-445e-a6fd-3cbda4d94226.
- Previous rule: Image surfaces and menus used fixed tint percentages. Theme templates contained separate light and dark palettes.
- New rule: Appearance controls surface transparency from 0% to 100% and can make surfaces opaque. The slider uses current theme tokens. Theme templates contain one fixed palette and the current interface, prose, heading, and code font stacks.
- Reason: Users need control over image visibility and compositing. A single palette matches the selected theme without a separate mode toggle.
- Scope: Host menus, image surfaces, compatible plugin surfaces, and custom theme import and export.
- Shared implementation: appearance.ts, customThemes.ts, and the surface-opacity tokens in tokens.css.
- Compatibility: Default surface and editor tints remain 82% and 90%. Schema 1 files remain importable.
- Evidence: scripts/appearanceLanguage.smoke.mjs, scripts/customThemes.spec.ts, and the affected cards retain checks and screenshots.
- Follow-up evidence: Cards 5a56a250-b46a-4319-8f25-5f6ac4362a32, 682ad51f-66a1-477d-b02e-c1acb1c14d4e, and 97fe6f6b-5780-436e-abd8-a8135efbbe87 cover the full range, themed slider, and missing font stacks. `scripts/hostAppearance.smoke.mjs` checks the exact controls and exports.
- Limits: Browser checks use desktop mocks. Native display and user acceptance remain open.