feat: implement features #486-489 (expiry picker, wallet disconnect, recipient limit, tx hash) - #538
Merged
Conversation
|
@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. |
|
@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! 🚀 |
6 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
Implements 4 key features for invoice management, wallet security, recipient limits, and transaction display:
Changes
#486 — Invoice Expiry Date-Time Picker with Timezone Support
ExpiryDatePicker.tsxcomponent with native datetime-local input and IANA timezone selectorExpiryDisplay.tsxto show expiry in viewer's local timezone with Intl.DateTimeFormatuseInvoiceForm.tshook to manage form state and UTC timestamp conversion#487 — Wallet Disconnect Confirmation Modal
DisconnectModal.tsxwith FocusTrap for keyboard accessibility (Tab, Escape)WalletMenu.tsxdropdown with "View on Explorer" and "Disconnect" optionsuseWallet.tshook#488 — Recipient Count Limit Enforcement UI
MAX_RECIPIENTS = 10constant tostellar.tsuseSplitCalculator.tsto exposecanAddRecipientboolean andrecipientCountSplitCalculator.tsxto disable "Add Recipient" button when limit reached with tooltip#489 — Transaction Hash Display with Truncation, Copy, and Expand
TxHash.tsxcomponent with truncated display (first 8 + last 6 chars)Notes
Closes #486, Closes #487, Closes #488, Closes #489