Commit Graph

11 Commits

Author SHA1 Message Date
dev 0cc11b9af8 web: scroll to the top on navigation, organize the interface by layer, and set the formulas in the tool output
A page change did not move the scroll position, so following a link from
the bottom of a long document landed in the middle of the next one. The
scroll now follows the path rather than the fragment, so a filter applied
to the page a reader is on leaves them where they are. The browser fires
`popstate` for a fragment navigation as well as for a traversal, so
there is no event that means "this was a traversal" on its own, and going
back starts at the top rather than where the reader left.

The interface index listed fifteen crates in one grid. It is now grouped
by layer, with the title and order the concept documentation already
declares, and a card shows the opening sentence of the crate summary
rather than the whole of it, which is what made the cards four hundred
pixels tall.

A tool result showed its column headings, scalar labels and notes in the
reader's language, but left the table body in English. Text cells are now
looked up as well. Units are written with a power, and are set as one.

A tool description is Markdown, so it is now rendered as such, as are the
parameter help and the notes. A formula written between dollar signs is
set the same way in both places.
2026-10-01 22:46:56 +08:00
dev c812483f60 web: split the physics layer, render formulas, and fix the graph load
The graph took over three seconds to draw. The force layout ran four
hundred and twenty steps of repulsion between every pair of nodes, which
is quadratic in the node count and was doing that work through a reactive
proxy inside an effect that read the state it wrote, so it rescheduled
itself on every run. The repulsion now runs on a grid over neighbouring
cells, and the effect no longer tracks its own writes.

The physics layer covered two unrelated subjects, so it is presented as
two. Formulas are written between dollar signs and translated to MathML,
which the browser sets itself, so no script has to run. The palette is
now two sets of the same variables with a toggle between them, and below
a thousand pixels the sidebar is a drawer over the page.
2026-10-01 17:28:43 +08:00
dev e7b6a89a18 web: describe the field by layer and separate it from the implementation 2026-10-01 13:57:23 +08:00
dev 895c6d3a3a web: fix the outline anchors, level the outline, and fold the sidebar chapters 2026-10-01 11:00:09 +08:00
dev 165d78175e web: name assets with a content hash so a stale bundle cannot be served 2026-10-01 09:06:10 +08:00
dev eb65230a44 web: align the interface layout and translate the remaining captions 2026-10-01 08:46:46 +08:00
dev 994f871ff2 web: correct the asset cache policy, serve the flow index, and drop a stray artifact 2026-10-01 07:35:56 +08:00
dev ea1b2e6244 web: fix the tool form, the search box, the toc anchors, and translate the interface 2026-09-27 10:29:10 +08:00
dev 3fe470493f web: fix the interface layout and add Chinese search 2026-09-27 09:45:26 +08:00
dev 5b23d1ced8 web: add a bilingual interface with Chinese as the default 2026-09-27 09:13:52 +08:00
dev 8e9a777aca web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00