-
Notifications
You must be signed in to change notification settings - Fork 13k
fix: Deprecated filter by query in emoji-custom.all api call
#36723
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
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: f2be5b7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 39 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #36723 +/- ##
===========================================
+ Coverage 65.97% 66.02% +0.04%
===========================================
Files 3264 3268 +4
Lines 109712 109844 +132
Branches 20758 20801 +43
===========================================
+ Hits 72385 72523 +138
+ Misses 34672 34654 -18
- Partials 2655 2667 +12
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
sampaiodiego
left a comment
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.
it is missing api tests.. pls also create another changeset as minor to document we now accept a new query param on the emoji-custom.list endpoint
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.
I didn't understood how this fixes the issue attached, mainly because I'm not being able to reproduce it and the logs are pointing to somewhere else
I left a comment in the issue attached, this is not a fix for the problem indeed.
Tests are covering this situation This PR started as a |
|
Ok, so you can detach the task then. I will evaluate the tests. But I'm questioning if this should be a fix. For me you removed the query params in favor of name, so query was unnecessary but wasn't breaking anything. was it? |
|
If I detach the task, task will not have the information of a PR adding tests to watch the intermittent problematic situation. Do you prefere that I introduce PR as a comment in task? So we should cancel that one and keep looking at the tests results. I did not removed query, I added another parameter, |
The way you're attaching as soon it gets merged it will close the issue as done. So yes, its better to add the PR as comment and cancel saying its not reproducible anymore and some tests were added
So if we're deprecating, would be nice to have a deprecation warning |
There is a deprecation warning already: https://github.com/RocketChat/Rocket.Chat/blob/develop/apps/meteor/app/api/server/definition.ts#L193 |
Co-authored-by: Douglas Fabris <devfabris@gmail.com>
dougfabris
left a comment
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.

Proposed changes (including videos or screenshots)
Fixes search by name in custom emojis list, by adding a correct parameter to the endpoint
emoji-custom.allIssue(s)
Steps to test or reproduce
Further comments
CORE-1318