Commit Graph
45 Commits
Author SHA1 Message Date
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 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 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 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 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
chrnx f276e6b2ea fix: harden CHRNX stage reflow 2026-08-13 09:54:36 -05:00
chrnx 041c5f539d style: compose CHRNX grunge stages 2026-08-13 08:21:55 -05:00
chrnx 7480f9c21e Merge branch 'feature/character-led-sections' into feature/music-podcast-grunge-stages 2026-08-13 00:21:36 -05:00
chrnx 8fb87bf221 fix: contain focused Related Stories cards 2026-08-12 23:20:13 -05:00
chrnx 67850849d1 fix: preserve Related Stories focus on hover 2026-08-12 23:13:15 -05:00
chrnx 38d26acabc fix: expose Related Stories card focus 2026-08-12 22:47:27 -05:00
chrnx d8ad3d388f fix: polish Related Stories interactions 2026-08-12 21:23:41 -05:00
chrnx 9058d5592f style: add Related Stories layouts 2026-08-12 21:05:53 -05:00
chrnx fe142c9c4d feat: enhance Related Stories carousels 2026-08-12 20:44:25 -05:00
chrnx 2fede7cfcc feat: add Related Stories editor controls 2026-08-12 20:21:42 -05:00
chrnx 3bc62358d7 feat: configure Related Stories rendering 2026-08-12 19:00:01 -05:00
chrnx 59e4f36846 refactor: unify CHRNX character stages 2026-08-12 17:19:20 -05:00
chrnx c7de54995f style: integrate CHRNX navigation and footer 2026-08-12 15:08:07 -05:00
chrnx 6e93c0ad20 fix: isolate CHRNX local integration state 2026-08-12 09:48:12 -05:00
chrnx 1e9386ac13 fix: complete CHRNX responsive edge states 2026-08-12 09:02:34 -05:00
chrnx 5073178492 feat: complete CHRNX responsive content states 2026-08-12 08:42:20 -05:00
chrnx 43e4689206 feat: coordinate CHRNX mobile header panels 2026-08-11 19:53:31 -05:00
chrnx e7956a1496 fix: preserve progressive CHRNX search 2026-08-11 19:45:14 -05:00
chrnx 3280970e3d feat: define compact CHRNX header controls 2026-08-11 19:36:53 -05:00
chrnx ff1c64ae48 fix: clarify fixed CHRNX archive filters 2026-08-11 18:32:09 -05:00
chrnx 2230731e1b fix: harden CHRNX archive and pattern composition 2026-08-11 18:27:22 -05:00
chrnx 7297523e26 fix: address CHRNX editorial review findings 2026-08-11 18:18:05 -05:00
chrnx 247f9a7915 feat: add CHRNX templates and editorial patterns 2026-08-11 18:10:18 -05:00
chrnx f983cec4f9 fix: make CHRNX header fully progressive 2026-08-11 17:26:48 -05:00
chrnx e1579657d6 fix: harden CHRNX shell accessibility 2026-08-11 17:12:18 -05:00
chrnx f371db4cb5 feat: add CHRNX shell and theme preference 2026-08-11 16:54:17 -05:00
chrnx aad237b211 feat: add CHRNX theme preference and marks 2026-08-11 16:32:51 -05:00
chrnx dab82cfa06 fix: scope CHRNX eligible queries 2026-08-11 15:59:29 -05:00
chrnx a181f405bf fix: bound CHRNX editorial queries 2026-08-11 15:49:58 -05:00
chrnx 52f08a1efd fix: validate CHRNX editorial fallbacks 2026-08-11 15:37:25 -05:00
chrnx 89dcc53e02 feat: add editorial query blocks 2026-08-11 15:27:44 -05:00