Skip to content

feat(genre-tree): surface genre summary in the info panel - #89

Merged
Andreas-Garcia merged 2 commits into
developfrom
feature/genre-detail-summary
Sep 10, 2026
Merged

Andreas-Garcia merged 2 commits into
developfrom
feature/genre-detail-summary

Conversation

@Andreas-Garcia

Copy link
Copy Markdown
Member

Summary

  • CriteriaDetailed now includes summary (nullable string), matching the backend's genre-detail/tag-detail response after grow-the-music-tree-api#67, which added the field to CriteriaDetailedSerializer (it had previously only been on the simple/list serializer).
  • GenreTreeView's renderExtraDetails now renders the summary as a paragraph above the essential tracks list, when present, and includes it in the "anything to show" check that otherwise returns null.

Test plan

  • pnpm --filter @behindthemusictree/app-kit test -- GenreTreeView — passes, including new coverage for summary rendering and its inclusion in the empty-state check
  • pnpm run lint (typecheck + build across the workspace) — passes

🤖 Generated with Claude Code

CriteriaDetailed now includes summary (nullable string), matching the
backend's genre-detail/tag-detail response (grow-the-music-tree-api#67).
renderExtraDetails displays it above the essential tracks list when present.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 10, 2026 22:01
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
app-kit-playground Ready Ready Preview Sep 10, 2026 10:12pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

The detailed schema test fixture predated the summary field, so
CriteriaDetailedSchema.parse(valid) started failing once summary
became a required (nullable) key. Add it plus null/missing-key
coverage mirroring the CriteriaSimpleSchema block.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 10, 2026 22:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Andreas-Garcia
Andreas-Garcia merged commit 40914db into develop Sep 10, 2026
4 checks passed
@Andreas-Garcia
Andreas-Garcia deleted the feature/genre-detail-summary branch September 10, 2026 22:16

This branch was successfully deployed

1 active deployment
Preview 710bd923 Deployed Sep 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants