-
Notifications
You must be signed in to change notification settings - Fork 13k
chore: Remove Omnichannel tech debt - 1 #35799
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
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35799 +/- ##
===========================================
+ Coverage 61.17% 61.19% +0.01%
===========================================
Files 3005 3153 +148
Lines 71387 74358 +2971
Branches 16342 16610 +268
===========================================
+ Hits 43670 45500 +1830
- Misses 24748 25808 +1060
- Partials 2969 3050 +81
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
apps/meteor/ee/app/livechat-enterprise/server/hooks/beforeRoutingChat.ts
Show resolved
Hide resolved
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
apps/meteor/ee/app/livechat-enterprise/server/hooks/beforeRoutingChat.ts
Show resolved
Hide resolved
apps/meteor/ee/app/livechat-enterprise/server/hooks/beforeRoutingChat.ts
Show resolved
Hide resolved
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
1 similar comment
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Proposed changes (including videos or screenshots)
Issue(s)
https://rocketchat.atlassian.net/browse/CTZ-47
Steps to test or reproduce
Further comments
This pull request focuses on addressing various TODOs and refactoring efforts within the Omnichannel component of the Rocket.Chat project. Key changes include:
Refactoring and Optimization:
Interface and Model Enhancements:
ILivechatDepartmentModelandILivechatRoomsModelinterfaces for enhanced flexibility and type safety.ILivechatVisitorsModelinterface for updating visitor departments.IUsersModelinterface by removing deprecated methods and adding new role-related functionality.Performance Improvements:
awaitcalls withPromise.allfor concurrent execution in department fallback logic.Code Organization and Maintainability:
Overall, this pull request aims to enhance the functionality, performance, and maintainability of the Omnichannel component by addressing existing TODOs and implementing significant refactoring efforts.
This pull request focuses on addressing various TODOs and refactoring tasks within the Omnichannel component of the Rocket.Chat project. Key changes include:
API and Logic Enhancements:
Code Refactoring and Optimization:
QueueManager.tsand refactored department management functions for better maintainability and performance.guests.ts,messages.ts, andsendTranscript.tsfor improved readability and efficiency.omni-users.ts.Concurrency and Efficiency Improvements:
Promise.allfor concurrent operations inbeforeRoutingChat.tsandguests.ts, optimizing asynchronous processes.Model and Interface Updates:
ILivechatDepartmentModel,ILivechatRoomsModel,ILivechatVisitorsModel, andIUsersModel, to enhance query capabilities and refine role-based queries.Miscellaneous:
These changes aim to improve code maintainability, performance, and functionality within the Omnichannel component.
This pull request, titled "chore: Fix some TODOs from Omnichannel - 1," targets the
developbranch from thechore/todobranch in the RocketChat/Rocket.Chat repository. The changes focus on refactoring and improving various aspects of the Omnichannel feature set.Key updates include:
API and Logic Enhancements:
Code Refactoring and Optimization:
Interface and Model Updates:
Miscellaneous Improvements:
These changes collectively aim to enhance the functionality, efficiency, and maintainability of the Omnichannel features within the Rocket.Chat application.