-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Office: refactor livekit logic #9679
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
Conversation
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
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.
Pull Request Overview
This PR refactors the LiveKit video conferencing integration by extracting connection management into a dedicated LiveKitClient class, improving code organization and adding several meeting experience enhancements. Key changes include separating LiveKit logic from general office functionality, eliminating duplicate code between components, and introducing user experience improvements for meetings.
- Centralized LiveKit connection management through a new
LiveKitClientclass - Refactored participant views into reusable components
ParticipantsListViewandParticipantView - Added meeting enhancements: poor connection indicators, emoji reactions, and auto-disconnect notification when alone
Reviewed Changes
Copilot reviewed 40 out of 42 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/love-resources/src/liveKitClient.ts | New LiveKit client class for centralized connection management and meeting lifecycle |
| plugins/love-resources/src/utils.ts | Refactored to use centralized LiveKit client, removed duplicate logic |
| plugins/love-resources/src/components/meeting/ParticipantView.svelte | New reusable participant view component with connection quality indicators |
| plugins/love-resources/src/components/meeting/ParticipantsListView.svelte | New component for managing participant lists across different views |
| plugins/love-resources/src/components/meeting/ScreenSharingView.svelte | New dedicated screen sharing component |
| plugins/love-resources/src/components/meeting/Reaction.svelte | New reaction animation component for emoji reactions |
| plugins/love/src/plugin.ts | Added new sound asset for meeting end notifications |
| plugins/love-resources/package.json | Updated livekit-client dependency to 2.15.5 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com> # Conflicts: # common/config/rush/pnpm-lock.yaml
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.