fix(sdk): use searchOrganizationInvoices and value-based debounce#1748
fix(sdk): use searchOrganizationInvoices and value-based debounce#1748rohanchkrabrty wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (13)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe SDK adds a shared debounce hook and organization-invoice query hook. Billing invoice and payment-issue views now use centralized invoice fetching, pagination, filtering, loading, and error handling. Administrative organization views and token search switch to the shared debounce implementation. ChangesBilling SDK data flow
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage Report for CI Build 29088987012Coverage remained the same at 44.876%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
listInvoicesRPC withsearchOrganizationInvoices, backed by a new shareduseOrganizationInvoicesinfinite-query hook.PaymentIssue(gated onhasAccess) and slimbilling-viewdown to layout orchestration.useDebouncedValuehook (@raystack/frontier/hooks) that debounces the derived value in an effect, replacing the unsafe render-phaseusehooks-tsdebounce and Apsara'suseDebouncedState.