Commit Graph
11 Commits
Author SHA1 Message Date
liukx0205 9827bcfb37 Merge master into fix/focus-ring-brand-primary 2026-09-24 15:38:51 +08:00
yixiangihsiang fdd14a0989 feat(web): unify UI materials and streamline file review 2026-09-24 14:58:54 +08:00
liukx0205 4f1a1289f5 fix(client): use blue focus rings in light and dark themes 2026-09-24 12:24:47 +08:00
mektpoy bca9cecc7d fix(client): keep pointer focus silent through descendant and editable rings
Pointer suppression previously cleared `outline-color` on the focused element
alone, so a ring painted by a descendant, a pseudo-element, or a `box-shadow`
stayed visible, and editable text controls lost the focus feedback they need on
click.

Ring colour now flows through `--dsw-focus-ring-color`, which component outlines
and focus-ring shadows read alongside the brand token. Every ring that inherits
the variable is suppressed together, and `body :focus-visible:not(:read-write)`
limits the suppression to rings while editable controls keep their own feedback.

Keyboard modality returns on Tab, Home, End, PageUp, or PageDown, and on focus
reaching a different control after a non-composing key. IME composition keys,
refocusing the same control, and window blur leave rings silent. The desktop
preload menubar suppresses its own ring inside its shadow root, where the
document-level attribute does not reach.
2026-09-22 20:28:10 +08:00
mektpoy 08b310b5a8 fix(client): paint every keyboard focus ring with the brand colour
Focus rings named eight different colours across 54 client stylesheets, and a
control that declared no ring fell back to the browser default, whose colour
follows the operating-system accent — so the same build showed orange on one
machine and blue on another.

Every keyboard focus ring now uses --dsw-alias-brand-primary. A global ui-theme
focus.css sheet reaches the controls that declare no ring of their own, and 49
declarations name the same token. Only the colour changed: each declaration
keeps its width, style and offset.
2026-09-20 15:59:12 +08:00
_Kerman 3a32c617a3 feat(trajectory): remember JSON string wrapping preference 2026-09-09 17:38:02 +08:00
_Kerman 819c2b2442 feat(client): show expanded JSON strings as raw text 2026-09-09 16:47:16 +08:00
_Kerman 18739de7c6 feat(client): improve trajectory JSON string display 2026-09-09 16:28:17 +08:00
_Kerman b3ea0d987e feat(ui): complete trajectory request inspection 2026-07-28 09:53:32 +08:00
_Kerman 0457d76bb6 feat(ui): refine trajectory inspection details 2026-07-27 17:10:19 +08:00
_Kerman 628c1bffe0 feat(ui): add trajectory inspection ledger 2026-07-27 15:47:44 +08:00