From 697146cc216149a440facfa64ad8a6e03ff470d1 Mon Sep 17 00:00:00 2001 From: mignot Date: Thu, 12 Nov 2026 15:20:02 +0100 Subject: [PATCH 1/2] feat(genre-tree): end Ancestors on the selected genre Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 4 ++++ .../app-kit-ui/src/genre-tree/GenreDetailPanel.tsx | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d336d05..9a41172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ easy to spot when bumping. - Parent popup (`ChangeParentPopup`): a **Make root** button, shown when the genre has a parent, with an inline confirm step. - `isRetryableError` (transport) and `AUTH_DETAIL_ERROR_CODES`: one classification of which failures a retry can fix. +### Changed + +- `GenreDetailPanel`: the Ancestors section now ends on the selected genre (non-clickable) and draws every ancestor at the Family section's size; a long parent label in Family wraps instead of being truncated. Requires the next `@behindthemusictree/genre-tree-view` release (pending, catalog pin not bumped yet). + ### Fixed - A rejected token (`AuthRequired`, BAC4010) no longer re-sends the request up to three times, re-raising the popup and clearing the session each time: `resourceRetry` skips `AuthRequired`, not-found, forbidden, bad-request, client and auth-detail errors. diff --git a/packages/app-kit-ui/src/genre-tree/GenreDetailPanel.tsx b/packages/app-kit-ui/src/genre-tree/GenreDetailPanel.tsx index 47aae5d..3afa94f 100644 --- a/packages/app-kit-ui/src/genre-tree/GenreDetailPanel.tsx +++ b/packages/app-kit-ui/src/genre-tree/GenreDetailPanel.tsx @@ -152,7 +152,15 @@ export function useGenreDetailContent({ onSelectNode={selectGenre} /> ); - const ancestors = ; + const ancestors = ( + + ); return { name: detail.name, From 8e673b28352012741f2ad970e2cc00e9b3f4ad62 Mon Sep 17 00:00:00 2001 From: mignot Date: Thu, 12 Nov 2026 15:53:05 +0100 Subject: [PATCH 2/2] chore(deps): bump genre-tree-view to 10.0.0 Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 2 +- pnpm-lock.yaml | 14 +++++++------- pnpm-workspace.yaml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a41172..a9b7403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ easy to spot when bumping. ### Changed -- `GenreDetailPanel`: the Ancestors section now ends on the selected genre (non-clickable) and draws every ancestor at the Family section's size; a long parent label in Family wraps instead of being truncated. Requires the next `@behindthemusictree/genre-tree-view` release (pending, catalog pin not bumped yet). +- `GenreDetailPanel`: the Ancestors section now ends on the selected genre (non-clickable) and draws every ancestor at the Family section's size; a long parent label in Family wraps instead of being truncated. Requires `@behindthemusictree/genre-tree-view` 10.0.0 (catalog bumped). ### Fixed diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dea51f8..56aa0c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,8 +10,8 @@ catalogs: specifier: ^12.12.0 version: 12.12.0 '@behindthemusictree/genre-tree-view': - specifier: 9.2.1 - version: 9.2.1 + specifier: 10.0.0 + version: 10.0.0 '@behindthemusictree/ui': specifier: ^0.21.2 version: 0.21.2 @@ -45,7 +45,7 @@ importers: version: 12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@behindthemusictree/genre-tree-view': specifier: 'catalog:' - version: 9.2.1(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 10.0.0(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@behindthemusictree/ui': specifier: 'catalog:' version: 0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -152,7 +152,7 @@ importers: dependencies: '@behindthemusictree/genre-tree-view': specifier: 'catalog:' - version: 9.2.1(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 10.0.0(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) clsx: specifier: ^2.1.1 version: 2.1.1 @@ -344,8 +344,8 @@ packages: react: '>=18.0.0' react-dom: '>=18.0.0' - '@behindthemusictree/genre-tree-view@9.2.1': - resolution: {integrity: sha512-xM2+eIS/1T43pYhZFMKQDUvBqWwgnzOXJof64S5KoSC5P58snqXvztOpMWFSRWGJ70srR/NHJR5H5LsbDXeX5w==} + '@behindthemusictree/genre-tree-view@10.0.0': + resolution: {integrity: sha512-d/aToyeK28/Un12aNtVHbf2Uzm6Gmql8lYscWQVNYLpaGmMHAXet+etI/6BNJVb3vpny735Grk3x3/v3Z5wdYA==} peerDependencies: '@behindthemusictree/ui': ^0.21.2 react: '>=18.0.0' @@ -2312,7 +2312,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@behindthemusictree/genre-tree-view@9.2.1(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@behindthemusictree/genre-tree-view@10.0.0(@behindthemusictree/ui@0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@behindthemusictree/ui': 0.21.2(@behindthemusictree/brand@12.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) d3: 7.9.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c0df207..e3fb416 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,7 +4,7 @@ packages: catalog: "@behindthemusictree/brand": ^12.12.0 - "@behindthemusictree/genre-tree-view": "9.2.1" + "@behindthemusictree/genre-tree-view": "10.0.0" "@behindthemusictree/ui": ^0.21.2 allowBuilds: