Repository navigation
Closed
Labels
api-v2API v2 / Huma program (epic silo-server#135)enhancementNew feature or requestimpact: polishAnnoyance, cosmetic, or nice-to-havepriority: P2Limited scope, workaround exists, or polishtriagedHigh-confidence review completed; does not mean fixed, validated, or accepted for release.
Description
Summary
The server now reports where each letter starts in a title-ordered library, so a client can jump within the full list instead of filtering it. The web app uses this for its A–Z bar (Silo-Server/silo-server#2346). The phone browse screen's A–Z selection (selectNamePrefix in BrowseViewModel) sets name_prefix. That filters the grid down to one letter and hides the rest of the library. #28 asks for a letter-index fast scroll on phone grids, and #26 for an A–Z destination on Android TV. This issue covers the server data both can use.
What to change
- When
getCatalogSearchCapabilitiesreportsletter_index: trueand the browse is sorted by title, callPOST /api/v2/catalog/letterswith the browse'slibrary_id,type,match,groups, andorder. The response lists each letter that has titles, with itscountand the zero-basedpositionof its first title. - Choosing a letter scrolls the grid to
position, loading that window withseekonqueryCatalogItems, instead of applyingname_prefix.totalis the exact list size. - Grey out letters missing from the response. Titles file under their sort title ("The Hobbit" under H), accented initials fold to their base letter, and digits and symbols go under
#. - Keep the
name_prefixfilter for servers that don't reportletter_index.
Reference
- Contract:
docs/catalog-api.md→ Letter index in silo-server. - Web behavior: feat(web): jump to a letter in title-ordered library browse silo-server#2346 (Closes [feature] A-Z jump bar on web library grids silo-server#2130).
- Related: UI polish: letter-index scroll, view density, spoiler blur, thumbhash placeholders, logo-art heroes #28, Android TV: library sub-destinations (Genres / A-Z / Collections) + cascading selector #26.
AI disclosure
Drafted by Claude Code (claude-opus-5-5) from the server change and the app's current browse code, at a maintainer's direction.
Metadata
Metadata
Assignees
Labels
api-v2API v2 / Huma program (epic silo-server#135)enhancementNew feature or requestimpact: polishAnnoyance, cosmetic, or nice-to-havepriority: P2Limited scope, workaround exists, or polishtriagedHigh-confidence review completed; does not mean fixed, validated, or accepted for release.
Activity
feat(browse): jump to a letter in title-ordered library grids on phon…