nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.79k stars 4k forks source link

Update click behavior in files #41787

Open marcoambrosini opened 10 months ago

marcoambrosini commented 10 months ago

Single click: select Double click: open

On touch devices, the behavior stays the same as current.

We noticed that most file managers work like this. Both on web interfaces an on the operating system level. It's especially useful to do multi-select operations when the target area is the whole row, as opposed to just the checkbox.

cc @nextcloud/designers

ref

Screencast from 2023-12-04 16-26-45.webm

Screencast from 2023-12-04 16-27-11.webm

Screencast from 2023-12-04 16-27-46.webm

Screencast from 2023-12-04 16-28-17.webm

marcoambrosini commented 9 months ago

@SystemKeeper @nickvergessen could you please elaborate on the sad face? :) We agreed in the design call that this would be useful, but we might have missed some reasons against this change.

nickvergessen commented 9 months ago

could you please elaborate on the sad face? :)

It's confused, not sad, but I used it as "uncomfortable".

It's especially useful to do multi-select operations when the target area is the whole row, as opposed to just the checkbox.

I get that, the thing is I mostly never use those operations. In 99% of the cases I just want to see the file in big/editor and not start a mass operation.

My biggest issue is (similar to the right click), that this makes the files list behave much different compared to all the other lists we have. Contacts, User list for admins, App list, etc.

Does this also apply to the grid layout?

marcoambrosini commented 9 months ago

In 99% of the cases I just want to see the file in big/editor and not start a mass operation.

That would be just 1 more click away

My biggest issue is (similar to the right click), that this makes the files list behave much different compared to all the other lists we have. Contacts, User list for admins, App list, etc.

This is a non-issue: we have files lists doing this everywhere and contacts apps not doing this anywhere. It's in everyone's muscle memory.

A good heuristic would be: Is it useful to select several items and do operations with them in this particular list? → double click to open - 1 click to select Is it only marginally useful? → single click to open - other strategy to select

"Clouds" are increasingly bigger than people's local storage, so a lot of users won't sync their entire data to the machine. For this reason, it's important to provide a solid UX in the web interface too when it comes to performing these operations, and this is a little obstacle that adds up.

The right click menu is important too, btw. Now it's sort of there as it triggers the actions open when we right-click, we just need to open the menu where the cursor is.

Does this also apply to the grid layout?

I'd say so yes

marcoambrosini commented 9 months ago

https://baymard.com/blog/users-double-click-online

jancborchardt commented 6 months ago

https://baymard.com/blog/users-double-click-online

From the article (which is from 2013):

August 2019 update: This user behavior is increasing and even more prevalent now than when this article was first published. However, this increase is mainly because of the mobile aspect “The user simply thinks their tab wasn’t registered” whenever the mobile site response is just slightly slow (as addressed further down the article).

So it seems that nowadays (further 5 years on from the update) it is more about performance and feedback, rather than expecting double click.