Description
Entering Stellar addresses manually is tedious and error-prone because there is no suggestion mechanism drawing on previously used addresses. An autocomplete dropdown on recipient address fields should surface recently used addresses as the user types.
Technical Context
src/components/invoice/RecipientAddressInput.tsx (new) uses @headlessui/react Combobox backed by src/hooks/useRecentAddresses.ts, which reads a capped list from localStorage keyed by the connected wallet's public key. Suggestions are filtered by the typed prefix using a simple startsWith check. On selection, the full address is inserted into the react-hook-form field managed by src/hooks/useInvoiceForm.ts. A maximum of 20 recent addresses are retained.
Acceptance Criteria
Description
Entering Stellar addresses manually is tedious and error-prone because there is no suggestion mechanism drawing on previously used addresses. An autocomplete dropdown on recipient address fields should surface recently used addresses as the user types.
Technical Context
src/components/invoice/RecipientAddressInput.tsx(new) uses@headlessui/reactComboboxbacked bysrc/hooks/useRecentAddresses.ts, which reads a capped list fromlocalStoragekeyed by the connected wallet's public key. Suggestions are filtered by the typed prefix using a simplestartsWithcheck. On selection, the full address is inserted into thereact-hook-formfield managed bysrc/hooks/useInvoiceForm.ts. A maximum of 20 recent addresses are retained.Acceptance Criteria