-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Office: refactor meeting creation #9905
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>
|
Connected to Huly®: UBERF-13741 |
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 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
MeetingControllerandLoveClientfor centralized meeting operations - Simplified
LiveKitClientfocused 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
_idand_datause 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
_idand_datause 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.
plugins/love-resources/src/components/meeting/controls/RecordingButton.svelte
Outdated
Show resolved
Hide resolved
plugins/love-resources/src/components/meeting/controls/RecordingButton.svelte
Outdated
Show resolved
Hide resolved
plugins/love-resources/src/components/RoomLanguageSelector.svelte
Outdated
Show resolved
Hide resolved
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>
Uh oh!
There was an error while loading. Please reload this page.