Repository navigation
feat: bulk ops, advanced sort, creator messaging, duplicate detection - #841
Merged
Kingsman-99 merged 1 commit intoSep 28, 2026
Conversation
…r-split#810 Stellar-split#811 Stellar-split#812 Stellar-split#813) Stellar-split#810 — Bulk invoice operations (export, print, archive) - Add src/lib/bulkInvoiceOps.ts with exportInvoicesBulk (CSV + JSON), printInvoicesBulk (opens print-ready window), archiveInvoicesBulk - Extend BulkActionBar with a Print button and an Export dropdown that lets the user choose CSV or JSON format Stellar-split#811 — Advanced sort options for invoice lists - Extend DashboardSortId and SORT_OPTIONS in dashboardFilters.ts with 7 new sort keys: deadline-farthest, funded-pct-desc/asc, recipients-desc/asc, creator-asc/desc - Export SORT_GROUPS for grouped UI rendering - Add AdvancedSortSelect component (grouped <optgroup> select) - Wire AdvancedSortSelect into DashboardClient in place of plain <select> Stellar-split#812 — Creator messaging system for payer communication - Add src/lib/creatorMessages.ts: postMessage, loadMessages, markThreadRead, countUnread, deleteMessage, resolveRole, formatMessageTime - Add CreatorMessagePanel component with collapsible panel, auto-scroll, unread badge, role labels, and delete-own-message support Stellar-split#813 — Invoice duplicate detection and merge - Add src/lib/invoiceDuplicates.ts: invoiceFingerprint, findExactDuplicates, findFuzzyDuplicates, findAllDuplicates, mergeInvoiceGroup, undoMerge, filterMerged, describeDifferences - Add DuplicateMergeModal component with per-group expand/collapse, diff summary, strategy selector, and undo support
|
@ice-man123 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. |
|
@ice-man123 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.
Summary
This PR implements four features from the backlog, closing issues #810, #811, #812, and #813.
#810 — Bulk invoice operations (export, print, archive)
New:
src/lib/bulkInvoiceOps.tsexportInvoicesBulk(invoices, format)— downloads selected invoices as CSV or JSONprintInvoicesBulk(invoices)— opens a formatted, print-ready window with a Print / Save as PDF buttonarchiveInvoicesBulk/unarchiveInvoicesBulk— wrappers over the existing archive libUpdated:
src/components/BulkActionBar.tsx#811 — Advanced sort options for invoice lists
Updated:
src/lib/dashboardFilters.tsDashboardSortIdvalues:deadline-farthest,funded-pct-desc/asc,recipients-desc/asc,creator-asc/descSORT_OPTIONSentries carry agrouptag; exportedSORT_GROUPSfor grouped renderingNew:
src/components/invoices/AdvancedSortSelect.tsx<select>with<optgroup>sections: Date, Deadline, Amount, Funding, Recipients, CreatorUpdated:
src/components/DashboardClient.tsxAdvancedSortSelectin place of the previous plain<select>#812 — Creator messaging system for payer communication
New:
src/lib/creatorMessages.tspostMessage,loadMessages,markThreadRead,countUnread,deleteMessage,resolveRole,formatMessageTimeNew:
src/components/CreatorMessagePanel.tsx#813 — Invoice duplicate detection and merge
New:
src/lib/invoiceDuplicates.tsinvoiceFingerprintmergeInvoiceGroup(group, strategy)— hides duplicates in localStorage; strategies: keep-newest, keep-oldest, keep-largestundoMerge,filterMerged,describeDifferencesNew:
src/components/DuplicateMergeModal.tsxChecklist
anycaststasks.mdcommittedCloses #810
Closes #811
Closes #812
Closes #813