mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Chart builder: discoverable entry points — Build Chart door, dataset picker, no-datasets state
This commit is contained in:
@@ -362,6 +362,23 @@ first-use empty state only when one action stays primary. (4) **Domain vocabular
|
||||
via /council → Carbon empty-state + content, GOV.UK headings, WAI-ARIA APG button, NN/g. This
|
||||
bullet is the contract; cite it, not the source.)_
|
||||
|
||||
**Resolved — the creation surface is builder-forward, Monaco-intact (3D).** The guided
|
||||
path must be visible where the intent to make a chart forms: the library's creation surface
|
||||
is a **primary "Build Chart"** (opens the Chart Builder) beside a **ghost "New JSON
|
||||
snippet"** (the old instant create, unchanged) — two plain buttons with clear hierarchy, no
|
||||
split/menu-button widget (two static choices don't earn an ARIA menu). The expert path
|
||||
stays one visible click away, never hidden (NN/g #6 recognition over recall, #7 flexibility/
|
||||
efficiency; Carbon: one primary per surface, a tertiary for the secondary CTA). The builder
|
||||
itself opens **without a preselected dataset** (it picks the most recently modified; a
|
||||
header **Dataset picker** switches without leaving), and with an empty dataset library it
|
||||
shows a **no-datasets state** per the Carbon no-data pattern: what the space does + one
|
||||
primary next step ("Add a dataset" → the Datasets create form) — never a dead end. The
|
||||
dataset-row "Build Chart" stays as the contextual shortcut; the onboarding canvas gains the
|
||||
data-first door ("Build a chart from your data") beside its primary. _(Consulted via
|
||||
/council → NN/g #6/#7, Carbon empty-states; recorded in
|
||||
docs/chart-builder-enhancement-scope.md §3 · 3D. This bullet is the contract; cite it, not
|
||||
the source.)_
|
||||
|
||||
**Resolved — one live region per shared message.** When the same error feeds two surfaces
|
||||
(the §1 "one producer, two subscribers" case — render errors via `PreviewStore`), exactly
|
||||
**one** subscriber is the live region (`role="alert"` on the editor, where focus is); the
|
||||
|
||||
Reference in New Issue
Block a user