Repository navigation
Conversation
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 46 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Quick104
left a comment
There was a problem hiding this comment.
🤖 Claude Code (claude-opus-5-5)
Three findings on this head. I'm fixing all three in a merge of main on this branch, so there's no need to change them yourself. The branch also conflicts with main: the i18n work (#868–#916) moved these labels into the translation catalog, and #979 replaced InlineLibraryCollectionCard with the shared CollectionPosterCard. The merge carries the status handling onto both, with the new text in the catalog.
Main moved the collection count labels into the translation catalog and replaced the inline library card with CollectionPosterCard. The status handling now runs on both, with "Count unavailable" in the catalog. A missing item_count_status keeps today's rendering, including "Smart" for an uncounted 0; "available" makes the count exact; any other status reads "Count unavailable". Drop the unread count_availability capability and the client-side most_items group sort, which is a separate change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Silo-Server/silo-server#2728 now also sends 🤖 Claude Code in T3 Code (claude-opus-5-5) |
|
This PR is no longer needed: Silo-Server/silo-server#2728, the server change that was going to send The PR has no 🤖 Claude Code in T3 Code (claude-opus-5-5) |
Problem
Android drops collection count availability, so a failed count can appear as a stale number. This change shows Count unavailable while keeping the collection accessible.
Related issue: Silo-Server/silo-server#2722
Validation tasks: changes #5 C1, C4, C7; changes #6 C1, C4, C7
Approach
Preserve
item_count_statusacross personal and library collection models. Explicit unavailable or unknown status suppresses the number; omitted status preserves older-server behavior. Available zero displays as zero, including on TV personal cards. Most-items sorting puts unavailable counts after known counts.Membership requests and navigation remain independent of summary counts and capability loading. TV library cards continue to omit summary counts, and the TV detail count comes from actual visible members after paging finishes. Membership and saved collections remain uncapped.
Validation
Evidence
The evidence page identifies source commits, fixture APKs, normal builds and the limits of component verification. Phone, tablet and foldable source is unchanged by the final TV-only correction.
Evidence: https://evidence.siloserver.org/r/silo-android/collection-count-availability-r2/
Risks
Status handling works without a capability fetch. Release should coordinate with the server's additive contract. Authenticated integration and server-side definition repair still need release validation.
Server contract and budget fix: Silo-Server/silo-server#2728. Apple parity: Silo-Server/silo-apple#844. User manual: Silo-Server/siloserver.org#259, draft docs PR Silo-Server/siloserver.org#260. No merge or ongoing PR monitor is part of this batch.
Checklist
AI Disclosure
Note
Handle unavailable collection item counts and preserve catalog totals
CollectionCountState(Legacy, Exact, Unavailable) derived from the new nullableitem_count_statusfield onCollectionandLibraryCollectionmodels, with only the exact string"available"mapping to Exact and null mapping to Legacy.item_count_status, and the status is preserved through allSectionApiconversion paths. Adds wire, mapping, and detail-viewmodel tests, plus 17 new locale string catalogs.0instead of the smart-collection label, and count values marked unavailable are suppressed in count lines; TV subtitles keep the plain collection kind for Legacy counts.Macroscope summarized f8fc16f.