Skip to content

Feature/issues 442 444 446 447#455

Open
kossyomma-beep wants to merge 5 commits into
Stellar-split:mainfrom
kossyomma-beep:feature/issues-442-444-446-447
Open

Feature/issues 442 444 446 447#455
kossyomma-beep wants to merge 5 commits into
Stellar-split:mainfrom
kossyomma-beep:feature/issues-442-444-446-447

Conversation

@kossyomma-beep

Copy link
Copy Markdown

Summary

Implement four major features to enhance invoice management and user experience:

Features Implemented

#442 - Transaction Simulation Preview Before Signing

  • Add pre-signing transaction simulation modal with fee and balance change preview
  • Implement Stellar RPC integration for transaction simulation
  • Display status badges, estimated fees, affected accounts, and auth entries
  • Allow users to review before Freighter signing or cancel to revise

#444 - Invoice Creation from CSV Single-Row Import

  • Add CSV row import to invoice creation with paste and file upload modes
  • Implement automatic column detection with manual column mapping modal
  • Support pipe-delimited multi-recipient format: address1:percent1|address2:percent2
  • Persist column mappings to localStorage for repeat imports from same spreadsheet

#446 - Contact Group Bulk-Invite from Address Book

  • Add multi-select bulk invite modal for group membership
  • Integrate address book search with reputation badges
  • Support up to 50 contacts per action with success/failure summary
  • Create API endpoint for bulk group invitations with existing/pending user handling

#447 - Invoice QR Print Sheet Generator

  • Add QR print sheet component with A4 layout support
  • Implement 2×2, 3×3, and 2×6 grid layouts (up to 12 invoices per sheet)
  • Optional invoice title and amount labels
  • Add batch QR generation API endpoint and browser native print dialog

Files Changed

  • Components: 6 new components (TxSimulationPreview, CSVRowImporter, ColumnMappingModal, BulkInviteModal, QRPrintSheet, QRPrintSheetModal)
  • Libraries: 2 new modules (simulateTx, csvInvoiceSchema)
  • API Routes: 2 new endpoints (groups bulk invites, invoice QR batch)
  • Hooks: 1 new hook (usePaymentSubmission)

Testing

✅ All CI checks pass:

  • TypeScript compilation successful
  • ESLint passes
  • No merge conflicts

Related Issues

Closes #442
Closes #444
Closes #446
Closes #447

…gning

- Create lib/simulateTx.ts to wrap Stellar RPC's simulateTransaction
- Add TxSimulationPreview component to display simulation results
- Implement usePaymentSubmission hook for payment flow integration
- Display fee, balance changes, auth entries, and status badges
- Allow users to proceed or cancel before Freighter signing
- Create csvInvoiceSchema.ts with CSV parsing and validation
- Add ColumnMappingModal for flexible column mapping
- Implement CSVRowImporter component with paste and file upload
- Support pipe-delimited multi-recipient format
- Save column mappings to localStorage for reuse
- Create BulkInviteModal component with multi-select search
- Implement address book integration with reputation badges
- Add API route for bulk group invitations
- Support up to 50 contacts per action
- Display success/failure summary after submission
- Create QRPrintSheet component with A4 layout support
- Add QRPrintSheetModal with invoice selection and grid options
- Support 2x2, 3x3, and 2x6 grid layouts (up to 12 invoices)
- Optional labels for invoice title and amount
- Implement batch QR API endpoint for server-side generation
- Browser print dialog integration for A4 sheets
- Remove zod dependency from csvInvoiceSchema, use simple validation
- Fix QRPrintSheet component ref forwarding
- Export RPC_URL from stellar.ts for simulateTx module
- Fix type issues in CSVRowImporter recipients handling
- All CI checks now pass
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@kossyomma-beep 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.

@drips-wave

drips-wave Bot commented Jul 26, 2026

Copy link
Copy Markdown

@kossyomma-beep 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! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant