Commit Graph

118 Commits

Author SHA1 Message Date
oleh 54d68af7e0 Prune resolved seating notes from the council skill and generalize the backfill rule 2026-06-10 01:33:10 +03:00
oleh a5e5d1a2ad Ship PWA app icons and correct the manifest theme color 2026-06-10 01:32:52 +03:00
oleh 7599acd25e Redesign the Storage Monitor as a storage-composition breakdown (snippets · datasets · app) 2026-06-10 01:32:22 +03:00
oleh e7de0cbb8a Mark M4 (Chart Builder) and M5 (Settings + Import/Export) done in the plan 2026-06-09 23:54:32 +03:00
oleh 3c053310ac Re-split library and preview when the editor is hidden; remember the editor's width 2026-06-09 23:54:20 +03:00
oleh 418bf23cd8 Fix documentation drift surfaced by the full-docs consistency review 2026-06-09 16:51:43 +03:00
oleh 0a652cf04b Remove the stale spec-implementation audit (superseded by tests + the live spec) 2026-06-09 16:50:28 +03:00
oleh 29b0d1adb0 Codify the spec-vs-playbook boundary: cite behavior, don't restate it 2026-06-09 15:02:12 +03:00
oleh 81f563a3e7 Replace the first-run placeholder seed with an onboarding canvas 2026-06-09 14:03:47 +03:00
oleh 7d247e8d2c Track datasetRefs against the live draft so manual edits and extract link immediately 2026-06-07 23:54:01 +03:00
oleh cdd5cf149f Emit pane aria-controls only while the pane is mounted 2026-06-07 23:11:32 +03:00
oleh 1d7798abc5 Serialize live-preview renders to prevent concurrent embeds (M3) 2026-06-07 23:08:56 +03:00
oleh 5ea2a0d038 Make DatasetStore the collision-free id authority 2026-06-07 23:05:51 +03:00
oleh 1cad9ba140 Extract reverse-lookup scan to core/relationships (one shared impl) 2026-06-07 23:04:20 +03:00
oleh 39555322e4 Profile per-column cardinality and extent; add data-aware chart warnings (M4, A3/A4) 2026-06-07 23:03:17 +03:00
oleh dcb7037a71 Seat web.dev on the design council; record PWA backfill 2026-06-07 20:39:56 +03:00
oleh d94480f56d Wire SW update prompt and request persistent storage (M6, web.dev) 2026-06-07 20:39:07 +03:00
oleh 5dc5ef8724 Add durable toasts with an inline action button 2026-06-07 20:37:55 +03:00
oleh 50d3079b24 Update plan: mark M6 library/monitor/preview/import/modals delivered 2026-06-07 20:05:29 +03:00
oleh 123f1498b4 Add About & Privacy and Donate modals (M6, §01) 2026-06-07 20:04:08 +03:00
oleh 30ff7ae357 Roll back import atomically on storage-quota failure (M6, §08) 2026-06-07 20:03:47 +03:00
oleh 1bead4d004 Add toast fade-out animation (M6, §01F) 2026-06-07 20:01:53 +03:00
oleh 14f34712b2 Add live-preview busy indicator for slow renders (M6, §04/§10) 2026-06-07 20:01:39 +03:00
oleh 800a313be2 Add snippet-library search, sort, empty states, storage monitor (M6, §02/§09D) 2026-06-07 20:00:40 +03:00
oleh 9f7bf27b7a Add compact JSON formatter with format-on-paste (§03A) 2026-06-07 18:45:17 +03:00
oleh a62e2c6128 Disable dataset Save until the form is valid (§05) 2026-06-07 18:45:08 +03:00
oleh c7306929cc Reconcile §01/§03A spec wording with implemented behavior 2026-06-07 18:44:49 +03:00
oleh 48c39a600f Add spec-vs-implementation audit report 2026-06-07 18:44:33 +03:00
oleh 807d3c8e3c Add global keyboard EventRouter and unify publish (M6, §01D)
One module owns the document keydown listener and dispatches the shortcut map
(Cmd/Ctrl+Shift+N / +K / +S / +, / Escape), platform-aware, via the single-source
focus-utils interactive-context gate. Escape and Cmd/Ctrl+S run before the gate so
save works while editing; the rest are suppressed mid-typing. Publish + its toast
move into services/snippet-actions so the button and Cmd/Ctrl+S behave identically.
Removes the ad-hoc keydown handler from App and Monaco's Cmd+S command.
2026-06-07 17:18:55 +03:00
oleh f365258fcc Add URL hash view-state routing with Back/Forward and restore (M6, §01E)
The hash becomes the single serialized view (snippet / Datasets list / a dataset
/ new-dataset form / Chart Builder). url-hash is the sole reader/writer of
location+history (total, never-throwing parse; hash-only canonical URLs).
UrlStateSync grows from the modal↔URL seam into the full router: state→hash is
derived from the stores (so in-modal dataset sub-views reach the hash), hash→state
restores on load and on Back/Forward, validating ids and cleaning stale links.
startRouting() runs after store hydrate.
2026-06-07 17:18:10 +03:00
oleh 8c0a6b9239 Add pane show/hide toggle strip with persisted visibility (M6, §01A)
A persistent left-rail toolbar (APG toolbar + roving tabindex) toggles the
library / editor / preview panes; a hidden pane frees its space and the rest
redistribute proportionally to their remembered widths. Visibility persists to
astrolabe:ux-prefs (separate key from widths, so a hidden pane keeps its width).
Adds the positional pane-* glyph sub-family to Icon and a Datasets shortcut
button in the strip.
2026-06-07 17:15:58 +03:00
oleh f92118712c Add storage-estimate core and adapter (M6 Storage Monitor groundwork)
Portable summarizer (clamped fraction, ok/warning/critical level, availability
flag, humanizeBytes) with the browser StorageManager.estimate() feature-detect
isolated to the infrastructure adapter. No UI consumer yet — core-first per the
AI developer protocol; the Storage Monitor panel (spec §02) wires to it next.
2026-06-07 17:14:07 +03:00
oleh 548aa199d9 Add distributed settings and workspace import/export (M5) 2026-06-07 15:51:00 +03:00
oleh 80bedd2a8d Add snippet metadata panel, duplicate, and immediate-load preview (M4.5) 2026-06-06 23:54:59 +03:00
oleh 3e89d9a531 Add shared Icon primitive and controlled glyph vocabulary (Carbon, filled) 2026-06-06 23:51:47 +03:00
oleh af9ee1e4c0 Add aggregation, binning, granularity, sort, and stacking to the Chart Builder
- Per-channel transforms: aggregate (sum/mean/median/min/max), quantitative
  bin, and temporal timeUnit granularity; bin and aggregate are mutually
  exclusive. A field-less "Count of records" measure (Voyager's count(*)).
- Chart-level sort (rank a categorical axis by its measure) and stacking
  (zero / 100% normalize), each shown only when it applies.
- Field type is a fixed N|O|Q|T segmented control with the column's invalid
  types disabled; SegmentedControl gains APG-correct disabled options.
- A crowded-category-axis warning (a raw measure drawing one mark per row over
  a large dataset) and a disabled-Create hint (says why it's disabled).
- Drop the Create success toast — the new snippet is immediately visible.
- Docs: spec §06, research-doc §8 backlog (incl. the cardinality/extent
  profiling TODO), architecture 01 (stable-selector rule) and 05 (builder-local
  preview), and a profiling breadcrumb.
2026-06-06 18:04:24 +03:00
oleh c11afc273d Add Chart Builder: no-JSON Vega-Lite composer from a dataset (M4) 2026-06-05 23:46:21 +03:00
oleh 693f5d7073 Fix dataset-ref walk false positive and wire spec-mandated success toasts
- Prune the data payload and top-level datasets keys in all three ref walks
  (extractDatasetRefs, renameDatasetInSpec, resolveDatasetRefs) so a data row
  carrying a field named "data" is no longer misread as a library reference,
  spuriously rewritten, or made to throw DatasetNotFoundError. Adds tests,
  including a guard that lookup-transform refs (from.data) still resolve.
- Wire the deferred success toasts now the Toaster has landed: publish, revert,
  extract-to-dataset, and snippet/dataset delete. Copy follows the council
  title-vs-message rule (title states the action, message adds the consequence).
- Reconcile the spec's blanket toast mandate to "toast only what the user can't
  already see": no toast on visible-result creates (snippet, dataset form);
  Copy Reference stays inline and gains an aria-live announcement (new shared
  .visually-hidden utility) instead of a toast-per-copy.
- Move the toast region to bottom-right so it stops covering the header action
  cluster (Publish/Revert, theme/datasets).
- Update docs/spec 01F/02/05 and docs/architecture/07 + 10 to match.
2026-06-05 16:34:58 +03:00
oleh a4e4d96d3b Add dataset library, extract-to-dataset, and render-time reference resolution 2026-06-05 15:49:40 +03:00
oleh 25849461e0 Reconcile visual specimen with the resolved status indicator and toggle 2026-06-05 14:11:05 +03:00
oleh ad239d7d49 Show size and a draft indicator in snippet-library rows 2026-06-05 14:11:00 +03:00
oleh da20475d2f Record council resolutions for Draft/Published toggle and status dot 2026-06-05 14:10:56 +03:00
oleh 29217aefcf Switch default accent to deep teal 2026-06-05 13:41:34 +03:00
oleh cc0814a596 Unify segmented controls on a shared module with grey selection 2026-06-05 13:41:29 +03:00
oleh 0f8738cd0c Fix draft-dot alignment by floating it into the card gutter 2026-06-05 13:41:25 +03:00
oleh 3dd8187ee6 Document persistence failure-surfacing and overlay-store conventions 2026-06-05 13:07:55 +03:00
oleh 8e80b82cc0 Wire future council seats into the plan at M4 and M6 2026-06-05 13:07:52 +03:00
oleh 331ce93fb9 Record council backfill rules in the interaction contract 2026-06-05 12:58:59 +03:00
oleh 109c33e2cd Add app-shell heading and skip link (WCAG 2.4.1 / GOV.UK) 2026-06-05 12:58:54 +03:00
oleh 38c2ac15c2 Backfill interactive-control accessibility against the council (APG) 2026-06-05 12:58:32 +03:00