feat(wasteland): add Claims page with listClaims procedure and ClaimsClient#3150
Merged
kilo-code-bot[bot] merged 2 commits intoconvoy/wasteland-claims-page/93e6710c/headfrom May 9, 2026
Conversation
…Client UI Add listClaims tRPC procedure that filters browseWantedBoard to claimed items, optionally by rigHandle, and enriches each with pending PR info from DoltHub open pulls. Build full ClaimsClient with filter bar, stats strip, claims table, empty/error/loading states, and drawer integration. Extract shared STATUS_COLORS/PRIORITY_COLORS/TYPE_COLORS to status-colors.ts.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge All 3 issues flagged in the previous review have been resolved in the follow-up commit:
Files Reviewed (5 files)
Fix these issues in Kilo Cloud Reviewed by claude-sonnet-4.6 · 228,410 tokens |
- Dismiss toast on unmount in useSlowOperationToast cleanup - Guard claimed_by Link against null (render plain span instead) - Filter empty strings from claimedItemIds set
8dacb0f
into
convoy/wasteland-claims-page/93e6710c/head
2 checks passed
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.
Summary
listClaimstRPC procedure that filtersbrowseWantedBoardresults to claimed items, supports optionalrigHandleserver-side filter, and enriches each claim with pending PR information from DoltHub open pulls (kind: claim/done/unclaim)ClaimsClientstub with a full claims overview page including: page header with count badge and refresh, filter bar (search, rig handle dropdown, pending PR toggle, sort cycling), stats strip (total/pending PR/stale claims), claims table with status dots, item ID, title, priority/type chips, claimed-by links, time-ago labels, pending PR badges, and kebab menus, plus empty state with CTA, loading skeleton, and error state with retrySTATUS_COLORS,STATUS_DOT,PRIORITY_COLORS,TYPE_COLORSconstants toapps/web/src/lib/wasteland/status-colors.tsrouter.d.ts) withlistClaimsprocedure output typesPendingPrOutputandClaimRowOutputZod schemas to backend schemasVerification
pnpm --filter web typecheckpassespnpm --filter web lintpassespnpm --filter cloudflare-wasteland typecheckpassespnpm --filter cloudflare-wasteland lintpassespnpm formatappliedVisual Changes
N/A — new page, no before/after
Reviewer Notes
listClaimsprocedure callsbrowseWantedBoardinternally then filters, which means twoloadContextcalls (one in browse, one for PR enrichment). This is acceptable for now — the credential is cached in the DO.parseCommitSubjecton the PR title. If the title doesn't match thewlcommit subject pattern, it defaults to "claim" which is the most common case.