Closed artonge closed 2 days ago
Example from google drive:
@marcoambrosini wanted, in general, to also look at the search bar, but this brings in a whole 'what to do with search' discussion. Best that design comes up with a complete concept.
@nextcloud/designers can we have some proper mockups for that?
Kickoff call outcome @AndyScherzinger @artonge @susnux @szaimen
Also cc @karlitschek and @jancborchardt
@marcoambrosini seems good, some feedback:
Open question: do these filters only filter the current folder or are they recursive? E.g. when I filter for "documents" in a folder, do I see all documents in the whole folder tree or just the ones present in the current folder? From a UX perspective I think the former is the most beneficial, but it's much more difficult to achieve technically. It's also what our competitors do when using these filters. @susnux suggested that there could be a switch between current folder and all subfolder filtering.
I would first go with what is doable technically in a nice way, we can always improve on that. But no to a switch between modes here, that would needlessly complicate it.
susnux suggested that there could be a switch between current folder and all subfolder filtering.
I would first go with what is doable technically in a nice way, we can always improve on that. But no to a switch between modes here, that would needlessly complicate it.
To clarify for me it is about having two options:
Questions: What file type filters do we use? All types we found in the list? Or a generic list like
(this list would be easy to implement)
Or more like specific files? (PDF, JPG...)
What does "Modified" filter? "yesterday" "last week"?
People: Should this only filter the owner?
@susnux for all of these, I would follow Google Drive’s lead since that’s the solution spearheading this. cc @marcoambrosini
I started implementing it, but have a question: The mock up is using a drop down, shall we use it or go with actions? Especially for user filtering a drop down would be a completely new component to allow two menu levels (1. user 2. "shared the file", "owned the file", etc)
With a drop down it looks like this:
Hi @susnux, I think we should go with actions like in the global search. The different look is because of the smaller border radii but I was thinking about the actions component.
@marcoambrosini with actions it could look like this:
https://github.com/nextcloud/server/assets/1855448/ad6d4116-c203-4a77-8e3c-3919939e13d4
@susnux nice! Could "Clear filter" go to the bottom of the action menu so the entries don’t all jump one down?
Could "Clear filter" go to the bottom of the action menu
Sure but then you need to scroll fully down to clear, is that ok?
The related PR: https://github.com/nextcloud/server/pull/45708
@nextcloud/designers for mockups