Commit Graph
12 Commits
Author SHA1 Message Date
terminarandClaude Sonnet 5 31af3819b4 Ignore local resume.sh helper script
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-08 23:10:20 +02:00
terminar 8875062fc5 Prepare theming: PageHeader.Theme -> <html data-theme>, explicit dark block
Zero behavior change for every current consumer (Theme defaults to "",
which resolves to the unchanged bare :root block). Adds the seam a
future second theme slots into: its own :root[data-theme="..."] block
in static/style.css, nothing else in this module changes. See
README.md's expanded Theming section for the concrete mechanism.
v0.1.7
2026-09-01 22:24:58 +02:00
terminar adea139888 Update migration-status table: yamocir migrated, yaais deliberately not 2026-09-01 22:11:15 +02:00
terminar ef0714e213 Extract the color palette into --yw-* custom properties (a formal theme)
Preparation for the yamocir migration: same computed colors as before,
now expressed as reusable, documented tokens instead of literals baked
into each rule. Also documents scope in README.md's new Theming
section -- this module ships exactly one theme; per-project theming
(e.g. yaais's light/dark toggle) belongs in that project, not here.
v0.1.6
2026-09-01 21:40:28 +02:00
terminar 5d7f67b3d3 Update README: all five projects migrated, v0.1.5, versioning note 2026-09-01 17:48:08 +02:00
terminar 84a9faff29 Rename PageHeader.Name to AppName to avoid a field collision
A consuming project's own per-page data struct commonly embeds both
PageHeader and a domain type that has its own Name field (e.g. a
Kubernetes resource's name, as in yakwui's node/deployment/pod detail
pages) -- two same-depth promoted "Name" fields make html/template's
".Name" an ambiguous selector that only fails at execution time, not
at parse time.
v0.1.5
2026-09-01 14:11:33 +02:00
terminar 1c1878cfca Add PageHeader.Lang, BodyAttrs, SidebarAttrs escape hatches
Lang: <html lang> override (defaults to "en") for a non-English UI.
BodyAttrs/SidebarAttrs: raw extra attributes spliced into <body> and
the sidebar's <nav> tag, typed template.HTMLAttr (not template.HTML --
the contextual autoescaper requires the attribute-list sentinel type
in this position or it silently drops the value). Needed by yakwui's
Alpine.js-driven collapsible mobile sidebar, which has no other way to
carry x-data state onto a common ancestor of the toggle button and the
sidebar nav.
v0.1.4
2026-09-01 09:40:26 +02:00
terminar c99b000b1d Add PageHeader.BodyAttrs/SidebarAttrs escape hatches
Needed by yakwui's Alpine.js-based collapsible sidebar (x-data on
<body>, :class binding on the sidebar <nav>) -- the shared markup has
no generic opinion about a consumer's own client-side framework state.
v0.1.3
2026-08-31 14:13:01 +02:00
terminar 671d9bd92d Add PageHeader.NavbarBeforeBrand for a pre-brand navbar element
Needed by yakwui's mobile sidebar-toggle button, which renders before
the brand link rather than after Subtitle.
v0.1.2
2026-08-31 10:21:15 +02:00
terminar d3e900389f Add Renderer.ExecuteNamed for rendering a non-base named block
Needed by yasta's SSE system-status stream, which re-renders just its
own fragment block on every tick instead of the full page.
v0.1.1
2026-08-29 00:46:28 +02:00
terminar e712ce14fa Correct README sync instructions (root merge, not subtree --prefix) 2026-08-29 00:28:22 +02:00
terminar d722592379 Initial extraction of shared webui layout (base/navbar/sidebar/footer)
Pilot module for the shared design used by yasta, yasl, yaiam, yakwui,
and yamase-web: server-rendered Bootstrap dashboard chrome, imported as
a Go module instead of copy-pasted per project.
2026-08-29 00:19:06 +02:00