Repository navigation
feat(invoice): add status timeline, sentiment, payer wallet health and reconciliation panels - #864
Merged
Kingsman-99 merged 1 commit intoSep 28, 2026
Conversation
…d reconciliation panels Closes: Stellar-split#820 Closes: Stellar-split#823 Closes: Stellar-split#825 Closes: Stellar-split#832
|
@studiomonkeyx is attempting to deploy a commit to the kingsman-99's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@studiomonkeyx Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
4 tasks
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
Adds four mobile-responsive invoice insight panels to the invoice detail page, each backed by a pure, tested helper:
InvoiceSentiment,analyzeInvoiceSentiment): a positive, neutral or negative rating based on funding progress, number of unique payers, deadline pressure and final status.AdvancedStatusTimeline,buildStatusStages): Created → Funding → Fully Funded → Released/Refunded, with each stage marked complete, current, upcoming or skipped. Vertical on mobile, horizontal on larger screens.PayerWalletHealth,computePayerHealth): totals, payment count and share of funds for each payer, and flags any wallet holding more than 50% of the funds.ReconciliationPanel,reconcileInvoice): compares the recipient target, the on-chain funded amount and the recorded payments, and reports outstanding balance, overpayment, ledger discrepancies and invalid payments.Closes: #820
Closes: #823
Closes: #825
Closes: #832
Validation
npx vitest run src/__tests__/InvoiceInsights.test.tsx: 15/15 passtsc --noEmit: no errors in changed files (9 errors already exist onmain, same count before and after)next lint: new files are clean.src/app/invoice/[id]/page.tsxstill has two lint errors already onmain(AccessCodeGateandLinkare used without being imported). They are unrelated to this change and were left untouched.