160 Commits
Author SHA1 Message Date
chrnx 76917decd0 feat(editorial): widen sections and add local track pages
Unify the editorial canvas across section pages, keep release tracks out of Journal, and give each song a listening surface with audio, metadata, platform links, sharing, and optional featured art. Document and seed the local The No Names fixture without changing production data.
2026-08-27 20:24:39 -05:00
chrnx 135b462bd2 docs: define local music release card redesign 2026-08-27 14:26:52 -05:00
chrnxandClaude Opus 5 5c5f385bc0 Merge branch 'feature/projects-as-entities'
Projects become their own editorial taxonomy, modelled on releases and shows:
term meta for repository, package, site, status and cover; a list block and an
archive header block; archive templates for projects and podcast shows; a
landing pattern; and the retirement of the featured-project picker.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 16:25:09 -05:00
chrnxandClaude Opus 5 7b3298070d chore: release 0.4.5
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 16:25:09 -05:00
chrnxandClaude Opus 5 a28d4cbec0 test: describe the projects section as it is after the retirement
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 16:19:25 -05:00
chrnxandClaude Opus 5 6f418f1a51 fix: fall back to placeholder art when a cover attachment is gone
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 15:34:37 -05:00
chrnxandClaude Opus 5 77dc2ee33b refactor: drop the featured-project picker in favour of the project list
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:58:19 -05:00
chrnxandClaude Opus 5 7c0eb51dcc docs: the version bump is what makes a new pattern register
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:53:38 -05:00
chrnxandClaude Opus 5 1c076ffe2f feat: give projects a landing of their own
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:52:14 -05:00
chrnxandClaude Opus 5 2e43e89795 test: guard taxonomy archive templates' key blocks by content
Only the generic structural loop test covered
taxonomy-chrnx_{project,show,release}.html; nothing asserted their
block content, so the journal-stream regression fixed last round
would have gone uncaught if it recurred. Add content tests for the
project and show templates mirroring the existing archive/search idiom.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:42:26 -05:00
chrnxandClaude Opus 5 d0b928eba4 docs: name the real retirement surface, including four live assertions
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:40:16 -05:00
chrnxandClaude Opus 5 0e6a40223e fix: restore episode listing on show archives
taxonomy-chrnx_show.html replaced the generic archive fallback (which
listed episodes via journal-stream) with show-links alone, which
renders nothing for shows without platform-link meta. Add
journal-stream and subscribe-cta back so show archives keep listing
their episodes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:38:42 -05:00
chrnxandClaude Opus 5 c2f6ba7752 docs: a dedicated template must not render less than the fallback it replaces
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:37:24 -05:00
chrnxandClaude Opus 5 847f399886 fix: correct hardcoded generated-image counts after Task 3 regression
Task 3 raised assets/images/generated/ from 76 to 81 files and updated
build-responsive-images.sh's count guard, but missed four other
hardcoded 76/62/14 references in the smoke suite and README.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:33:32 -05:00
chrnxandClaude Opus 5 9860e69728 feat: give project and show archives their own templates
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:30:09 -05:00
chrnxandClaude Opus 5 1fda796812 docs: task 7 must style the detail block too, not only the card
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:25:33 -05:00
chrnxandClaude Opus 5 1e9e5cb07d fix: stop accepting chrnx_project as a journal query param
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:25:04 -05:00
chrnxandClaude Opus 5 7b69f2e519 docs: keep projects out of the journal request-parameter list
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:24:44 -05:00
chrnxandClaude Opus 5 aea2c6754b feat: give each project its own page header and post stream
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:19:58 -05:00
chrnxandClaude Opus 5 51532118bc docs: drop an attribute the project detail render never reads
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:17:55 -05:00
chrnxandClaude Opus 5 77b7e8f658 test: cover project link rendering in project-list block
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:16:49 -05:00
chrnxandClaude Opus 5 cf3d4e0729 docs: a project archive must filter the journal, not clone a tracklist
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:15:20 -05:00
chrnxandClaude Opus 5 54e3e8ccc0 feat: list every project with its status and links
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:12:38 -05:00
chrnxandClaude Opus 5 873842b2a0 feat: add shared placeholder art for projects without a cover
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:08:52 -05:00
chrnxandClaude Opus 5 69c57ea73c docs: block directories need explicit registration, not just files
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:07:58 -05:00
chrnxandClaude Opus 5 6fc35bafd8 docs: widen task 8 to the full retired-feature surface
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:06:05 -05:00
chrnxandClaude Opus 5 062c3951fa feat: give projects a repository, package and status
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:04:03 -05:00
chrnxandClaude Opus 5 7895e4e927 docs: correct the project link markup call and resolve two open questions
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 14:01:43 -05:00
chrnxandClaude Opus 5 036f9eeb3c feat: model projects as their own editorial taxonomy
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 13:59:37 -05:00
chrnxandClaude Opus 5 5e1fcf0315 docs: design and plan projects as first-class entities
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 13:55:37 -05:00
chrnxandClaude Opus 5 9fed24c09a Merge branch 'fix/document-language'
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 19:06:02 -05:00
chrnxandClaude Opus 5 32dc1c3e86 chore: release 0.4.4
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 19:05:58 -05:00
chrnxandClaude Opus 5 0a90e78783 fix: declare the language each post is actually written in
Half the journal is Spanish, but every route declared en-US, so screen
readers pronounced Spanish posts with English phonetics and crawlers
indexed them as English. The chrnx_language taxonomy already recorded the
answer per post and nothing read it.

