-
Notifications
You must be signed in to change notification settings - Fork 7.9k
fix(recent-list): prefer conference URL on CONFERENCE_WILL_LEAVE #17283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Subhajit578
wants to merge
2
commits into
jitsi:master
Choose a base branch
from
Subhajit578:fix/recent-list-leave-url-excalidraw-types
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15
−28
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /** | ||
| * Ensures augmentation merges with the real `@jitsi/excalidraw` typings (see | ||
| * TypeScript handbook: module augmentation). | ||
| */ | ||
| import type {} from '@jitsi/excalidraw'; | ||
|
|
||
| declare module '@jitsi/excalidraw' { | ||
| interface ExcalidrawAppProps { | ||
| jwt?: string; | ||
| meetingDetails?: { | ||
| jwt: string; | ||
| roomJid: string; | ||
| sessionId: string; | ||
| }; | ||
| storageBackendUrl?: string; | ||
| } | ||
| } | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this and how is it related to the PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm run tsc:web was failing after I pulled the recent changes. I looked into it and it was a typing mismatch.
Deatiled Problem - Whiteboard.tsx and WhiteboardWrapper.tx pass meetingDetails, jwt and strogareBackendUrl to Excalidraw Prop but those props are not declared in ExcalidrawAppProps which causes this. This is just a local typescript module augmentation to make the existing runtime usage match the package typings. So it is not related to the fix - recent-list behaviour fix so I can remove it if needed and work on that separately and raise a pr with the long term fix as I said in the earlier comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @saghul, could you take a look when you get a chance? Happy to drop the whiteboard typing change from this PR and open a separate one PR for it if that's preferred.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I was getting the issue because I was using a older node version when I updated it it ran perfectly fine. So I have removed [jitsi-excalidraw-augment.d.ts]which was introduced by me to fix the type mismatch error. Could you please review the changes when you get the time. Thank You!