Uh oh!
There was an error while loading. Please reload this page.
Search also the email and displayname in user mangement for groups - #21138
Conversation
blizzz
commented
Aug 3, 2020
WFM ™️ |
a0a1a95 to
8d72bdfCompareMorrisJobke
commented
Aug 4, 2020
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? |
skjnldsv
commented
Aug 4, 2020
We're discussing this. |
MorrisJobke
commented
Aug 4, 2020
Same for app management, right? Because it's an admin task vs an normal use case. But up to @jancborchardt |
nickvergessen
left a comment
There was a problem hiding this comment.
Can we have a dedicated test added?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MorrisJobke
commented
Aug 5, 2020
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. |
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9bf1352 to
907d354CompareMorrisJobke
commented
Aug 5, 2020
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 :) |
MorrisJobke
commented
Aug 5, 2020
/backport to stable19 |
jancborchardt
commented
Aug 5, 2020
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? |
MorrisJobke
commented
Aug 5, 2020
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 logpostgres11-php7.2Show full log |
jancborchardt
commented
Aug 5, 2020
Yep, as said:
;) |
MorrisJobke
commented
Aug 5, 2020
Ah - I thought adding it to the "top navigation" (aka header) 🙈 |
blizzz
commented
Aug 5, 2020
yes (: |
blizzz
commented
Aug 5, 2020
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