Map its terms onto the html lang attribute for single posts and for the
language archives, replacing only the language so dir and any plugin
attribute survive. Posts with no language term keep the site default.

Also stop advertising a comments feed. Comments are unsupported theme-wide,
yet the head still linked one, because feed_links_extra also fires for old
posts carrying a non-zero comment_count. The core filter covers both that
and the site-wide link while leaving topic, author and search feeds alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 19:05:55 -05:00
chrnxandClaude Opus 5 a4c68e3c56 chore: run the local environment on WordPress 7.0.4
Production upgraded to 7.0.4, so the development and test containers now
match it instead of trailing on 6.9.6. The full suite passes unchanged
against the new core, and the pinned assertion moves with it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 19:05:48 -05:00
chrnxandClaude Opus 5 6dc4de6b8e fix: stop the text palette slug from hijacking every custom colour
theme.json shipped a palette entry with the slug "text", so WordPress
generated `.has-text-color { color: var(--wp--preset--color--text)
!important }`. The block editor puts that same class on any block given a
custom text colour, so the rule overrode every one of them site-wide with
the dark-theme foreground, unreadable in either theme. An !important
declaration beats an inline style, which is why the colour set on the
block never had a chance.

Rename the slug to "foreground". No published content used the class, for
the obvious reason that it never worked, so nothing has to be migrated.
A smoke test now rejects any palette slug that shadows an editor utility
class.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 10:21:23 -05:00
chrnxandClaude Opus 5 13a8b0425f fix: keep the block title tag and drop Rank Math's relocated copy
Rank Math moves _wp_render_title_tag off wp_head into its own
rank_math/head block, but it does not know about the block-theme renderer
that replaced it, so both rendered. The previous release removed the
block renderer and kept the relocated one, which fixed the duplicate but
left the page depending on a plugin that may print nothing at all: Rank
Math skips its entire frontend until its setup wizard completes, and in
that state the page had no <title> and no social tags.

Remove the relocated copy instead. Both carry the same text, since Rank
Math supplies it through pre_get_document_title, and the block renderer
survives when the plugin is absent or silent. The removal needs no guard:
with no Rank Math, rank_math/head holds no callbacks.

For the same reason chrnx_has_seo_plugin() now asks whether an SEO plugin
actually printed its head, not whether one happens to be installed.

Verified against a real Rank Math install in all three states: emitting,
installed but silent, and absent. One title every time, never zero.

The subscribe call to action now also runs on Pages and archives, so the
Journal and the topic archives can convert, and it skips the Subscribe
page itself rather than linking there from there.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 09:51:03 -05:00
chrnxandClaude Opus 5 e394b88ee6 fix: remove the block theme's title tag, not the classic one
The duplicate <title> survived the last release. Block themes swap
_wp_render_title_tag for _block_template_render_title_tag, so removing
the classic callback matched nothing and both titles kept rendering.

locate_block_template() registers the replacement during template_include,
after `wp` and template_redirect, so wp_head at priority 0 is the earliest
point where it can be removed before it runs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 08:55:31 -05:00
chrnxandClaude Opus 5 f9191a18bc fix: make topics reachable and stop the head fighting itself
Every topic archive rendered its character art gate against the design
master, which package-theme.sh deliberately strips, so production showed
an empty stage on all eight of them. Gate on the derivative the markup
actually loads instead.

Nothing linked to a topic archive: the only filter was a select inside a
form, invisible to crawlers and to anyone not looking for it. The stream
now also lists the non-empty topics as links, marking the current one.
Empty topics stay out, because a dead archive is worse than no link.

Rank Math already owns the document head, so the theme's own og: tags
were a second, conflicting set and core's title tag was a literal
duplicate. Both now yield when an SEO plugin is active.

Category archives listed the same posts as their topic at a second
indexable URL. They now redirect to the same-slug topic, or the Journal.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 08:43:16 -05:00
chrnxandClaude Opus 5 8a47b30316 chore: release 0.3.0
The show links feature shipped without a version bump, so a reinstall
would have served the new block's assets from cache under the old
version.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:41:59 -05:00
chrnxandClaude Opus 5 49047f1337 feat: link a podcast show to where it is heard
Releases already had platform links; shows had none, so the Podcasts
page could not point at Spotify or Apple. chrnx_show terms take a
Spotify, Apple Podcasts and RSS URL now, rendered above the latest
episode and only when a URL exists.

The platform helper takes its definitions as an argument rather than
always reading the release set: a podcast lives on Apple Podcasts, not
Apple Music, and labelling it wrong would send people to the wrong
service.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 20:21:01 -05:00
chrnxandClaude Opus 5 cb491adae6 test: cover the new content models and stop duplicate terms
Seeding guarded with term_exists(), which reads a cache that is not
always warm during activation and let a second activation insert
gaming-2, literature-2 and silicon-ranch-2. It asks the taxonomy
directly now, by slug and by name.

Fixtures gain projects and tracks, and the suites follow the assets to
their generated derivatives. Also widens the Site Editor poll, which
threw instead of retrying while the editor was still booting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:42:07 -05:00
chrnxandClaude Opus 5 df117e67bb fix: read navigation from WordPress menus
The header and footer had five URLs hardcoded from the local fixtures.
On a site whose pages are named differently, that is five 404s in the
navigation, which is exactly what happened on chrnx.dev.

Both now read an assigned menu and fall back to the built-in pages when
no menu is set or the assigned one is empty.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:42:07 -05:00
chrnxandClaude Opus 5 6c7ed22970 fix: version block assets so browsers pick up changes
Block viewScript and style URLs are versioned from block.json, not
CHRNX_VERSION, so they kept serving cached JavaScript after the theme
version moved. The theme toggle looked broken because the browser was
still running the script that looked for radio inputs.

All block.json versions now track CHRNX_VERSION, and a smoke test fails
if any of them drift, so this cannot come back silently.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:42:06 -05:00
chrnxandClaude Opus 5 842c8a9b37 build: package the theme as an installable zip
An allowlist so a new dev file is excluded by default, a version check
against style.css, and a refusal to ship tests, scripts or vendor.

The first package was 34MB because every img fallback pointed at the
design master: a browser without AVIF or WebP downloaded 3.4MB per
image. That was a live cost, not just a packaging one. Fallbacks point
at the generated WebP now and masters stay out of the zip, which is 3MB.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:48 -05:00
chrnxandClaude Opus 5 f859780eaa feat: add atmosphere backdrops and shipped placeholders
About and Projects had a figure floating on a CSS gradient while Music
and Podcasts had a whole world behind theirs. They get their own
landscape backdrop, which is what made the four read as one series.

Adds placeholder art for a release without a cover and a post without a
featured image, composited over the per-topic accent so a grid of
missing images still varies. Tracks borrow their album cover first.

The generated inventory grows to 76 files. Placeholders encode at lower
quality because they sit at half opacity behind text, which kept the
payload inside its budget instead of raising it again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:48 -05:00
chrnxandClaude Opus 5 d1ad17f4be feat: add a provider-agnostic subscribe form
Reading settings take an HTTPS endpoint and the email field name, so
the form posts straight to Buttondown, Mailchimp, MailerLite or
anything else without the theme picking one. Without an endpoint the
block renders nothing rather than a form that goes nowhere.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:36 -05:00
chrnxandClaude Opus 5 20c47c927a feat: give releases and tracks their own pages
Albums were three hardcoded cards. An album is a chrnx_release term
now, with cover, status and listening links; its archive is the album
page with an ordered tracklist. A song is a post carrying lyrics and
notes, its track number, and the audio.

The player is a native audio element, no library and no JavaScript.
Platform icons render only when a URL exists, so nothing points at a
service the release is not on yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:36 -05:00
chrnxandClaude Opus 5 a142ece51d feat: rebuild the header controls as icon buttons
The theme switch was three labelled radios that wrapped the header onto
a second line with long translations. It is three SVG buttons now, with
search and menu sharing the same language: no resting outline, a filled
chip for the active choice.

Radios gave arrow-key roving for free, so the group reimplements it
rather than losing it. The first chip colour put accent on accent and
failed WCAG AA; the label carries full contrast instead. Mobile targets
sit at 45px because a floor of exactly 44 rounds to 43.99997 in Firefox.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:24 -05:00
chrnxandClaude Opus 5 f55d9d9b45 feat: model projects as posts with a picked Selected work
Projects were hardcoded h3 elements in a pattern: no URL, no feed, no
search, uneditable without touching PHP. They follow the podcast model
now, a chrnx_topic term plus posts.

Adds a chrnx_project_featured flag with an editor toggle so the stage
lists chosen projects first and fills with the most recent. Sticky was
already spoken for by the home featured stories, so the choice needed
its own signal. journal-stream gains a pinned topic attribute, reusing
the archive filter, pagination and empty state it already had.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:24 -05:00
chrnxandClaude Opus 5 a3ba692669 fix: correct entry layout, light mode and editor parity
The single/page/404 templates set contentSize to 70ch, which resolves
against each child's own font size: the display-size h1 asked for
~2660px and broke full bleed while the body stayed narrow. They now
inherit the 720px from theme.json.

Also drops the About facets that duplicated the portrait, adds the
missing prefers-color-scheme branch for the character stage copy
surface (dark text on a dark panel in System light), loads
components.css in the editor, and replaces the unstyled index
fallback with the journal stream.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:09 -05:00