Skip to content
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: no sorting by status in rooms.membersByOrderedByRole #35004

Open
wants to merge 3 commits into
base: release-7.3.0
Choose a base branch
from

Conversation

abhinavkrin
Copy link
Member

@abhinavkrin abhinavkrin commented Jan 22, 2025

Proposed changes (including videos or screenshots)

In members list, the members should be ordered by rolePriority, then by status and then by username/name.
This pr fixes the missing sort by status.

Issue(s)

Steps to test or reproduce

Further comments

CORE-937

@abhinavkrin abhinavkrin requested a review from a team as a code owner January 22, 2025 15:36
Copy link
Contributor

dionisio-bot bot commented Jan 22, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Jan 22, 2025

⚠️ No Changeset found

Latest commit: 135840b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.17%. Comparing base (5a5ffb0) to head (135840b).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-7.3.0   #35004      +/-   ##
=================================================
- Coverage          59.17%   59.17%   -0.01%     
=================================================
  Files               2821     2821              
  Lines              68140    68139       -1     
  Branches           15155    15155              
=================================================
- Hits               40325    40324       -1     
  Misses             24981    24981              
  Partials            2834     2834              
Flag Coverage Δ
unit 74.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

github-actions bot commented Jan 22, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-35004/

Built to branch gh-pages at 2025-01-23 19:11 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@abhinavkrin abhinavkrin added this to the 7.3.0 milestone Jan 22, 2025
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
@abhinavkrin abhinavkrin force-pushed the regression/members-sort-by-statusConnection branch from 2dde1d1 to e37af2b Compare January 22, 2025 17:03
@abhinavkrin abhinavkrin changed the title regression: no sorting by statusConnection in rooms.membersByOrderedByRole regression: no sorting by status in rooms.membersByOrderedByRole Jan 22, 2025
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
@abhinavkrin abhinavkrin requested a review from a team as a code owner January 22, 2025 17:47
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
@abhinavkrin abhinavkrin force-pushed the regression/members-sort-by-statusConnection branch from 803e91c to 135840b Compare January 23, 2025 19:03
Copy link
Member

@dougfabris dougfabris left a comment

Choose a reason for hiding this comment

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

please use our pkg mock-providers in order to mock the unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants