Chapter 22½: inside jev-ui/src — the files and the page

Seven files, from what is served to what is composed.

The files, in reading order

  1. asset.rs: every embedded file (ALL), found by path, with the hash that names its bytes and the cache header that goes with it.
  2. shell.rs: document, the one head and the body around a site's content; Attr, an attribute on <body> that cannot end the tag.
  3. components.rs: the nav, headline, window, sheet, band, copy line, footer and pixel icons.
  4. preview.rs: the link-preview tags (Preview, Origin) and the check that a rendered page has them (missing). Moved here from whiskers.
  5. card.rs: the preview card's look as SVG (Chrome, text, dither).
  6. wire.rs: a call to Jev as a window, a body printed from its raw text, a probability rule.
  7. flow.rs: a spine of steps with their exits, as one SVG.

In this folder

PathWhat
lib.rsThe modules, and maud re-exported so a site and this crate agree on its version.
CLAUDE.mdInvariants for agents.

← Previous: Chapter 22: jev-ui · Up: jev-ui · Next: Chapter 22¾: jev-ui/assets →