About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
hackermusic
2000.nyc
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
hackermusic
/
src
/
components
26 files
at
main
2000.nyc
·
The record you skipped to is the record in the middle of the screen
·
3w ago
7465fdc0
AlbumGrid.test.tsx
The gallery stops queueing thumbnails for the albums it flew past
3w ago
AlbumGrid.tsx
The gallery stops queueing thumbnails for the albums it flew past
3w ago
CommandLine.test.tsx
A count and its noun agree, wherever the count is printed
1mo ago
CommandLine.tsx
A count and its noun agree, wherever the count is printed
1mo ago
Counter.test.tsx
Initial commit: SolidJS 2.0 RC + TypeScript 7 + oxc toolchain + Nix flake
2mo ago
Counter.tsx
Initial commit: SolidJS 2.0 RC + TypeScript 7 + oxc toolchain + Nix flake
2mo ago
HarvestProgress.tsx
The app header is gone: a wordmark and a collection count were costing a row of chrome above the list, and the count was only ever information while the list was not there to be counted. The harvest keeps a voice — it lives in the toolbar's count gutter now, rendered only while the index is not ready, with the crawl line riding the toolbar's own bottom border rather than adding a second one — so a first crawl still says how far it has got, an unreachable server still says so in the danger hue, and both fall quiet once the rows below are the readout. The login card keeps its wordmark, which is the one place the name answers a question.
2mo ago
LadderAuditModal.test.tsx
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago
LadderAuditModal.tsx
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago
LibraryPlayback.test.tsx
A filter is a set, and the keys that walk a set walk the rows the reader left on screen
1mo ago
LibraryView.favorites.test.tsx
The heart follows the ear: `f` favorites the track you can hear, and an artist wears nothing.
2mo ago
LibraryView.test.tsx
The record you skipped to is the record in the middle of the screen
3w ago
LibraryView.tsx
The record you skipped to is the record in the middle of the screen
3w ago
LocateFromBar.test.tsx
The bar's art tile asked the *file* for a picture and the grid asked the *record*, so one album had a sleeve in one view and nothing in the other. Navidrome's `/api/song` reports artwork as a per-file boolean (`hasCoverArt`, `model/mediafile.go:50`) and marshals no album artwork at all (`EmbedArtPath` is `json:"-"`, `model/album.go:23`), which is how a record whose sleeve is a `cover.jpg` in its folder — or a picture embedded in some of its files and not others — ends up with tracks that report nothing while their own cell in the grid reports the sleeve: `grid.ts` has always asked `coverArt ?? albumId`, and `parseArtworkID` accepts a raw entity id and answers with that album's `CoverArtID` (`core/artwork/artwork.go:365-379`). The report was "Midnight Marauders shows no art in the player view while the grid clearly displays the album cover", and it was three bugs wearing one coat — the tile, the zoom and the accent, all reading `song.coverArt` alone, the accent least visible of the three and worst, because a bar that wears a record's sleeve while its colour comes from somewhere else is making two statements about one track. The question now has one answer, `trackCoverId` in `lib/library/cover.ts` — the file's own picture, else the record's id, else nothing — and the tile, the zoom and the accent all ask it, so a bar and a cell of one album cannot now disagree about whether that album has a sleeve. The record's id rather than a sibling track's, which is what Navidrome caches one picture under for the whole record and what the grid's cell already fetches, so the two views share one server entry and one browser entry instead of one per track.
2mo ago
LoginDialog.test.tsx
Runtime shape at the read boundaries: what the app stores is validated on the way in, and only there, because the write path is the volume and the scrub and re-checking a value the app built a moment ago would tax frames to guard against a mistake it did not make. What JSON.parse could not see is now caught: a stored host that is no longer the output of normalizeHost, which is the one stored string this app attaches a username and a salted md5 of the password to; a login draft stored as null, which threw while the dialog rendered, on the one screen with no way out of it; a repeat mode the player has never heard of, which matched no comparison and quietly stopped repeats; a cached songCount of "3", which never equals the length of the cache, so the library re-crawled every boot with no symptom anyone could name; and a proxy that answers /rest/ping with its own login page at a 200, which arrived as the JSON parser's TypeError instead of an error naming the endpoint. The song and album rows are deliberately unvalidated — parse() hands back a copy with the undeclared keys dropped, and those rows are identity-keyed by the virtualizer and carry provenance a hand-kept schema would silently lose — and the envelope keeps everything beside status unvalidated, with status wider than ok/failed, so a server that spells it oddly still gets to report its own failure. RepeatMode is read off REPEAT_ORDER, so a fifth mode cannot skip the schema. Costs 1.7kB gzipped on the main chunk, and each guard is covered by tests that fail without it.
2mo ago
LoginDialog.tsx
Runtime shape at the read boundaries: what the app stores is validated on the way in, and only there, because the write path is the volume and the scrub and re-checking a value the app built a moment ago would tax frames to guard against a mistake it did not make. What JSON.parse could not see is now caught: a stored host that is no longer the output of normalizeHost, which is the one stored string this app attaches a username and a salted md5 of the password to; a login draft stored as null, which threw while the dialog rendered, on the one screen with no way out of it; a repeat mode the player has never heard of, which matched no comparison and quietly stopped repeats; a cached songCount of "3", which never equals the length of the cache, so the library re-crawled every boot with no symptom anyone could name; and a proxy that answers /rest/ping with its own login page at a 200, which arrived as the JSON parser's TypeError instead of an error naming the endpoint. The song and album rows are deliberately unvalidated — parse() hands back a copy with the undeclared keys dropped, and those rows are identity-keyed by the virtualizer and carry provenance a hand-kept schema would silently lose — and the envelope keeps everything beside status unvalidated, with status wider than ok/failed, so a server that spells it oddly still gets to report its own failure. RepeatMode is read off REPEAT_ORDER, so a fifth mode cannot skip the schema. Costs 1.7kB gzipped on the main chunk, and each guard is covered by tests that fail without it.
2mo ago
LyricsColumn.tsx
A lyric is looked up by the track it belongs to, and sung beside the transport
1mo ago
PlayerBar.lyrics.test.tsx
A lyric is looked up by the track it belongs to, and sung beside the transport
1mo ago
PlayerBar.names.test.tsx
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago
PlayerBar.test.tsx
The enlarged sleeve keeps its corners to itself
3w ago
PlayerBar.tsx
The enlarged sleeve keeps its corners to itself
3w ago
TimeAuditModal.test.tsx
The load gets a flamegraph, and the four seconds stop being a rumour: `:timeaudit` draws every interval measured while a track was being loaded, on one axis, in lanes, with the overlaps kept. The console trace answers *what is this load waiting on*, which is the question a hung track asks; a track that loads successfully and slowly asks *where did the time go*, and a list of lines cannot answer that, because the stages of a load are not a list. The cover's palette is fetched while the stream is still arriving, the waveform fold runs between the decode and the first sample, and the detector's search sits on another thread for exactly as long as the main one draws the row — read as lines, that is a timetable with the concurrency flattened out of it, which is the exact thing that needs seeing.
2mo ago
TimeAuditModal.tsx
A count and its noun agree, wherever the count is printed
1mo ago
VirtualList.test.tsx
The record you skipped to is the record in the middle of the screen
3w ago
VirtualList.tsx
The record you skipped to is the record in the middle of the screen
3w ago
WaveformRow.tsx
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago