Commit Graph
100 Commits
Author SHA1 Message Date
oleh efb5a9bbe0 Data inspector: input/resolved rows below the chart, with a resizable divider
A collapsible Data panel under the Live Preview and Chart Builder charts shows the rows the chart actually uses, switching between Input (parsed source) and Resolved (post-transform) views read from the live Vega view. Collapsed by default; the open-state and a draggable height divider persist.

Rows come through a new RenderHandle.inspectData() accessor, so no component touches the view: core/result-data picks the most-upstream source and most-downstream result from the compiled dataflow, read lazily. The divider reuses the window-splitter pattern (horizontal variant).

Consolidations: a shared DataTable primitive replaces the inspector's and the builder's duplicate read-only tables; useResizeDrag merges the col/row drag-gesture twins.

Docs: spec 04/06 and arch 05/10 updated; the now-shipped exploration memo removed.
2026-06-18 02:22:03 +03:00
oleh 223646398e Landing: add marketing page at /, move the app to /app/
Multi-page Vite build: index.html serves a new standalone landing
(src/landing), app/index.html serves the app at /app/. The PWA service
worker and manifest are scoped to /app/, so the landing stays
uncontrolled and always-fresh; hash view-state routing is unchanged.

The landing reuses src/core and the chart-renderer service only (never
stores/orchestration/modals/components) and lazy-loads Vega. Its demos
drive the real core: a hero snippet switcher over CHART_EXAMPLES, an
interactive Chart Builder over a new profiled core fixture
(sample-dataset), and a Theme Builder gallery with three from-scratch
custom themes plus built-in presets.
2026-06-17 16:43:01 +03:00
oleh d8a7bcb7c1 Fonts: carry uploaded faces through export/import + embed in SVG export 2026-06-16 23:52:16 +03:00
oleh 2ed9db3792 Persistence: share entity write-through helper; normalize quota at db.put 2026-06-16 23:06:37 +03:00
oleh 778b4d848a Donate: redirect to Ukraine's defense (savelife.in.ua) 2026-06-16 23:05:05 +03:00
oleh 96a3e121eb PWA: iPad apple-touch-icon for home-screen install 2026-06-16 23:04:17 +03:00
oleh a997a862b9 Docs: log remaining theming/builder follow-ups + entity-persistence consolidation candidate 2026-06-16 21:44:53 +03:00
oleh a833e019d6 Skills: eng-council consult leads with need/laziest-rung; alignment flags known-ceiling shortcuts 2026-06-16 21:44:43 +03:00
oleh 5d3aba608a Chart theming: user font upload (FontFace-from-IndexedDB) + variable-font weight support 2026-06-16 21:41:04 +03:00
oleh 713f396c5c Docs: trim arch 05 debounced-renderer sketch to its generation-guard insight 2026-06-15 00:51:30 +03:00
oleh 66c123e15e Docs: move point-in-time records to exploration/, trim build-narration, lift open items to plan 2026-06-14 23:58:06 +03:00
oleh de9dbf3ec8 Docs hygiene: enforce in /alignment, add eng-council Documentation seat and beyond-scope notes 2026-06-14 23:57:39 +03:00
oleh 6fc8c29b50 Image export: surface rasterize/serialize failures instead of reporting 'not ready' 2026-06-14 20:39:10 +03:00
oleh 91b8b1e7fe Theme Builder: Layout/Axes/Legend/Type panels, scheme-render fix, fail-loud gallery 2026-06-14 13:08:29 +03:00
oleh b03c3b08ab Chart fonts: self-hosted roster + document.fonts.load render gate 2026-06-14 13:08:16 +03:00
oleh df6a0b3845 ColorField: shared color-input primitive, Theme Builder + Chart Builder migration 2026-06-14 11:02:20 +03:00
oleh 236b1c8a37 Chart tooltip: app-owned token styling, drop vega-tooltip's default sheet 2026-06-14 01:25:58 +03:00
oleh e4d1466ab0 Theme Builder: structured color/type controls, scheme catalog, diverging preview 2026-06-14 01:25:44 +03:00
oleh 0470389b41 Chart builder: intent front door, Heatmap mark, role-aware guidance 2026-06-13 12:08:11 +03:00
oleh 4e5108f434 Snippet naming: content-derived on publish, frozen on explicit rename 2026-06-13 10:13:57 +03:00
oleh 92bfe888b5 UX second pass: icon-only header, pane-toggle cue, schema columns, facet cleanup 2026-06-13 10:13:40 +03:00
oleh e0806bf3db Quiet fields: base.css field baseline, --field tokens, 3:1 border-strong, app-wide migration 2026-06-13 00:06:33 +03:00
oleh ebdeac7747 Docs: park border-identity question and UX follow-ups for batched council 2026-06-12 23:13:37 +03:00
oleh b8f0b97f22 Chart builder: equal shelf heights, pill floor, flat field rows, scroll affordance 2026-06-12 23:13:26 +03:00
oleh 7d4906ec38 Control scale: Button/IconButton primitives, two-height tokens, app-wide migration 2026-06-12 23:13:13 +03:00
oleh af9cc8a716 Docs: build hash grammar, theme rollback, reference-identity change detection, option-list boundary rule 2026-06-12 21:53:42 +03:00
oleh 5fe5aed50f Process: session wrap-up protocol — doc-update, then clean-context review subagents 2026-06-12 21:48:29 +03:00
oleh d1ba921141 SelectControl: 32px trigger scale + option-group divider in the theme picker 2026-06-12 21:46:53 +03:00
oleh ca70b3e491 Chart builder: discoverable entry points — Build Chart door, dataset picker, no-datasets state 2026-06-12 21:46:25 +03:00
oleh dbb4522d78 Workspace transfer: custom themes ride the export/import envelope 2026-06-12 21:45:44 +03:00
oleh 80d13c9b6f Prettier: reflow visual-specimen.html 2026-06-12 19:46:46 +03:00
oleh 331b0a31f5 Eng-council: alignment checks from sweep findings + metrics baseline 2026-06-12 19:46:38 +03:00
oleh 9a8b44380d Services: delete dead RelationshipService; rename persistence to snippet-persistence 2026-06-12 19:46:14 +03:00
oleh 538882b342 Modal system: break import cycles — component map moves to the shell 2026-06-12 19:45:50 +03:00
oleh 91b6e102eb Pane handles: extract shared useColResizeDrag pointer gesture 2026-06-12 19:42:24 +03:00
oleh 20d593a6a3 Popovers: extract shared usePopover hook; SettingsPopoverStore becomes PopoverStore 2026-06-12 19:40:35 +03:00
oleh 0e225d7d5c Eng-council sweep: export hygiene, dead code, helper dedup, declare vega-expression 2026-06-12 19:39:54 +03:00
oleh f26ac66633 Skills: eng-council — evidence-grounded structural review with deletion bias 2026-06-12 18:54:40 +03:00
oleh 887de7412e Docs: new-entity persistence stack, modal size tiers, spec anchor stability, test harness notes 2026-06-12 18:16:34 +03:00
oleh 0baac3c64b Editor: Extract Config to New Theme as a third Config action 2026-06-12 18:16:15 +03:00
oleh b193464f55 Chart theming: custom named themes + Theme Builder 2026-06-12 18:15:54 +03:00
oleh 44a601affd Chart theming: selectable chart theme + spec↔config merge/extract 2026-06-12 16:48:48 +03:00
oleh fe9d588103 Sort control: open with focus on the checked option, not the first 2026-06-12 14:45:45 +03:00
oleh ed66fe9c05 Chart builder: SelectControl pickers, channel chooser, per-type aggregates 2026-06-12 14:45:31 +03:00
oleh 4dcff4601d Chart builder: field-first shelf + value-or-field channels 2026-06-11 23:56:40 +03:00
oleh 9ebe398e75 Onboarding: re-fit container-width thumbnails on resize 2026-06-11 19:28:27 +03:00
oleh 1de8682b61 Datasets: make preview scroll region keyboard-reachable 2026-06-11 19:28:12 +03:00
oleh 2a0b4794df Chart builder: fold render diagnostic behind a disclosure 2026-06-11 19:27:03 +03:00
oleh 181b9da8ab Datasets: URL→inline conversion drops url/fetchedAt 2026-06-11 19:26:47 +03:00
oleh fe2b039698 Remote datasets: cap fetch body size 2026-06-11 19:21:51 +03:00
oleh 983c052f3b Chart builder: escape ./[/] in built field names 2026-06-11 19:21:28 +03:00
oleh d666599a58 Chart builder: drop unparseable expressions mid-edit, polite glyphed inline feedback 2026-06-11 16:08:03 +03:00
oleh 05df0cd7d3 Chart builder: filter/calculate transforms, data preview, and inline expression validation 2026-06-11 13:01:23 +03:00
oleh 1791ee9f8d Per-chart export: copy/download spec and PNG/SVG from the preview header 2026-06-10 18:30:31 +03:00
oleh cad19445b0 Add matter-of-fact comment/doc voice rule to alignment and doc-update skills 2026-06-10 17:11:15 +03:00
oleh 62d0697f0e Chart builder: data-aware defaults, one-click hint fixes, canvas preview, fullscreen modal 2026-06-10 17:10:18 +03:00
oleh 68a044752f Refine header emphasis, field-on-layer treatment, and narrow-pane control collapse 2026-06-10 14:14:02 +03:00
oleh 2410c6e965 Snapshot URL datasets locally on add; preview tabular data as a table 2026-06-10 10:24:42 +03:00
oleh eb5e7ac53a Add vega/lyra review notes for chart-builder ideas 2026-06-10 10:07:10 +03:00
oleh 0b8c1785fe Capture the monetization & sync exploration as a standing memo 2026-06-10 01:33:24 +03:00
oleh bc23f15c98 Add a standing manual-verification QA checklist for what tests can't cover 2026-06-10 01:33:17 +03:00
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