Summary
Investors have no quick way to share a specific invoice with others. A share button on the invoice detail page that copies the full URL to the clipboard and shows a 'Copied!' confirmation would make it easy to circulate investment opportunities.
Scope
- Add a share icon button to the invoice detail page header
- On click, copy the full invoice URL to the clipboard using the Clipboard API
- Replace the icon with a 'Copied!' label for 2 seconds, then revert
- Fall back to a
window.prompt with the URL pre-filled if the Clipboard API is unavailable
- Do not render the button in SSR context (
window undefined)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Investors have no quick way to share a specific invoice with others. A share button on the invoice detail page that copies the full URL to the clipboard and shows a 'Copied!' confirmation would make it easy to circulate investment opportunities.
Scope
window.promptwith the URL pre-filled if the Clipboard API is unavailablewindowundefined)Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram