-
-
Notifications
You must be signed in to change notification settings - Fork 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 also the email and displayname in user mangement for groups #21138
Search also the email and displayname in user mangement for groups #21138
Conversation
WFM ™️ |
a0a1a95
to
8d72bdf
Compare
Works for me now. Unfortunately the unified search made the search field unavailable for the user management. Thus I based this on commit 7b91cb5 which is the one right before the unified search got merged. Then we can still test this and work on a solution for this in 20. @skjnldsv Is this the wanted behavior of the unified search? Because some apps (like the user management here or the app management) use this for filtering the current view. @juliushaertl @nickvergessen @kesselb Mind to review this? @blizzz Does a backport make sense here? |
We're discussing this. |
Same for app management, right? Because it's an admin task vs an normal use case. But up to @jancborchardt |
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.
Can we have a dedicated test added?
I added some integration tests to verify the outside view of this. Otherwise I need to have mocked so much, that it barely is useful in the future. |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9bf1352
to
907d354
Compare
I refined them a bit and they work locally. Also did some negative testing locally so that they actually indicate when something breaks and it is the case. Ready for a final review :) |
/backport to stable19 |
Yep, so there we hit the other part of what we discussed – unified search works great overall, but it does have drawbacks when you are inside an app itself. There e.g. in Talk, Users and Apps, direct filtering of the content is nicer. This is why in the spec we discussed that the apps which already have in-app search which do proper filtering:
Makes sense? |
How to differentiate then between the filter and the unified search? Or should we maybe move the filtering from the header into the actual app content? |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 31405: failurecarddavtester-new-endpoint
samba
mysql5.6-php7.2Show full log
postgres11-php7.2Show full log
|
Yep, as said:
;) |
Ah - I thought adding it to the "top navigation" (aka header) 🙈 |
yes (: |
at least in Users search has to go via the server. Just too much to pull all of them into the browser. |
Similar to #17800 but also searches the email address.
This streamlines the search in groups with the one in users:
server/lib/private/User/Database.php
Lines 266 to 278 in 145eee9
See #13951