-
Notifications
You must be signed in to change notification settings - Fork 13k
feat: filter thread messages in room message query #35013
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: 0f34b64 The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35013 +/- ##
========================================
Coverage 59.17% 59.17%
========================================
Files 2822 2822
Lines 68069 68069
Branches 15136 15136
========================================
Hits 40283 40283
Misses 24956 24956
Partials 2830 2830
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
d-gubert
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.
To be honest my first reaction was to be against adding a new flag for this, but since that's how the core models expose the filter, then I'm ok with it 😛
A few things:
- I think it's best to keep the name of the parameter the model method uses,
showThreadMessages- it will be better for us maintining it to see a familiar name. - When adding parameters to functions, they cannot change the original default behavior of the function - that would be a breaking change. As such, the default value of the option to show thread messages MUST be
true, and the user has to opt out of showing thread messages.
Proposed changes (including videos or screenshots)
threadMsgCountwould be shown on the main message of a thread, the id of this message can then be used to fetch all the threaded messages using thethreadread bridge.Issue(s)
Steps to test or reproduce
Further comments
RCAI4-5