Uh oh!
There was an error while loading. Please reload this page.
Add users and apps inner search and add HeaderMenu cancel - #22800
Conversation
d11db19 to
f3f2d1cCompareskjnldsv
commented
Sep 11, 2020
/compile amend / |
f3f2d1c to
58e16beCompareraimund-schluessler
commented
Sep 11, 2020
@skjnldsv I guess this fixes the issue discussed in #22526 (comment), right? |
raimund-schluessler
commented
Sep 11, 2020
raimund-schluessler
commented
Sep 11, 2020
It would be nice if it could be somehow indicated when a search is still "active", i.e. the search string is not empty. Maybe with a red dot or at least the opacity of the search icon could be set to 1. |
skjnldsv
commented
Sep 12, 2020
raimund-schluessler
commented
Sep 12, 2020
skjnldsv
commented
Sep 12, 2020
raimund-schluessler
commented
Sep 12, 2020
Because it is currently not obvious when a search/filter is active and users might be confused why certain content is not shown. |
jancborchardt
commented
Sep 14, 2020
Good point … this is unfortunately where the drawback of showing the search field only in the dropdown comes in. The way we did it before with the search field being directly in the header, this was obvious.
|
skjnldsv
commented
Sep 14, 2020
The issue we had was on small screens. But I'm fine if you prefer than. Though I would be also fine just adding an indicator like the white triangle under? or a red dot like notifications? 🤔 😀
I'm afraid it could conflict with other elements on page, especially mobile
You asked not to, so we're good there, no clearing on close :) |
jancborchardt
commented
Sep 14, 2020
So the search would initially be an icon, but as soon as you click or focus, it would expand (like before). On mobile, it’s fine to do it like on Android: Search can take the full heading width (at least on smartphone sizes) and go back to icon-only when you clear the search. (On tablet or intermediate sizes, it’s fine if search takes as much space as it needs away from the list of app icons.) An indicator on the search icon is something that can easily be missed and also something I haven’t seen elsewhere before. |
skjnldsv
commented
Sep 14, 2020
@raimund-schluessler this will wait for21, Jan have a bit more in-depth requests for this that will create too much changes for 20 :) |
58e16be to
a5c185fCompareraimund-schluessler
commented
Sep 14, 2020
@skjnldsv What exactly will have to wait? The whole PR or indicating that a search is active? |
raimund-schluessler
commented
Sep 14, 2020
And adding a reset button for Firefox is not controversial as well, right? |
skjnldsv
commented
Sep 14, 2020
This will be implemented in a followup for 20 |
This comment has been minimized.
This comment has been minimized.
a5c185f to
f41e8fbCompareSigned-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
f41e8fb to
58b19efCompare




This was requested by @jancborchardt and should be the default behaviour for other apps.
Alongside I added a
cancelevent to the HeaderMenu component that could be use by other apps once I moved it to https://github.com/nextcloud/nextcloud-vue