mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-04 04:47:30 +01:00
* chore(ux): task flows with step and time budgets; production baseline Ten top tasks across five audiences, each with a success criterion, a step budget (clicks, keystrokes, choices and screens of scrolling) and a time-to-first-answer budget, driven at 390 and 1440. Plus a dead-end check: every empty or error state must offer the next action. Baseline against production: 9 of 20 task runs pass; 3 of 5 empty/error states are dead ends. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(tools): answer first, one header, one empty state, no dead ends Measured by scripts/ux (baseline in the previous commit), then fixed worst first: - X-ray: names the biggest single-source risk, the country most weight rests on alone, and the most-shared bottleneck first (lib/xray/headline.ts, ranking only); scrolls the answer into view; Ctrl/Cmd+Enter runs; a list nobody could read offers the sample instead of a blank report; shared PageHeader; privacy note folded to one line; placeholder no longer looks like a filled portfolio. - Scenarios: result first, picker folded under it; presets before the form; a Copy link button instead of a printed URL; an unreadable ?at says so. - Careers: regions (Europe, North America, …) in the place filter, so "process engineers in Europe" is one choice, not thirty; results before the hiring sidebar on a phone. - Data series: shared PageHeader and filter bar (auto-applies), search reads the bottleneck name, 40 rows then Show more (all 145 made a 1 MB page). - Science pipeline: PageHeader with the counts in one line; jump links to what the feeds collected. - Bottleneck pages: a signed-out reader sees Follow (sign in, come back) instead of nothing. - Update news now: Try again on failure; a next step when nothing is new. - Shared: Empty takes an action (desk, exposure, careers, series, pipeline, x-ray, reader views); a real not-found page with ways on; filter bars show one loading state; CopyLink; desk settings use PageHeader. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>