Invoice form UX enhancements (#494-#497) - #539
Merged
Kingsman-99 merged 5 commits intoJul 29, 2026
Merged
Conversation
…lar-split#494) - Add 'Split equally' button to distribute amounts evenly among recipients - Implement undo functionality to restore previous distribution - Button disabled when fewer than 2 recipients - Undo button appears after split and clears previous state - Add calculateEqualSplit utility to split calculator - Accessible via aria-label with WCAG compliance
…tellar-split#495) - Create FormField component for consistent error display - Show errors on field blur and during typing after first blur - Use aria-describedby and aria-invalid for accessibility - Display red border and error icon for invalid fields - Add field validation for token address and deadline - Errors clear immediately when field becomes valid - Improve UX by showing specific validation feedback inline
- Create useUnsavedChanges hook to track form dirty state - Create UnsavedChangesModal with accessible dialog markup - Intercept navigation attempts and show confirmation - Trigger native beforeunload dialog on browser tab close - Only show modal after user interacts with form - 'Discard' proceeds with navigation and clears draft - 'Keep editing' returns focus to form without navigation - Add back button to header with protection
…it#497) - Create FeeTooltip component with fee breakdown table - Implement useNetworkFeeBreakdown hook to fetch current fees - Add API route /api/fees to query Horizon fee_stats endpoint - Display tooltip on hover/focus for amount fields in review step - Show base fee and resource fee with stroops and XLM conversion - Include refresh button to re-fetch fee stats - Keyboard accessible via Tab and Escape - Show 'Fee breakdown unavailable' on fetch errors - Tooltip displays fees in both stroops and XLM denominations
|
@Jambox11 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. |
|
@Jambox11 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
Implements four critical invoice creation form improvements:
Changes
#494 — Equal-Distribution One-Click Button for Split Builder
#495 — Inline Field-Level Error Messages with Accessible Markup
#496 — Invoice Draft Discard Confirmation Dialog
#497 — Network Fee Breakdown Tooltip on Amount Fields
Notes
Closes #494, Closes #495, Closes #496, Closes #497