Files
chrnx-dev-wp/docs/superpowers/specs/2026-08-27-music-release-cards-design.md
T
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

4.2 KiB

Music release cards design

Goal

Preserve the existing Music landing composition while making its release area wider, more useful, and specific to The No Names.

Approved design

The Music hero, collage, musician, AI quote area, and visual language remain intact. The introductory quote changes to the exact copy below and remains in the existing quote block, below the hero and above the releases:

Miren, miren: esto es, virtualmente, lo que la voz de Kurt Cobain le hizo a mi cabeza, pasado por una IA generativa. Si vienes con AI SLOP, déjame decirte que me vale veinte mil hectáreas de verga. La letra, la voz y la producción vienen de una tormenta que vive permanentemente en mi cabeza. Si no te gusta, ahí está la puerta. Yo nomás aviso: no habrá conciertos. Así nomás.

The main content width uses a Music-only 1200px desktop cap (the existing theme wide size remains unchanged elsewhere) and full-width with 1rem gutters on mobile, without changing the hero's layered composition. The Releases in progress area renders four independent release cards in this order: public slug el-hermoso-caos mapped to source directory el-hermoso-caos-que-habita-en-mi-cerebro (13 tracks), ando-bien-arriba (6), aqui-se-rompio-una-jerga (6), and side-b (19 experimental tracks). Each card uses a square cover constrained to min(32%, 22rem) on desktop, a title/status/platform-link column, a native <details><summary> description disclosure closed by default, the first three ordered tracks (or all available tracks when fewer than three exist), and a Ver letras link to /release/<slug>/. On mobile the cover stacks above the content. Platform links appear in the fixed order Suno, Spotify, Apple Music, only when a valid HTTPS URL exists; local fixtures leave all three empty.

Data and local boundary

The local fixture is the named the-no-names scenario in scripts/seed-test-content.sh, guarded to localhost/127.0.0.1 and reading only the checked-in generated snapshot tests/fixtures/the-no-names-releases.json; generation from /Users/chrnx/projects/suno/bands/the-no-names is a separate local command and never runs from a public host. The snapshot maps each disc.md, each numbered song.md (alternate song-*.md files are ignored), and approved 1200px cover file to a release record. Side B is an independent chrnx_release term. Descriptions come from the first Concept paragraphs; release statuses use the disc status value with unknown/empty values rendered as En proceso; track posts use the song title and status. Seed-owned terms use _chrnx_fixture_key, posts use _chrnx_fixture_key, and attachments use _chrnx_fixture_key; rerun replaces only those records and restore removes only those records. Missing audio and platform URLs remain empty. Production is not contacted or mutated.

Typography

Keep body and lyric text readable. Use distressed/grunge treatment on release labels, headings, borders, and background texture rather than applying an extreme decorative font to long lyrics. Any font addition must be local or explicitly approved; no runtime third-party font dependency is required for this increment.

Interaction and accessibility

Descriptions use native <details><summary> semantics, closed by default, with keyboard support, visible focus states, and readable contrast. Ver letras links to the release archive URL and each visible track title links to its individual post when present. Each external link uses target="_blank" rel="noopener noreferrer external" and an accessible platform name. Missing artwork, links, status, and descriptions render gracefully; the release card still renders with its title and track preview.

Verification

Run npm run test:smoke, npm run lint:js, npm run lint:css, npm run phpcs, npm run test:php, and npx playwright test tests/e2e/music-podcast-stages.spec.mjs against http://localhost:8908 (the isolated override). Capture /music/ locally in dark and light themes at 375px, 768px, and 1440px. Acceptance requires exactly four cards in the declared order, seeded counts 13/6/6/19, native disclosures closed by default, valid conditional platform links, lyrics/archive links, no horizontal overflow, and no public-host access from the seed command.