Files
astrolabe/docs/spec
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
..

Astrolabe — Product Specification

A UX/behavioral specification of Astrolabe, a browser-based snippet manager for Vega-Lite visualizations. It describes what the app does from the user's perspective so it can be recreated on any web/HTML/TS stack.

How to read this spec

  • Start with 00 · Product Overview for orientation and the glossary.
  • Each subsequent file is one feature area and can be read on its own; they cross-reference each other by title.
  • Every section describes intended behavior plus testable acceptance points ("The user can…", "When X, the system…").

What this spec deliberately omits

  • Implementation. No frameworks, libraries, languages, storage technologies, or code architecture are prescribed. Storage is described behaviorally (e.g. "persists locally across sessions", capacity tiers), not by naming a technology.
  • Visual design. Structural layout (panes, regions, modal vs inline, where controls live) is specified; concrete styling, colors, and the app's visual aesthetic are left to the implementer.
  • Domain exception. Vega-Lite and its vocabulary (specs, marks, encoding channels, field types) and data-format names (JSON, CSV, TSV, TopoJSON) are named — they are the product domain, not implementation choices.

Contents

# Section
00 Product Overview
01 Application Shell & Navigation
02 Snippet Library
03 Spec Editor & Draft/Published Workflow
04 Live Preview
05 Datasets
06 Chart Builder
07 Settings
08 Import & Export
09 Data Model & Persistence
10 Non-Functional Requirements