-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix: Search Page Order #6971
fix: Search Page Order #6971
Conversation
Sorry for the delay here. Reviewing now... |
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.
Looks good – my only suggestion is that we should order rooms so that any (deleted)
rooms appear after open rooms.
We can do that pretty easily by replacing this line with: let orderedReports = lodashOrderBy(reports, sortProperty, sortDirection);
orderedReports = _.sortBy(orderedReports, report => ReportUtils.isArchivedRoom(report)); |
@roryabraham Updated. |
🚀 Deployed to staging by @roryabraham in version: 1.1.29-8 🚀
|
@parasharrajat Issue #5699 is still reproduced. This PR is failing. |
@kavimuru Could you please follow these steps for me and share the results?
|
@mvtglobally Any luck above? |
🚀 Deployed to production by @roryabraham in version: 1.1.30-3 🚀
|
@parasharrajat Sorry for the delay. Issue #5699 is not reproduced anymore. I followed these steps and not seeing the same message.
Recording.153.mp4 |
Thanks for looking into this @kavimuru. Based on these, I can say that these are two rooms with the same name. I saw the same results but as the message is not visible in the other rooms it means that they are different. Also, the id is different on URL. It may be possible that these were created during the early development of Rooms so they have the same names. Another fact is that only rooms with It could be a good question to ask the team if two auto-generated rooms can have the same name. Sound like a bug but not related to this issue? |
Details
Fixed Issues
$ #6627
$ #5699
Tests | QA Steps
Open Search Page.
Search for some user name that does not start with #.
Search results should be in the following order:
1: 1 chat.
group Chat.
Room.
Order will change based on the resemblance between search value and search result. e.g. If the search value matches the room name, the room name would be above. etc.
Tested On
Screenshots
Web | Desktop
output_file.mp4
Mobile Web
iOS
Android