diff --git a/README.md b/README.md index 113d961..08fb3c8 100644 --- a/README.md +++ b/README.md @@ -76,10 +76,38 @@ module). ## Migration status +All five projects are migrated, on `v0.1.5`. + | Project | Meta-repo | Status | |---|---|---| | `yasta` | yetano | migrated (pilot) | -| `yasl` | yetano | not yet migrated | -| `yaiam` | yetano | not yet migrated | -| `yakwui` | yak | not yet migrated | -| `yamase-web` | yamase | not yet migrated | +| `yasl` | yetano | migrated | +| `yaiam` | yetano | migrated | +| `yakwui` | yak | migrated | +| `yamase-web` | yamase | migrated | + +## Versioning note + +Use `v0.1.5` or later. `v0.1.3` and `v0.1.4` were force-moved to +different content after being tagged (a mistake, made while resolving a +concurrent-edit conflict during the initial rollout) and can produce a +`go.sum` checksum mismatch for anyone who fetched them beforehand. Don't +force-move an existing tag again for any future change — always cut a +new one, even for a one-line fix. + +## PageHeader fields (current as of v0.1.5) + +`Title`, `AppName` (lowercase product name for ``/footer — not +`Name`, which collides with a domain type's own `Name` field once +embedded in the same struct, as yakwui's viewmodel types do), `Lang` +(`<html lang>`, defaults to `"en"`), `Brand`, `BrandInitial`, `Subtitle`, +`BasePath`, `NavItems`/`ActiveNav`, `Flash`/`FlashKind`, `Username`, +`LogoutPath` (a plain GET link — for a POST-form logout or any other +markup mismatch, render it yourself into `NavbarRightExtra` instead and +leave `Username`/`LogoutPath` unset), `NavbarBeforeBrand` (before the +brand link, e.g. a mobile sidebar-toggle button), +`NavbarLeftExtra`/`NavbarRightExtra` (the navbar's two groups), +`ExtraHeadHTML`/`ExtraBodyHTML`, and `BodyAttrs`/`SidebarAttrs` — +`template.HTMLAttr`, not `template.HTML` — raw extra attributes on +`<body>` and the sidebar `<nav>` for a consumer's own client-side +framework state (e.g. yakwui's Alpine.js collapsible sidebar).