Galaxy Shell / docs
Docs / QA e validação

Shared palette and typography exploration

docs/qa/reports/2026-10-29-shared-palette.md · Editar no GitHub ↗

Esta página ainda não tem tradução em português. O conteúdo abaixo está em inglês.

Este documento registra decisões, planejamento ou evidências de uma etapa do projeto. Não implica que todos os itens estejam implementados ou validados na versão atual.

Nesta página

Shared palette and typography exploration

Date: 2026-10-29. Target: b1a1694 plus the typography changes in this session. User requested exploratory QA, then added OS font inheritance.

Result

No palette inconsistency was reproduced in the explored states. Nine canonical color tokens matched across chat, bar and quick controls. Panel text and active tile text passed the fixture's 4.5:1 checks in default light/dark and Matugen light/dark. This is a focused contrast check, not a complete accessibility audit.

A typography inconsistency was confirmed: chat used system-ui while quick controls fixed Ubuntu. It was corrected by reading GNOME preferences through Gio/Pango and supplying shared font tokens, while retaining personal overrides. Native readout: Cantarell 11, Ubuntu Sans Mono 13, text scale 1.0. Rendered chat base: Cantarell 14.667px; quick base: Cantarell 13.689px (14/15 of UI base).

Observed paths

Path Observation
Default dark -> light Shared tokens and readable active controls
Matugen light/dark Shared palette retained; component geometry unchanged
Personal CSS -> remove Matugen -> reload Personal accent #d38fca and width 620px remained
Personal font -> Matugen Chat kept DejaVu Serif; trusted controls kept system family
System typography Chat and quick controls computed Cantarell
Synthetic text scale 125% Chat base became 18.75px; controls remained operable at desktop
Font service absent -> system CSS fallback system-ui returned, then Cantarell returned
Quick power submenu Unavailable synthetic service message readable; Tab moved to settings with visible 2px accent outline

Fixture reload persistence is in-memory server state, not proof of a new disk journal round-trip. Existing Node palette tests cover revision/preview/rejection, restoration and old saved blocks. No provider request or real system mutation was used.

Viewports

Viewport Exploration
360x800 Matugen dark plus personal color/width, visible controls; quick panel clientWidth=scrollWidth=303px
390x844 Default dark plus personal color/width, visible controls
768x1024 Matugen light plus personal color/width, stacked surfaces readable
1280x720 All theme transitions, submenu/focus, font inheritance, fallback and 125% text

The fixture stacks surfaces on narrow screens. This does not establish compositor panel placement or native desktop behavior at those dimensions. Long network and workspace labels ellipsize as designed. Not every state was tested at every size; flows are exploratory coverage, not marked stable or 100% automated.

Diagnostics and gaps

  • Browser logs contained two MutationObserver.observe Node type errors during iframe navigation. No product source location or visible palette failure was identified; retained as an unassigned instrumentation/product hypothesis rather than a confirmed product bug. No other error/warning entries were observed at the diagnostic checkpoint.
  • The standalone skill runtime is unavailable (its tsx dependencies are missing). No runtime baseline, trace, axe scan or automated accessibility certification.
  • Explicit Matugen mode vs independently changing OS mode was not exercised live; fixture buttons choose them together. CSS precedence inspected, not live-proven.
  • No actual Electron activation, compositor capture, real service failure, real font preference mutation or maximum-scale layout audit. Desktop session preserved.
  • No generated Playwright tests or adversarial subagent review.

Evidence

Synthetic PNGs are outside Git at /home/naaando/.codex/artifacts/qa/agent-native-os/:

  • exploratory-palette-light.png
  • exploratory-palette-360.png
  • exploratory-palette-390.png
  • exploratory-palette-768.png
  • exploratory-palette-submenu.png
  • exploratory-system-fonts.png
  • exploratory-fonts-125.png

R2 publication unavailable because the configured credential is in macOS Keychain and this host is Linux. No raw user content was captured. No video recorded.

Validation

npm run format:check, npm run check (including trusted UI build verification) and all 218 Node tests passed. Native Python bridge executed successfully using the installed Gio/Pango. New tests exercise scale/family validation, unavailable bridge fallback, read coalescing and cache expiry. No Playwright test generated.

Follow-up

Verify the new host/core on a normal next startup in the existing desktop session. If the observer diagnostic recurs outside iframe navigation, capture a source stack before changing product code. Extend scale/accessibility coverage before claiming full support for all accessibility preferences.