nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.26k stars 1.76k forks source link

Offer long file name ellipsizing options #2305

Open leafcutterant opened 6 years ago

leafcutterant commented 6 years ago

I work with long-named files and it would be more important to see as much of the beginning of the file name as possible as the end of it offers little informational value.

Could we have different options for file name ellipsizing? I would be totally okay with it as a hidden expert option.

My ideas for the options:

tobiasKaminsky commented 6 years ago

2018-03-08-155802

@nextcloud/designers do you have an idea how to solve this? Adding another option, alongside with more code, is something I would like to avoid.

As far as I remember we chose ellipsizing it this way as the more important info is at the end, e.g. if you upload a file twice, it gets "file.txt" and "file (2).txt".

Changing the orientation to landscape will help, but it not a real solution ;-) If possible, we could also scroll, but this maybe looks also ugly if 10 names are moving...

leafcutterant commented 6 years ago

I can understand that more user options introduce extra complexity.

How about these solutions?

tobiasKaminsky commented 6 years ago

Nice idea, but I am unsure if anybody can use this without an introduction ;-) Let us wait if @nextcloud/designers have a better solution.

jancborchardt commented 6 years ago

In the case of long names, tapping the "..." button would display the beginning of the name without ellipsizing and it would automatically scroll on to the end. After reaching the end, it could move on continuously, or turn into the opposite direction.

@leafcutterant this seems good. As soon as the menu is open, the file name could scroll (if too long). What do you think @tobiasKaminsky?


And just regarding the swiping: If we implement it, should not be used for this. Swiping to the left is pretty much standard for deletion, and swiping to the right is pretty much standard for favoriting.

AubinF commented 1 year ago

I definitely vote for text scrolling. It would be so convenient !