Skip to content

Conversation

@KevLehman
Copy link
Member

@KevLehman KevLehman commented Apr 25, 2023

ARCH-943

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

Still missing:

  • Integrations HTTP calls
  • UI-Kit http usage

@KevLehman KevLehman changed the title remove http from server refactor: Remove meteor/http for serverFetch Apr 25, 2023
@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Merging #29038 (be3213e) into develop (44da8e3) will increase coverage by 1.20%.
The diff coverage is 20.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #29038      +/-   ##
===========================================
+ Coverage    44.88%   46.09%   +1.20%     
===========================================
  Files          773      728      -45     
  Lines        15009    14087     -922     
  Branches      2096     2193      +97     
===========================================
- Hits          6737     6493     -244     
+ Misses        7972     7282     -690     
- Partials       300      312      +12     
Flag Coverage Δ
e2e 46.06% <20.00%> (+1.21%) ⬆️

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 April 25, 2023 03:02
ITranslationResult,
ISupportedLanguage,
} from '@rocket.chat/core-typings';
import { serverFetch as fetch } from '@rocket.chat/server-fetch';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is not the ideia of exporting serverFetch avoid use the same fetch name? why not keep serverFetch everywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think it's more a preference thing. Part of my goal with the exported name is that ppl using it remember is not the standard fetch.

Renaming it to fetch also makes "easier" to move away from it when we use node's built in fetch in the future.

@ggazzo ggazzo merged commit 0fbd907 into develop Apr 25, 2023
@ggazzo ggazzo deleted the refactor/http-to-fetch-3 branch April 25, 2023 14:58
gabriellsh added a commit that referenced this pull request Apr 27, 2023
…ixSearch

* 'develop' of github.com:RocketChat/Rocket.Chat: (54 commits)
  feat: Add support to search for public rooms through the Matrix Network (#28330)
  chore: Improve bash script and add new detailed infos (#29066)
  chore: Remove duplicated key in turbo.json (#29057)
  chore: improve unread indicator colors (#29045)
  fix: Notification badge background (#29053)
  fix: `JumpToMessages` button style (#29033)
  refactor: Remove imports based on isomorphic logic - 2 (#29065)
  refactor: Move `cloud` and `channel settings` to typescript (#28907)
  refactor: Separate isomorphic imports on utils - 1 (#29052)
  fix: bug in close method of RoomManager occurs memory leak (#29058)
  refactor: Remove Meteor.userId from Slashcommands (#28925)
  refactor: Move callbacks to async (#29051)
  Bump version to 6.2.0-rc.4
  refactor: No reference to jQuery types (#28977)
  regression: SlackBridge settings UI crashing (#29050)
  fix: `HeaderTag` (#28961)
  chore(deps): Patch dependencies (#29024)
  regression: Fixed livechat notifications displaying [object Promise] on title (#29021)
  regression: `fetch` response (#29032)
  refactor: Remove `meteor/http` for `serverFetch` (#29038)
  ...
gabriellsh added a commit that referenced this pull request Apr 27, 2023
…externalAvatarProvider

* 'develop' of github.com:RocketChat/Rocket.Chat: (88 commits)
  feat: Add support to search for public rooms through the Matrix Network (#28330)
  chore: Improve bash script and add new detailed infos (#29066)
  chore: Remove duplicated key in turbo.json (#29057)
  chore: improve unread indicator colors (#29045)
  fix: Notification badge background (#29053)
  fix: `JumpToMessages` button style (#29033)
  refactor: Remove imports based on isomorphic logic - 2 (#29065)
  refactor: Move `cloud` and `channel settings` to typescript (#28907)
  refactor: Separate isomorphic imports on utils - 1 (#29052)
  fix: bug in close method of RoomManager occurs memory leak (#29058)
  refactor: Remove Meteor.userId from Slashcommands (#28925)
  refactor: Move callbacks to async (#29051)
  Bump version to 6.2.0-rc.4
  refactor: No reference to jQuery types (#28977)
  regression: SlackBridge settings UI crashing (#29050)
  fix: `HeaderTag` (#28961)
  chore(deps): Patch dependencies (#29024)
  regression: Fixed livechat notifications displaying [object Promise] on title (#29021)
  regression: `fetch` response (#29032)
  refactor: Remove `meteor/http` for `serverFetch` (#29038)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants