-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Search improvements #4320
Search improvements #4320
Conversation
Add possibility to search on: - from:me - has:star - has:url|has:link - is:pinned|has:pin - has:location|has:map - before:dd-MM-yyyy - after:dd-MM-yyyy - on:dd-MM-yyyy - order|sort:asc|ascend|ascending|desc|descend|descending
@lucasvanhalst this is really cool! So with all of this we kind of need a cheatsheet quick help thing there in the search. |
that is indeed really cool! |
Yeah something like this @geekgonecrazy |
@lucasvanhalst ah yes! Agreed, that looks nice |
I'd like to see 2 things here:
I create two new seperate issues |
@alfredbez we'd welcome another PR to add that. 😄 |
It's true that the date filters don't won't properly. They did on my test environment of course.. God I hate time zones :D |
To follow up, the dates still work but it's not in the American format. It is dayday/monthmonth/year, so for Feburary 11th, 2017 the search would be: |
@RocketChat/core
Closes #3549
Improves the search so you can filter on more things.
from:me
to search for messages only created by the current user.has:star
returns messages that are starred by the current useris:pinned
orhas:pin
returns messages that are pinned in the current channelhas:url
orhas:link
returns messages that contain a linkhas:location
orhas:map
returns messages that have a location attachedbefore:dd/MM/YYYY
,after:dd/MM/YYYY
andon:dd/MM/YYYY
return message that were created before, after or on the provided date respectively. You can also use dashes-
or dots.
instead of slashes.order:asc
sorts messages by ascending timestamp. You can also useorder:ascend
ororder:ascending
order:desc
sorts messages by ascending timestamp. You can also useorder:descend
ororder:descending
.There is no indication in the UI that is this possible though.
I've also converted the coffeescript to js since I know you guys are doing this step by step.