Skip to content
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

refactor: Replace proxy functions from LivechatTyped class with direct calls #33110

Merged
merged 14 commits into from
Aug 22, 2024

Conversation

KevLehman
Copy link
Contributor

@KevLehman KevLehman commented Aug 20, 2024

Proposed changes (including videos or screenshots)

  • Removes findGuest, replaced with a direct model call
  • Removed enabled, replaced with calls to settings.get
  • Removed getNextAgent, replaced with a direct call to RoutingManager
  • Removed setLastChat, replaced with direct model call
  • Removed sendTranscript, replaced with direct lib call (as this func was moved to its own file some days ago)

Issue(s)

https://rocketchat.atlassian.net/browse/CORE-648

Steps to test or reproduce

Further comments

Copy link
Contributor

dionisio-bot bot commented Aug 20, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Aug 20, 2024

⚠️ No Changeset found

Latest commit: 80fc56f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.38%. Comparing base (b213181) to head (80fc56f).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #33110   +/-   ##
========================================
  Coverage    59.38%   59.38%           
========================================
  Files         2547     2547           
  Lines        63238    63238           
  Branches     14224    14224           
========================================
  Hits         37557    37557           
  Misses       22974    22974           
  Partials      2707     2707           
Flag Coverage Δ
unit 75.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@KevLehman KevLehman marked this pull request as ready for review August 21, 2024 15:18
@KevLehman KevLehman requested review from a team as code owners August 21, 2024 15:18
@KevLehman KevLehman requested a review from ggazzo August 21, 2024 18:31
@KevLehman KevLehman added the stat: QA assured Means it has been tested and approved by a company insider label Aug 21, 2024
@KevLehman KevLehman added this to the 6.13 milestone Aug 22, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Aug 22, 2024
@KevLehman KevLehman modified the milestones: 6.13, 6.12 Aug 22, 2024
@kodiakhq kodiakhq bot merged commit c225451 into develop Aug 22, 2024
46 checks passed
@kodiakhq kodiakhq bot deleted the chore/move-to-service-omni branch August 22, 2024 23:20
gabriellsh added a commit that referenced this pull request Sep 2, 2024
…ove/threadMetrics

* 'develop' of github.com:RocketChat/Rocket.Chat: (49 commits)
  feat: add `sidepanelNavigation` to Feature preview list (#33156)
  refactor: Realtime Monitoring Counters to TS (#33182)
  fix: restore tooltips to units Multiselect (#33174)
  test: Add unit test for RoomMenu options (#32891)
  chore: remove notifyListener call that was causing startup issues (#33154)
  fix: Multi-step modals closing unexpectedly (#33158)
  Revert "refactor: Realtime Monitoring Counters to TS" (#33170)
  refactor: Realtime Monitoring Counters to TS (#33166)
  refactor: Uses `source` instead of `room` to render the `OmnichannelRoomIcon` (#33118)
  refactor: Realtime Monitoring Overviews to TS (#33167)
  test: Add e2e tests for teams multi-step modals (#33168)
  feat: add Advanced settings accordion to `EditRoomInfo` (#33114)
  chore: Revive Livechat Storybook (#33137)
  refactor: Realtime `Doughnout Charts` to TS (#33092)
  feat: create contact endpoint (#32693)
  chore: remove left streaming code (#33039)
  fix: show only relevant userInfoActions for mentioned non-members (#31525)
  feat: Setting for enabling files encryption and fix whitelist media types stopping E2EE uploads (#33003)
  refactor: Replace proxy functions from `LivechatTyped` class with direct calls (#33110)
  Revert "fix: Inconsistent Markdown Formatting in Custom Status Field" (#33127)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants