feat: today card, masthead strip & context chip (#11) #106
No reviewers
Labels
No labels
area: build
area: ci
area: compare
area: model
area: plugin
area: provenance
area: rite
area: settings
area: ui
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Ordo!106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/11-today-masthead"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ordo O3 — Epic #11: today card + masthead strip + context chip
Implements the first two public surfaces of the Ordo plugin as both shortcodes and buildless, server-rendered blocks, rendered to the approved Illuminated-Breviary mockup (
docs/mockups/v0.1-illuminated-breviary.html) from the bundled engine, fully offline.Surfaces
[ordo_today](#12) — an embeddable card for the current day: Latin title, class chip, colour chip, season line, and a link into the day view.[ordo_calendar_strip](#13) — a rolling week strip centred on today that slides a day at a time. Progressive enhancement: with no JavaScript the window scrolls and every day is a link to its page; with JS, chevrons appear and the strip sizes days to a responsive count (3/5/7). Avariant="ribbon"renders the one-line S1 masthead (feast · class · feria · date, colour tabs + gem on navy).Design
DayPresenteris the single interpreter of the engine contract (colour.base,rank, season token, Latinnames.la);LatinCalendarrenders the ribbon's feria + genitive date (Feria V · 3 Septembris mmxxvi).wp.serverSideRender(no JSX, no Node build) — editor and front end render identical markup..ordo; assets enqueue only when a surface renders.Acceptance criteria
[ordo_today]renders the current day to the mockup tokens; block renders identical markup; links into the day view; passes the WP-stub render harness. (#12)Verification
#fffdf8card with 3px gold rule; navy#0b1d4astrip/ribbon; gold#c9a24atoday marker; Cormorant Garamond feasts / Cormorant SC ribbon).phpcs(PSR-12),phpstanlevel 6, clean-room guard,composer validate --strict— all green; CI matrix 7.4/8.1/8.2/8.3.The
/ordo/YYYY-MM-DD/link target is rendered by the day view in Epic #15 (O4). Self-hosted fonts fall back to Garamond/Georgia and system-ui; binary font bundling is deferred to O5.Refs #11 #12 #13 #14