Skip to content

Conversation

@utkaka
Copy link
Contributor

@utkaka utkaka commented Aug 15, 2025

  • LiveKit related code was moved to a separate class to separate it from the general office logic (still in progress though).
  • There was a lot of duplicate code in Room.svelte and VideoPopup.svelte, which was moved to the new ParticipantsListView.svelte and ParticipantView.svelte components.
  • Added a participant's poor connection indicator.
image
  • Added reactions to meetings.
image
  • Added a notification that the user is left alone in the room. If they do not react to this notification, they will be automatically disconnected
image
  • Updated livekit-client to 2.15.5

utkaka added 12 commits August 13, 2025 11:03
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>
@utkaka utkaka marked this pull request as ready for review August 18, 2025 02:50
@utkaka utkaka requested a review from Copilot August 18, 2025 04:00
Copy link
Contributor

Copilot AI left a 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 LiveKitClient class
  • Refactored participant views into reusable components ParticipantsListView and ParticipantView
  • 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.

utkaka added 2 commits August 18, 2025 11:31
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
haiodo
haiodo previously approved these changes Aug 18, 2025
utkaka added 2 commits August 18, 2025 20:37
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>
@haiodo haiodo merged commit 74cfdbc into develop Aug 18, 2025
25 of 26 checks passed
@haiodo haiodo deleted the office-refactor-lk branch August 18, 2025 19:24
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.

3 participants