docs: define local music release card redesign

This commit is contained in:
chrnx committed 2026-08-27 14:26:52 -05:00
1 parent 5c5f385bc0
commit 135b462bd2
2 files changed
+91

No files matched your search

@@ -0,0 +1,62 @@
# Music release cards Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Redesign the local Music release area into wide, expandable The No Names release cards and seed all four local releases from the Suno project.
**Architecture:** Keep the existing dynamic release-list block and taxonomy model. Extend its markup/data boundary for descriptions, track previews, lyrics links, and Side B; use focused CSS for the wider landing layout and responsive card geometry. Add an idempotent local-only seed path rather than coupling production rendering to filesystem paths.
**Tech Stack:** WordPress PHP blocks, CSS, wp-env/Colima, Node smoke and Playwright tests.
---
### Task 1: Lock the local data contract
**Files:**
- Modify: `inc/taxonomies.php`
- Modify: `inc/release-meta.php`
- Modify: `blocks/release-list/render.php`
- Test: `tests/smoke/visual-integration.test.mjs`
- [ ] Add Side B as an independent release term and preserve existing release slugs.
- [ ] Extend release list rendering with safe description, status, platform links, track preview, and lyrics destination data.
- [ ] Add semantic disclosure markup and empty-state handling.
- [ ] Add regression assertions for four releases and required release-card structure.
- [ ] Run the focused smoke test and confirm it fails before implementation where appropriate.
### Task 2: Implement the release-card presentation
**Files:**
- Modify: `assets/css/components.css`
- Modify: `patterns/music-landing.php`
- Modify: `blocks/release-list/render.php`
- Test: `tests/e2e/music-podcast-stages.spec.mjs`
- [ ] Widen only the Music landing content container while retaining the existing hero layers.
- [ ] Build wide release rows with a dominant cover, readable title/status, platform links, disclosure, track preview, and lyrics link.
- [ ] Add responsive stacking and keyboard/focus states.
- [ ] Apply grunge texture through existing visual language and restrained metadata treatment, not unreadable body typography.
- [ ] Capture `/music/` in local light/dark desktop and mobile states.
### Task 3: Seed local The No Names content
**Files:**
- Create: `scripts/seed-the-no-names-local.sh`
- Modify: `README.md`
- Test: `tests/smoke/theme-contract.test.mjs`
- [ ] Add an idempotent local-only seed command that validates localhost and imports the four release records, covers, descriptions, statuses, and track metadata from the Suno tree.
- [ ] Import Side B from its nested directory as a separate release.
- [ ] Keep absent streaming URLs empty and never infer public links.
- [ ] Document startup, seed, preview, and restore boundaries.
- [ ] Run the seed against the isolated wp-env database.
### Task 4: Verify and hand off
**Files:**
- Modify: relevant tests only if evidence requires it.
- [ ] Run `npm run test:smoke`, lint, PHP tests, and focused Playwright Music checks.
- [ ] Start Colima/wp-env on the configured local port and capture the rendered page.
- [ ] Inspect screenshots at 375, 768, and 1440 widths in both themes.
- [ ] Run `git diff --check` and report local-only status; do not publish or touch production.
@@ -0,0 +1,29 @@
# 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:
> 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 increases without changing the hero's layered composition. The `Releases in progress` area renders four independent release rows: the 13-track album, both six-track EPs, and Side B as an experimental release. Each row uses a large square cover, a title/status/link column, an expandable Spanish description, a compact track preview, and a link to the lyrics. Suno, Spotify, and Apple Music links render only when real URLs exist.
## Data and local boundary
The local fixture is populated from `/Users/chrnx/projects/suno/bands/the-no-names`, using `disc.md`, `song.md`, and approved cover files. Side B is represented by a new independent `chrnx_release` term and its own local fixture records. 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 disclosure semantics with keyboard support, visible focus states, and readable contrast. External links have descriptive text and indicate a new tab only through accessible text/labels if that behavior is used. Missing artwork, links, status, and descriptions render gracefully.
## Verification
Run smoke, PHP, JS/CSS lint, and browser checks against the isolated wp-env instance. Capture `/music/` locally in dark and light themes at desktop and mobile widths before claiming completion.