mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Chart theming: selectable chart theme + spec↔config merge/extract
This commit is contained in:
@@ -429,9 +429,25 @@ Arrow/Home/End rove). The selected option carries `aria-current` and a visible
|
||||
colour alone. The same control doubles as an **action picker** (no `value`; e.g. "Add field
|
||||
to which channel?"). A custom `triggerClassName` _replaces_ the default trigger styling, so
|
||||
chip-styled triggers (the pill's type chip, the shelf's field chips) stay chips.
|
||||
The single-open registry means **disclosures cannot nest**: a SelectControl inside a
|
||||
settings popover would close — and unmount — its own parent on open. A control that needs
|
||||
its own popover sits beside the gear in the pane header, never inside the panel.
|
||||
_(Consulted via /council → WAI-ARIA APG disclosure/menu-button/radio, Carbon, NN/g #4. This
|
||||
bullet is the contract; cite it, not the source.)_
|
||||
|
||||
**Resolved — editor commands need a visible home; hidden surfaces are accelerators only.**
|
||||
A command that exists _only_ in Monaco's right-click context menu or F1 palette is
|
||||
undiscoverable (NN/g #6 recognition-over-recall — those surfaces demand the user already
|
||||
know the command exists). Every editor command gets a **visible toolbar home**; when the
|
||||
toolbar can't afford a dedicated button (Carbon menu-buttons: "use an overflow menu when
|
||||
additional options are available and there is a space constraint"), the home is a
|
||||
SelectControl **action picker** grouping related commands (e.g. the spec editor's _Config_
|
||||
menu: merge chart theme / extract config), with `detail` lines saying what each does.
|
||||
Context-menu and palette registrations stay, as the NN/g #7 expert accelerators, but they
|
||||
call the same functions as the visible control — one code path, two doors.
|
||||
_(Consulted via /council → NN/g #6/#7, Carbon menu-buttons/overflow-menu. This bullet is
|
||||
the contract; cite it, not the source.)_
|
||||
|
||||
**Resolved — field→channel assignment: explicit choice, visible armed state.** Clicking a
|
||||
shelf field with no channel armed opens an explicit **channel chooser** (the channels that
|
||||
accept the field; an occupied one is labelled with what it replaces) — never a silent
|
||||
|
||||
Reference in New Issue
Block a user