Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `@behindthemusictree/genre-tree-view` 10.0.0 (catalog bumped).

### 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.
Expand Down
10 changes: 9 additions & 1 deletion packages/app-kit-ui/src/genre-tree/GenreDetailPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,15 @@ export function useGenreDetailContent<O extends CriteriaOverview>({
onSelectNode={selectGenre}
/>
);
const ancestors = <GenreNodeAncestors ancestorNodes={view.ancestorNodes} onSelectNode={selectGenre} />;
const ancestors = (
<GenreNodeAncestors
node={view.node}
fill={view.fill}
textColor={view.textColor}
ancestorNodes={view.ancestorNodes}
onSelectNode={selectGenre}
/>
);

return {
name: detail.name,
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading