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.
This commit is contained in:
chrnx committed 2026-08-27 20:24:39 -05:00
1 parent 135b462bd2
commit 76917decd0
23 files changed
+770 -50

No files matched your search

+4 -3
View File
@@ -176,9 +176,10 @@ class EditorialQueriesTest extends WP_UnitTestCase {
);
$this->assertSame( 3, $args['paged'] );
$this->assertSame( 'hello world', $args['s'] );
$this->assertCount( 2, $args['tax_query'] );
$this->assertCount( 4, $args['tax_query'] );
$this->assertSame( 'code', $args['tax_query'][0]['terms'] );
$this->assertSame( 'es', $args['tax_query'][1]['terms'] );
$this->assertSame( 'NOT EXISTS', $args['tax_query'][2]['operator'] );
}
/** Real topic archives override conflicting request filters and never mix terms. */
@@ -248,7 +249,7 @@ class EditorialQueriesTest extends WP_UnitTestCase {
$this->go_to( get_term_link( $tag ) );
$unsupported = chrnx_get_journal_request_context( array() );
$this->assertArrayNotHasKey( 'post_tag', $unsupported );
$this->assertArrayNotHasKey( 'tax_query', chrnx_get_journal_query_args( $unsupported ) );
$this->assertSame( 'NOT EXISTS', chrnx_get_journal_query_args( $unsupported )['tax_query'][0]['operator'] );
}
/** Show archives constrain Journal results to actual show membership. */
@@ -278,7 +279,7 @@ class EditorialQueriesTest extends WP_UnitTestCase {
)
);
$this->assertArrayNotHasKey( 'tax_query', $args );
$this->assertSame( 'NOT EXISTS', $args['tax_query'][0]['operator'] );
$this->assertSame( 1, $args['paged'] );
$search = $args['s'] ?? '';
$this->assertLessThanOrEqual( 100, mb_strlen( $search, 'UTF-8' ) );