Skip to content

Conversation

@utkaka
Copy link
Contributor

@utkaka utkaka commented Sep 22, 2025

  • Extracted meetings related logic to meetings.ts
  • Add invite to the meeting button to the user popup
image
  • Add invite to the meeting button to the meeting controls
image
  • Add media controls to the widget
image

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>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13741

@utkaka utkaka requested a review from Copilot September 22, 2025 08:35
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 meeting creation and management by extracting meeting-related logic into dedicated controller and client classes, improving code organization and separation of concerns.

Key changes include:

  • Introduction of MeetingController and LoveClient for centralized meeting operations
  • Simplified LiveKitClient focused solely on media session management
  • Removal of redundant functions and state management logic from utils

Reviewed Changes

Copilot reviewed 39 out of 40 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
plugins/love-resources/src/utils.ts Removed meeting connection logic and duplicated functions, simplified exports
plugins/love-resources/src/meetingController.ts New controller managing meeting lifecycle operations and participant interactions
plugins/love-resources/src/loveClient.ts New client class for Love service API interactions
plugins/love-resources/src/liveKitClient.ts Refactored to focus on media session management with improved event handling
plugins/love-resources/src/components/meeting/invites/InviteEmployeeButton.svelte New component for employee invitation functionality
Comments suppressed due to low confidence (2)

plugins/love-resources/src/utils.ts:309

  • The parameters _id and _data use underscore prefixes suggesting they are unused. If these parameters are truly unused, consider removing them or renaming them without underscores if they serve a purpose.
export async function createMeeting (
  client: TxOperations,
  _id: Ref<Event>,
  space: Space,
  _data: Data<Event>,
  store: Record<string, any>,
  phase: DocCreatePhase
): Promise<void> {

plugins/love-resources/src/utils.ts:337

  • Similar to the previous function, parameters _id and _data use underscore prefixes suggesting they are unused. Consider removing them or renaming them appropriately.
export async function createMeetingSchedule (
  client: TxOperations,
  _id: Ref<Schedule>,
  space: Space,
  _data: Data<Schedule>,
  store: Record<string, any>,
  phase: DocCreatePhase
): Promise<void> {

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>
@utkaka utkaka marked this pull request as ready for review September 23, 2025 03:43
@haiodo haiodo merged commit 2af4a50 into develop Sep 24, 2025
15 checks passed
@haiodo haiodo deleted the office-refactor-meeting-creation branch September 24, 2025 06:58
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