Commit Graph
107 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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
chrnx b0e44423a1 test: verify CHRNX publication rollback 2026-08-13 11:59:11 -05:00
chrnx 6bfe87b64e test: align CHRNX visual regressions 2026-08-13 11:05:31 -05:00
chrnx 16b6a75b35 test: harden CHRNX visual evidence 2026-08-13 10:38:29 -05:00
chrnx 4e496b241a test: capture CHRNX grunge stage review 2026-08-13 10:19:18 -05:00
chrnx db710fa248 test: keep CHRNX stage tests portable 2026-08-13 10:03:55 -05:00
chrnx f276e6b2ea fix: harden CHRNX stage reflow 2026-08-13 09:54:36 -05:00
chrnx d9d187a631 fix: center CHRNX landing titles 2026-08-13 08:36:57 -05:00
chrnx dc260ff899 fix: align CHRNX stage presentation 2026-08-13 08:31:55 -05:00
chrnx 041c5f539d style: compose CHRNX grunge stages 2026-08-13 08:21:55 -05:00
chrnx 54ea215895 test: require CHRNX podcast media 2026-08-13 08:05:53 -05:00
chrnx 62df36ef81 test: exercise CHRNX editor workflows 2026-08-13 07:57:04 -05:00
chrnx 03aca3beff test: inspect CHRNX editor block state 2026-08-13 01:54:03 -05:00
chrnx 9b94eb17c5 refactor: compose CHRNX music and podcast stages 2026-08-13 01:45:03 -05:00
chrnx 06d2c88b81 fix: harden CHRNX responsive image builds 2026-08-13 01:22:17 -05:00
chrnx 6443a46126 feat: add responsive CHRNX podcast atmosphere 2026-08-13 01:01:08 -05:00
chrnx 3840b7c168 test: verify CHRNX image decoding 2026-08-13 00:50:18 -05:00
chrnx a537196525 feat: add CHRNX podcast grunge background 2026-08-13 00:40:39 -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 dc2b771a77 test: isolate main checkout verification 2026-08-12 23:33:14 -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 5957bd566b fix: restore Related Stories resize focus 2026-08-12 22:59:35 -05:00
chrnx 12259f4837 test: isolate Related Stories partial counts 2026-08-12 22:51:08 -05:00
chrnx 38d26acabc fix: expose Related Stories card focus 2026-08-12 22:47:27 -05:00
chrnx d620c6ad19 test: limit browser verification concurrency 2026-08-12 22:25:33 -05:00
chrnx 084c820716 test: distinguish PHP diagnostics from prose 2026-08-12 22:08:15 -05:00
chrnx 52099a7ca1 test: harden Related Stories browser acceptance 2026-08-12 22:05:39 -05:00
chrnx 3a34a9990f test: verify Related Stories workflows 2026-08-12 21:54:50 -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 28c56fce5b test: harden Related Stories controller coverage 2026-08-12 20:50:44 -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