feat: escrow countdown, installment recalc, mark-as-paid, recurring c… - #648
Open
solarix-x wants to merge 1 commit into
Open
feat: escrow countdown, installment recalc, mark-as-paid, recurring c…#648solarix-x wants to merge 1 commit into
solarix-x wants to merge 1 commit into
Conversation
…alendar - Stellar-split#613 EscrowPanel: add live days/hours/minutes countdown timer that updates every minute; shows 'Release available' once deadline passes - Stellar-split#614 InstallmentPanel: accept optional `total` prop and proportionally recalculate installment amounts on change; rounding remainder assigned to last installment; flashes 'Updated' badge after each recalculation - Stellar-split#615 InstallmentTracker: add 'Mark as Paid' button on each unpaid row; confirmation dialog shown before persisting; optimistic local update shows green Paid badge; backed by new POST/GET API route at /api/invoices/[id]/installments/[index]/mark-paid - Stellar-split#616 RecurringWizard: add mini calendar preview (MiniCalendar + ScheduleCalendarPreview) showing next 6 payment dates highlighted; re-renders on frequency, end-date, or occurrences changes; visible on all 3 wizard steps
|
@solarix-x 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. |
|
@solarix-x 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! 🚀 |
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.
Title:
feat: escrow countdown, installment recalc, mark-as-paid, recurring calendar
Body:
Summary
Implements four UI improvements across the invoice and escrow flow.
#613 — Escrow release countdown timer (EscrowPanel)
ReleaseCountdowncomponent that shows days / hours / minutes remaininguntil the escrow release date
setInterval#614 — Installment amounts recalculate when invoice total changes (InstallmentPanel)
totalprop toInstallmentPaneltotalchanges, amounts are redistributed proportionally across all installments#615 — "Mark as Paid" button in InstallmentTracker
before committing
POST /api/invoices/[id]/installments/[index]/mark-paid) and the row immediately shows a green "✓Paid" badge
#616 — Upcoming payment dates on a mini calendar in RecurringWizard
MiniCalendarandScheduleCalendarPreviewcomponents inside the wizardTesting
Existing tests continue to pass. The new API route is covered by CSRF + auth guard logic
consistent with the rest of the codebase.
Closes #613
Closes #614
Closes #615
Closes #616