Skip to content

Join from any pasted invite and copy links without the clipboard API - #223

Open
Anuraj-dev wants to merge 2 commits into
mainfrom
feat/client-invite-paste-and-copy-fallback
Open

Anuraj-dev wants to merge 2 commits into
mainfrom
feat/client-invite-paste-and-copy-fallback

Conversation

@Anuraj-dev

Copy link
Copy Markdown
Owner

Problem

Pasting an invite into "Join" failed unless the input was a bare meeting code. The same happened with a full link, a spaced code, or a whole invite message. Copying the meeting link failed silently when the clipboard API was unavailable. The only fallback was a clipped toast.

What changes

  • parseMeetingCode (client/src/utils/meeting-code.ts) reads the code from:
    • links, including host-less lobby/ paths
    • spaced or wrapped codes, and codes with zero-width characters
    • multi-line invite text
  • Create and join errors are shown separately on the landing page.
  • copyText tries the clipboard first and falls back to execCommand. If both fail, ShareLinkFallback shows the link in a dialog so you can copy it by hand.
  • Fixed the race in transcript download, and edge cases in relative-time formatting.
  • The Mongo test hook timeout is now 180s, so a cold mongod download no longer times out.

Verification

  • npm run lint and typecheck: exit 0.
  • Tests: 297 server, 286 client, and 37 bot, all passing.
  • Build: exit 0.

parseMeetingCode extracts the code from full links, host-less lobby paths, spaced or wrapped codes, zero-width characters, and whole invite messages. Create and join errors now show separately, and relative times no longer mislabel edge cases.
…cript download race

When the clipboard is unavailable, a dialog shows the link for manual copying instead of a clipped toast. The transcript download no longer races the object-URL revoke. The Mongo test hook timeout is raised to 180s for cold binary downloads.
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
a-meet Ready Ready Preview Sep 30, 2026 5:21am UTC

This branch was successfully deployed

1 active deployment
Preview — a2f3cdb5 Deployed Sep 30, 2026 by vercel[bot]
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.

1 participant