Skip to content

feat: build invoice sharing system#148

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
lyon-1050:feature/issue-22-build-invoice-sharing-system
May 27, 2026
Merged

feat: build invoice sharing system#148
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
lyon-1050:feature/issue-22-build-invoice-sharing-system

Conversation

@lyon-1050
Copy link
Copy Markdown
Contributor

Here's what was done:

src/components/CopyLinkButton.tsx (new) — Client component that copies a URL to clipboard and shows "Copied!" for 2 seconds.

src/app/verify/[id]/page.tsx — Added generateMetadata() that fetches the invoice server-side and returns OG/Twitter meta tags with title, description (funded
%, amounts, status), and URL. Added in the header badges row.

src/app/invoice/[id]/layout.tsx (new) — Server layout wrapper for the invoice/[id] segment that exports generateMetadata() (needed because the page itself is
"use client"). Same metadata logic pointing to the /verify/[id] canonical URL.

src/app/invoice/[id]/page.tsx — Added next to the Print button, copying the /verify/[id] URL.

closes #22

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@lyon-1050 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
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@lyon-1050 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 c70feab into Stellar-split:main May 27, 2026
0 of 2 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

Development

Successfully merging this pull request may close these issues.

Build invoice sharing system

2 participants