Repository navigation
Join from any pasted invite and copy links without the clipboard API - #223
Open
Anuraj-dev wants to merge 2 commits into
Open
Anuraj-dev wants to merge 2 commits into
Anuraj-dev wants to merge 2 commits into
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
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:lobby/pathscopyTexttries the clipboard first and falls back toexecCommand. If both fail,ShareLinkFallbackshows the link in a dialog so you can copy it by hand.mongoddownload no longer times out.Verification
npm run lintandtypecheck: exit 0.