-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Regression: Fix improper usage of useEndpointData #28050
Conversation
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.
Maybe we could update this to use tanstack's useQuery
?
As we have deprecated useEndpointData
Codecov Report
@@ Coverage Diff @@
## develop #28050 +/- ##
============================================
- Coverage 44.85% 32.20% -12.65%
============================================
Files 766 628 -138
Lines 14903 12485 -2418
Branches 2070 1849 -221
============================================
- Hits 6684 4021 -2663
- Misses 7925 8263 +338
+ Partials 294 201 -93
Flags with carried forward coverage won't be shown. Click here to find out more. |
apps/meteor/client/views/omnichannel/directory/chats/ChatTable.tsx
Outdated
Show resolved
Hide resolved
Thanks for the review! Converted useEndpointData to tanstack's query. Pls check :) |
apps/meteor/client/views/omnichannel/directory/chats/ChatTable.tsx
Outdated
Show resolved
Hide resolved
apps/meteor/client/views/omnichannel/directory/chats/ChatTable.tsx
Outdated
Show resolved
Hide resolved
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.
Just pushed some changes, FYI when you use invalidateQuery
you don't need an effect since the query client has no direct dependency on the used useQuery
apps/meteor/client/views/omnichannel/directory/OmnichannelDirectoryPage.tsx
Show resolved
Hide resolved
…m:RocketChat/Rocket.Chat into regression/chats-panel-missing-permission
…jumpToMessage * 'develop' of github.com:RocketChat/Rocket.Chat: Regression: Fix RegisterForm Translations (#28156) Chore: e2e omnichannel tests - Close every opened page after the test (#28152) Chore: Remove fail-fast from matrix strategy (#28153) Chore: Fix houston metadata Regression: Fix improper usage of useEndpointData (#28050) Regression: View mode preferences without the selected option by default (#28120) Chore: Fix fetching Apps-Engine and MongoDB versions for release notes (#28129) Regression: Slash commands detected at any line (#28142) Regression: App requests notify admin function generating wrong link (#28111) Chore: Improve time of meteor build (#28128) Chore: Update tokens (#28079) Regression: Fix sidebar horizontal scrolling (#28125) Chore: Presence cap tweaks (#28058) Chore: Fix Services Docker Build Chore: Custom CSS (#27993) Chore: Fix CI Docker Alpine build missing (#28138) Chore: Fix CI docker publish (#28134) Chore: Refactor CI to improve code reusability and organization (#28108)
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
OC-627