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: Remove promise.await from apps #28612
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #28612 +/- ##
===========================================
- Coverage 44.99% 44.98% -0.02%
===========================================
Files 753 753
Lines 14667 14667
Branches 2130 2130
===========================================
- Hits 6600 6598 -2
- Misses 7763 7764 +1
- Partials 304 305 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
@RocketChat/apps can you please help confirm this is not creating a breaking change?
these are the only methods we can change to async : |
#27024 was doing something similar, there's a couple things to note:
EDIT (previous intent wasn't clear) The mentioned changes should maybe be added to this PR as well. Or do you think that we should simply keep it in the radar for the future? We might need to break down the previously mentioned PR (which we had already started doing at #28508) and make those changes incrementally |
what does that mean? that this pr is useless or that we should keep it? If you can guarantee that this pr is good, providing approval or requesting changes, we can continue with the plan. |
Since we are following this idea of doing changes small as we can and keep everything working I cant see any problem on keeping the pointed changes in mind and apply them later
|
…/federation-public-room-search-2 * 'develop' of github.com:RocketChat/Rocket.Chat: (186 commits) fix: Unauthorized Toast Message when accessing a channel's team that user are not a member (#28670) regression: fix apps-engine persistence methods (#28688) chore: Update `codeql` to v2 (#28692) fix: Avoid `useEffect` loop (#28699) refactor: Remove `canned responses` model (#28686) refactor(models): Use Messages Raw model (9/N) (#28693) chore: Delete unused `.../surfaces/SurfaceContext.tsx` (#28690) i18n: fix sentence in 2fa email modal text (#28683) fix: change default text color in homepage custom content block (#28685) refactor(models): Use Messages Raw model (8/N) (#28678) refactor: move hasAllPermission to hasAllPermissionAsync (#28674) refactor: Feature parity for EE models (#28614) refactor(client): Dead code and spurious exports (#28654) fix(client): Fuselage's icon font reloads too often (#28673) refactor: Subscriptions model - 5 (#28550) regression: Error inserting read-receipts with the new Messages model (#28671) refactor: `LivechatDepartments` - 1/2 (#28664) chore: Update Apps-Engine to latest (#28646) regression: Room Not Found bg color (#28668) refactor: Remove promise.await from apps (#28612) ...
Proposed changes (including videos or screenshots)
Jira:
ARCH-382
ARCH-383
ARCH-384
ARCH-385
Issue(s)
Steps to test or reproduce
Further comments