Repository navigation
web: show Hot Cue Banks in the library, read-only - #87
Merged
Merged
Conversation
Imported rekordbox Hot Cue Banks were only visible on a deck. Show them in the web UI and API as decks browse them.
- GET /api/hotcuebanks lists the live folders and banks (parent_id links the tree, seq orders siblings) with each bank's track count. GET /api/hotcuebanks/{id}/tracks lists a bank's tracks in membership order, as a deck does: duplicates kept, content not in the library left out, each with its position, cue in milliseconds, loop end (only for loops), hot-cue palette colour (color_id) and comment. Both are in the OpenAPI spec under a new Hot Cue Banks tag.
- The library sidebar gets a HOT CUE BANKS section with the folder tree. Selecting a bank shows its tracks with a colour column like rekordbox's (the cue's palette colour, or the default green for a cue and orange for a loop, plus a loop marker), and the pad each position maps to (positions 1-8 are pads A-H, as in rekordbox and on the deck), the cue and loop end, and the comment; the text filter narrows it, and a row opens the track drawer. Tracks whose file is missing on this machine are listed dimmed and marked, since decks aren't sent them, and the bank's track count leaves them out. Nothing is editable.
vynulldev
force-pushed
the
hotcue-bank-ui
branch
from
October 15, 2026 21:48
56f6304 to
a814ab7
Compare
vynulldev
marked this pull request as ready for review
October 15, 2026 21:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Imported rekordbox Hot Cue Banks were only visible on a deck. This shows them in the web UI and the API, as decks browse them. Builds on #86 (Hot Cue Bank support).
GET /api/hotcuebankslists the live folders and banks (parent_idlinks the tree,seqorders siblings) with each bank's track count.GET /api/hotcuebanks/{id}/trackslists a bank's tracks in membership order, as a deck does: duplicates kept, content not in the library left out. Each entry has its position, cue in milliseconds, loop end (only for loops), hot-cue palette colour (color_id, 0 when unset) and comment. A folder or unknown ID returns 404. Both endpoints are in the OpenAPI spec under a new Hot Cue Banks tag.A test covers both endpoints (tree, track count, ordering, duplicates, unresolved content, loop end, 404s). The UI was checked in headless Chromium against the link-spec Hot Cue Bank fixture: tree order, the Alpha Bank's ten tracks with pads A-H on positions 1-8, filtering, the empty bank, and switching back to the collection, with no page errors.
Hardware testing
Checklist
go build ./...,go vet ./..., andgo test ./...passgofmt -l .is cleanGPL-3.0-or-later)