Repository navigation
Redesign the web interface around the sediment core - #8
Merged
Merged
Conversation
A new visual system and app shell for the Strata web frontend: - Field-stone page with white working panels, slate ink, malachite for interaction and formal results, ochre for exploratory ones. A sediment ramp is reserved for archaeological periods on every screen. - Archivo (variable width, expanded at display sizes) for the interface; Source Serif 4 for reading text. EB Garamond is dropped. - A dark navigation rail grouped by task (Explore, Analyse, Ask, Reference) with the upload, compose, workspace sequence numbered and server status read out at the foot; a menu sheet on small screens. - Landing: the reference library drawn as a drilled core, one layer per period with lithology patterns, thickness by population count, each layer linking to the filtered library. Then the four-step workflow, the PCA space, exploratory vs formal side by side, worked examples. - Library: period filter chips in the sediment colours, period swatches in the table, duplicate publication labels collapsed. - Compose: method tiles grouped by kind, a sticky run panel with a readiness checklist, ?method= preselects a method, and choosing a G25 dataset now also chooses its coordinate space. - qpAdm verdict panel, ruled key-value panels for inputs and provenance, assistant conversation with a sticky question box. - Screenshots in docs/screenshots regenerated from a local run against the real reference build; four pre-redesign shots kept for comparison. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HEuHS4owTqCYiz6PtRUaCN
- Type returns to a single EB Garamond family (Plex Mono for code), with the type scale and arbitrary sizes re-tuned for its smaller x-height. Archivo and Source Serif 4 are removed. - Headline words drop in and settle; the stratum rule under each page heading draws itself in on every page. - Landing core: grains drift down through the youngest layer, a hovered layer slides out like a pulled sample chip, and tapping the core's surface shakes it and lets the layers re-deposit. - Workflow line draws across when it scrolls into view and the step numbers pop in turn; steps tilt and turn green on hover. - Chunky pressable buttons that sink when clicked; logo layers ripple on hover; the rail's active marker pops and items nudge on hover. - Loading shows layers stacking up; ticked requirements, the chosen method's tag and active period chips pop. - A 'Nothing at this depth' 404 and a hand-dug footer signature. - All motion is CSS and is switched off under prefers-reduced-motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HEuHS4owTqCYiz6PtRUaCN
- Rail drops the per-item hint lines; footer is a single line of links. - Page ledes shortened to a few words or removed; landing copy, workflow steps, the two-kinds comparison and example rows trimmed hard. - Caveats fold to their title (one click opens the full text), so the scientific warnings stay available without filling the page. - Example and analysis pages lead with the result; background, inputs, parameters and provenance move into collapsed sections. - Figure and table captions, form hints and method descriptions cut to one short line; a duplicated qpAdm footnote is removed. - Smoke test now looks for the new landing heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HEuHS4owTqCYiz6PtRUaCN
PR #8 conflicted with main after PR #7 merged, so GitHub could not build or test the merged result. Conflicts in SiteFooter and AnalysisDocument are resolved in favour of the redesign's markup, with main's two changes carried across: - key/value values wrap anywhere instead of overflowing (the .kv grid already uses minmax(0, 1fr)); - the rail's Assistant readout says "bring your own API key" when the server has no provider, matching visitor-supplied keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HEuHS4j3Gtr3f1zAaXvqFB
Clear the redesign PR's merge conflicts with main
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Bharat · project thread
What changed
A new visual system and app shell for
apps/web, built on top of the PR #6 fixes. The direction comes from the product itself: strata are layers of sediment, and the reference library is a stack of archaeological periods.Visual system
Motion (second commit, at Bharat's request). Everything is CSS and is switched off under
prefers-reduced-motion.Navigation: a dark rail grouped by task (Explore, Analyse, Ask, Reference). Upload, Compose and Workspace are numbered because they form a sequence. Server status (API, reference build, qpAdm, assistant) shows at the foot of the rail. On small screens the rail opens as a menu sheet.
Landing: the hero shows the real reference library as a drilled core. There is one layer per period, each with a lithology pattern, and thickness grows with the population count. Every layer links to the library filtered to that period. Below it: the four-step workflow, each step linking into the composer with its method already chosen, then the PCA space, exploratory and formal side by side, and the worked examples.
Library: period filter chips in the sediment colours, a period swatch on each table row, and repeated publication labels ("AADR; AADR; AADR") collapsed to one.
Compose: methods are tiles grouped by kind. A sticky run panel shows a readiness checklist and the Run button.
?method=preselects a method. Behaviour fix: choosing a G25 dataset now also selects its coordinate space. Before, the composer kept the PCA space and the API rejected the analysis.Results and the rest: qpAdm results open with a verdict panel. Inputs and provenance are shown as ruled key/value panels. The assistant has question bubbles and a sticky question box. Uploading a raw file is now the first option, with G25 paste second.
Screenshots
These come from a local run against the committed AADR v66.p1 reference build.
docs/screenshots/*is regenerated, and pre-redesign shots are kept indocs/screenshots/before-redesign/.Testing
pnpm typecheckis clean andpnpm testpasses 51 of 51.pnpm test:e2esmoke test passed: every page, the skip link, and a G25 upload through to the QC report.UPLOAD_DEMO=1 pnpm screenshotsran the upload → workspace → analysis flow. I also captured a hovered core layer with Playwright to check the pull-out works.Not in this PR
🤖 Generated with Claude Code
https://claude.ai/code/session_01HEuHS4owTqCYiz6PtRUaCN