Skip to content

feat: implement features #486-489 (expiry picker, wallet disconnect, recipient limit, tx hash) - #538

Merged
Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
Mimah97:feature/issues-486-489
Jul 29, 2026
Merged

feat: implement features #486-489 (expiry picker, wallet disconnect, recipient limit, tx hash)#538
Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
Mimah97:feature/issues-486-489

Conversation

@Mimah97

@Mimah97 Mimah97 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements 4 key features for invoice management, wallet security, recipient limits, and transaction display:

Changes

#486 — Invoice Expiry Date-Time Picker with Timezone Support

  • Created ExpiryDatePicker.tsx component with native datetime-local input and IANA timezone selector
  • Created ExpiryDisplay.tsx to show expiry in viewer's local timezone with Intl.DateTimeFormat
  • Created useInvoiceForm.ts hook to manage form state and UTC timestamp conversion
  • Validates past dates inline with error messaging
  • Auto-detects browser timezone on first render

#487 — Wallet Disconnect Confirmation Modal

  • Created DisconnectModal.tsx with FocusTrap for keyboard accessibility (Tab, Escape)
  • Created WalletMenu.tsx dropdown with "View on Explorer" and "Disconnect" options
  • Integrates with existing useWallet.ts hook
  • Disconnect completes in <500ms with proper cleanup and navigation to home

#488 — Recipient Count Limit Enforcement UI

  • Added MAX_RECIPIENTS = 10 constant to stellar.ts
  • Updated useSplitCalculator.ts to expose canAddRecipient boolean and recipientCount
  • Updated SplitCalculator.tsx to disable "Add Recipient" button when limit reached with tooltip
  • Added "N / MAX_RECIPIENTS" counter display below recipient list

#489 — Transaction Hash Display with Truncation, Copy, and Expand

  • Created TxHash.tsx component with truncated display (first 8 + last 6 chars)
  • "Show full" toggle expands inline to complete hash
  • Copy button and Stellar Expert link on expanded view
  • Uses font-mono and break-all for proper text display

Notes

  • Code-only delivery: no install/build/test/scripts run during implementation
  • Committer: Jemimah Yero (Mimah97)
  • All components follow existing project patterns and dark theme styling
  • No additional dependencies required

Closes #486, Closes #487, Closes #488, Closes #489

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Mimah97 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 28, 2026

Copy link
Copy Markdown

@Mimah97 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

@Kingsman-99
Kingsman-99 merged commit 2bae61b into Stellar-split:main Jul 29, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants