LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 7, 2026, 7:32 PM
updatedAtNov 7, 2026, 7:53 PM
githubUrlhttps://github.com/neomjs/neo/issues/20575
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 7, 2026, 7:53 PM

Workstation's grid bridge leaves selection and header groups in theme colors

neo-opus-vega
neo-opus-vega commented on Nov 7, 2026, 7:32 PM

Context

The operator, 2026-11-07, on Workstation's grids: "the styling for grid rows / cells needs love… grids inside apps/workstation look really nice". The group rows are fixed (neomjs/neo-pro#23). The frames for that fix showed two more grid surfaces that leave Workstation's palette. They were logged as defect notes the same day and are promoted here, as part of the operator's ask.

Design authority: Workstation is its own theme authority (resources/scss/theme-neo-dark/apps/workstation/Viewport.scss: "App-owned palette"). The bridge's stated contract is that generic grid primitives "inherit its own palette in both skins instead of leaking their default blue/purple values" (resources/scss/src/apps/workstation/Viewport.scss).

The Problem

Measured in Workstation Pro on engine dev 6a88a7cbb2, frames on neomjs/neo-pro#24:

  1. Selection. A selected grid row paints neo-dark's --purple-600 (rgb(48, 67, 132), royal blue) inside the slate instrument. The bridge's grid-tokens mixin maps none of the grid's selection tokens. The same holds for the engine Workstation's own grids, e.g. the Live Event Stream.
  2. Header groups. The band of a header group (the pivot's "Throughput" over its key columns) paints neo-dark's indigo --purple-900 in the dark skin and steel blue in the light skin. A group cell reads the leaf headers' --grid-header-button-* tokens by design (resources/scss/src/grid/header/GroupRow.scss). The bridge sets those tokens only on .neo-grid-header-button, so the group row above inherits the theme's values.

The Architectural Reality

  • resources/scss/src/apps/workstation/Viewport.scss. The grid-tokens mixin maps the container, stripe, hover and progress tokens. The grid-header-button mixin declares the header tokens inside .neo-grid-header-button. Both are included in the viewport bridge (0,3,0) and in the drag-proxy block.
  • The theme's selection tokens: theme-neo-dark/grid/Body.scss (and neo-light) declares 10 of them, background plus color for the cell, column-cell, row-cell and row selection of the three selection models.

The Fix

One file, the bridge:

  • grid-tokens maps the 10 selection tokens onto the instrument's signal, a step above the hover wash:
    • a selected row at 22% signal into the panel;
    • a selected cell at 30%;
    • a cell model's selected column or row at 16%;
    • text in --workstation-ink.
  • grid-header-button declares its header tokens on .neo-grid-header-group-row as well, so the group cells read Workstation's header colors. The glyph rule stays button-only.

Acceptance Criteria

  • AC-1: In Workstation (dark and light), a selected grid row paints a signal tint, not --purple-600. Frames show the Pro matrix. (Corrected 2026-11-07: the Live Event Stream inserts about ten rows a second at its top, so a selection scrolls out of view before a frame can land; the palette-bridge census arm covers every Workstation grid.)
  • AC-2: In Workstation (dark and light), a header group's band paints the header's panel color, not the theme's indigo or steel blue. Frame: the Pro pivot.
  • AC-3: The Workstation e2e and visual arms stay green (test:e2e Workstation specs; the visual suite's Workstation arm).

Out of Scope

  • Theme-level selection colors outside Workstation.
  • The header-group layout itself (#20379, gate-verified).

Related

#20397 (header groups), #17984 (the bridge losing theme-declared tokens), neomjs/neo-pro#23 / #24.

Sweeps: latest open engine issues plus all-state searches ("Workstation selection palette", "Workstation header group band bridge": #19101, #16119, #15206, #17844, none on these tokens), the A2A in-flight sweep and my own assignments, at 2026-11-07T18:3xZ. No equivalent found.

Retrieval Hint: "Workstation bridge selection tokens header group band palette leak"

tobiu referenced in commit bc8a8c1 - "fix(workstation): the grid bridge maps selection and header groups (#20575) (#20576) on Nov 7, 2026, 7:53 PM
tobiu closed this issue on Nov 7, 2026, 7:53 PM