Skip to content

chore: Migrate notifyUsersOnMessage to TypeScript - #31877

Merged
kodiakhq[bot] merged 22 commits into
developfrom
refactor/migrate-notifyUsersOnMessage-to-typescript
Mar 7, 2024
Merged

chore: Migrate notifyUsersOnMessage to TypeScript#31877
kodiakhq[bot] merged 22 commits into
developfrom
refactor/migrate-notifyUsersOnMessage-to-typescript

Conversation

@ricardogarim

Copy link
Copy Markdown
Member

Proposed changes (including videos or screenshots)

Migrates notifyUsersOnMessage file from JavaScript to TypeScript and rename the callback named beforeGetMentions to beforeGetTeamMentions to make it aligned with function's actions.

@ricardogarim
ricardogarim requested a review from a team March 4, 2024 12:02
@changeset-bot

changeset-bot Bot commented Mar 4, 2024

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2781ec8

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

@CLAassistant

CLAassistant commented Mar 4, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov

codecov Bot commented Mar 4, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.55%. Comparing base (9d0a3f1) to head (2781ec8).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #31877      +/-   ##
===========================================
- Coverage    54.55%   54.55%   -0.01%     
===========================================
  Files         2290     2286       -4     
  Lines        50315    50266      -49     
  Branches     10271    10264       -7     
===========================================
- Hits         27450    27422      -28     
+ Misses       20372    20357      -15     
+ Partials      2493     2487       -6     
Flag Coverage Δ
e2e 53.50% <ø> (-0.02%) ⬇️
e2e-api 40.02% <100.00%> (+<0.01%) ⬆️
unit 76.45% <ø> (ø)

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

Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts Outdated
Comment thread apps/meteor/app/mentions/server/getMentionedTeamMembers.ts Outdated
Comment thread apps/meteor/app/mentions/server/getMentionedTeamMembers.ts
Comment thread apps/meteor/app/mentions/server/getMentionedTeamMembers.ts Outdated
@ricardogarim
ricardogarim requested a review from a team as a code owner March 4, 2024 15:45
@ricardogarim
ricardogarim requested a review from Gustrb March 5, 2024 12:01
@Gustrb

Gustrb commented Mar 5, 2024

Copy link
Copy Markdown
Contributor

looks good to me🤓

Gustrb
Gustrb previously approved these changes Mar 5, 2024
@ricardogarim
ricardogarim force-pushed the refactor/migrate-notifyUsersOnMessage-to-typescript branch from 805af34 to ebae2c9 Compare March 6, 2024 17:19
@ricardogarim
ricardogarim removed request for a team March 7, 2024 19:33
@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Mar 7, 2024
@kodiakhq
kodiakhq Bot merged commit 04cb5d5 into develop Mar 7, 2024
@kodiakhq
kodiakhq Bot deleted the refactor/migrate-notifyUsersOnMessage-to-typescript branch March 7, 2024 22:12
gabriellsh added a commit that referenced this pull request Mar 12, 2024
…modalRegions

* 'develop' of github.com:RocketChat/Rocket.Chat: (77 commits)
  fix: CRM integration mismatch on callback type (#31880)
  test: make outgoing integrations fully independent (#31656)
  fix: setDepartment not persisting on chat closed (#31792)
  fix: Trigger app event after inquiry is created (#31909)
  regression: Favorite action announcement (#31940)
  regression: Prevents `ImageGallery` to restore focus on message (#31869)
  i18n: Add missing swedish translation for "Create direct message" key (#31945)
  feat(message-parser): add timestamps pattern (#31810)
  fix: convert network broker stopped lifecycle method to async (#31927)
  regression: undefined guest causing issues (#31932)
  refactor: use uiContexts on livechat (#31919)
  fix: Validate rooms are not taken before processing by queue (#31896)
  fix: livechat sdk reconnect not resubscribing (#31941)
  fix: Quote attachments are not deleted on message update (#31660)
  Revert "regression: Favorite action announcement" (#31935)
  chore: improve room `LeaderBar` behavior with date bubble (#31933)
  regression: Favorite action announcement (#31934)
  chore: Migrate notifyUsersOnMessage to TypeScript (#31877)
  fix: Mentions stop working when mentioned user changes username (#31860)
  regression: `RoomBody` unread and new messages behavior (#31929)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants