cloudcmd icon indicating copy to clipboard operation
cloudcmd copied to clipboard

Multi select files

Open hagaygo opened this issue 1 year ago • 4 comments
trafficstars

Hi

Maybe i missing it, but is there an option to multi select files on "mobile" interface ?

There is only the context menu option (un)select all.

On a PC i can use the CTRL key to toggle multiple file selection , how can it be done on smartphone ?

Thanks

hagaygo avatar Oct 06 '24 06:10 hagaygo

There is no such an option. How it can be done?

coderaiser avatar Oct 08 '24 20:10 coderaiser

Well , there is no "one way" to do so.

Currently it is possible using CTRL key and click which is not possible on normal smartphone.

I can think of 3 options :

  1. "long press" , which can be implemented on a web interface in several ways (for example https://stackoverflow.com/questions/6596432/continuous-mouse-click-event) which will trigger select/deselect action (I think this is the most intuitive way)

  2. Show an extra icon for selection/deselection for each file. (uses more screen/view space)

  3. The easiest way (but not for the user) to implement (since you already have the code infrastructure) is to add two options to the context menu , select + unselect for the selected file. (next to existing (un)select all option).

hagaygo avatar Oct 09 '24 08:10 hagaygo

Can you implement one of this?

coderaiser avatar Oct 09 '24 10:10 coderaiser

Maybe , did not look at the code base yet.

But if you don't have much time/need for this feature , I am quite sure option 3 should be really easy/fast even for a novice in the codebase.

hagaygo avatar Oct 09 '24 10:10 hagaygo

I'll will also try to implement "long press" selection (option 1) when i'll find the time.

hagaygo avatar Oct 26 '24 13:10 hagaygo

Should be reasonably possible after https://github.com/coderaiser/cloudcmd/pull/422 got merged.

hagaygo avatar Oct 31 '24 14:10 hagaygo