apsis-book/frontend
dev 73b5f3de63 Wrap a long identifier, and add the rendered page to the audit
A doc comment names an item by its full path, as in
`NoiseTemperature::from_noise_figure_db`. A path has no space in it, so
the column could shrink and the word could not, and the interface page of
a crate scrolled sideways on a phone. The body of a document now breaks a
word rather than overflow.

The audit that renders every route now covers the whole interface: 744
combinations, being ninety-three routes in both languages and both themes
at two widths, and it passes. It reports four things, which are the four
ways a page has failed here before: a page that does not load, a page
with almost no text, a page that scrolls sideways, and a formula that
loses a letter or a digit.

Two mistakes of the audit itself are fixed rather than worked around.

It awaited a `Runtime.evaluate` that called `location.reload`. Such a
call destroys its own execution context, so the reply never arrives, the
promise never settles and the run hangs until the environment kills it.
The preferences are now set once per language on a page that stays put,
and each route is reached by an ordinary navigation.

It gave the browser a function whose comment contained a backtick. The
backtick closed the template literal that held the function, so the script
did not parse at all.

The formula comparison now treats a command name as notation, as it
already did for the operators: \Delta draws a Greek letter and \sqrt a
radical sign, so neither is drawn as the letters of its own name.
2026-10-02 11:22:02 +08:00
..
src Wrap a long identifier, and add the rendered page to the audit 2026-10-02 11:22:02 +08:00
index.html web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00
package-lock.json web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00
package.json web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00
svelte.config.js web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00
tsconfig.json web: add the apsis-web service, content, and frontend 2026-09-27 00:53:20 +08:00
vite.config.ts web: name assets with a content hash so a stale bundle cannot be served 2026-10-01 09:06:10 +08:00