core icon indicating copy to clipboard operation
core copied to clipboard

Remember changes to sort order

Open Bugsbane opened this issue 12 years ago • 26 comments

This is an enhancement request to improve the sort order of files and folders as per the suggestions of @jancborchardt and @onny in the issue at https://github.com/owncloud/core/issues/164 .

Specifically, this includes:

  1. Change from the current default of having file/folder sort order be by name, to being by date, with most recent files listed at the top.
  2. Remembering changes to the sort order by the user, so it's remembered when they come back to that folder later.

Bugsbane avatar Aug 31 '14 17:08 Bugsbane

@PVince81

karlitschek avatar Aug 31 '14 17:08 karlitschek

I personally wouldn't like having sort by date being the default, considering that regular desktop file managers also sort by name by default.

For remembering changes: need to decide where to save it: cookie/localstorage or app settings in the database. To consider: does a user want to keep the last sorting settings when switching browsers/computers ?

PVince81 avatar Aug 31 '14 20:08 PVince81

I guess it comes down to what the most common use case is. Whether people are likely to be wanting to access the files they've most recently used, or whether they're likely to be looking for files used less recently, but that they know the file name of.

For my personal use case, I would want sort order to be persistent across devices, although if it makes a big difference, it's a fairly minor inconvenience to need to change the sort order once per device.

Bugsbane avatar Aug 31 '14 20:08 Bugsbane

I cut the description to just »remember sort order«. Otherwise this is 2 issues in one.

And I do agree, the sort order should be remembered. And it should be remembered per-user, meaning it is also the same when switching browsers/computers – of course.

I would even say changing the sort order should be global, meaning when you change it in root, change it in all subfolders as well.

jancborchardt avatar Sep 02 '14 07:09 jancborchardt

I don't know about that last point. If I change something in a folder, I expect those changes to be there when I come back (even if on another device). I don't expect it to change a whole bunch of folders I haven't even looked at, unless I've done something to explicitly state that I wanted that.

Bugsbane avatar Sep 07 '14 07:09 Bugsbane

I agree with @Bugsbane, Add a tick box, just like on Windows to let the user apply the changes globally if he wants to, but don't make that the default behaviour.

oparoz avatar Jan 30 '15 15:01 oparoz

Sorry, i don't agree with the opinion of jancborchardt to close #13484.

  1. If the user is not logged in, there is no reliable possibility to store his sort order preference. A main advantage of owncloud is the possibility to share links that do NOT need any login.

  2. Especially first-time users or unexperienced users are happy to be presented with a view that already is sorted in reasonable order. Depending on the usecase, an admin can very well decide what is the preferred order. For any kind of collection, where items come in from time to time, it makes sense to have newest items first. I claim this is a main use case of owncloud for private use.

Both (1) and (2) are good reasons to allow the administrator to set a default order, at least to let it be sorted by upload date desc. So, it's NOT THE SAME as allowing the user to sort himself (which is a nice feature of course, but does not meet the point here). Please reopen request #13484 or include it in this request. Thank you.

MartinW2 avatar Feb 01 '15 14:02 MartinW2

I would suggest that if the user is not logged in that yes, we can still remember sort order via a cookie and that showing a decent view to new users can be achieved by carefully chosen defaults rather than having admins of every pod go and manually set defaults for their users. Between reasonable defaults in ownCloud and users being able to change them with a single click via an interface paradigm most are used to from file managers, we have the overwhelming majority of use cases covered.

For the defaults, it seems to me that in most (not all, but most) cases, users generally want to be seeing their most recently modified files first.

Bugsbane avatar Feb 03 '15 06:02 Bugsbane

@Bugsbane Full ACK

MorrisJobke avatar Feb 03 '15 10:02 MorrisJobke

@Bugsbane did I mention that I like you? ;)

@MartinW2 so yeah, basically what @Bugsbane wrote. This is a setting that should not be set by admins.

jancborchardt avatar Feb 04 '15 16:02 jancborchardt

@jancborchardt - Thanks! Gosh, now I feel guilty for repeatedly trying to load the 404 page for owncloud.org/jan-borchardt-is-evil.htm enough that it shows near the top of the site logs yesterday, to confuse the webmaster.

You may think I'm joking. You'd be wrong. I have a strange sense of humor.

Anyway, 90% of what I've learned about user interaction has been from reading your comments on various FOSS projects, so your compliment meaningful to me.

Bugsbane avatar Feb 05 '15 02:02 Bugsbane

@Bugsbane LOL

Anyway, 90% of what I've learned about user interaction has been from reading your comments on various FOSS projects, so your compliment meaningful to me.

Thanks, right back at you! :)

jancborchardt avatar Feb 06 '15 13:02 jancborchardt

This feature request has been kind of implemented in Gallery+. The order is not saved when you use the buttons, but you can define defaults for folders and the settings can be inherited.

More information here: https://github.com/interfasys/galleryplus/blob/master/documentation/Album%20configuration.md

oparoz avatar Apr 10 '15 15:04 oparoz

@oparoz this is about the files app though, and the sort order defined by the table headers.

jancborchardt avatar Apr 11 '15 01:04 jancborchardt

Indeed, but I'm just mentioning the way we do it in another app so that participants in this thread can test an alternative way of doing things to see if it would meet their the needs.

oparoz avatar Apr 11 '15 10:04 oparoz

Thanks a lot, @oparoz . As #13484 has been closed, I am happy that someone see the needs of Admins that simply want to make life easier for their occasional or anonymous users by setting optional, reasonable defaults. Of course users should be empowered to dynamically or permanently override sort order as they want - but I don't see why this is in contradiction to admins that (optionally) want to provide their users with a reasonable starting point. It's not the same thing either. I probably miss the abilities and UI experience of some owncloud power users to know users needs ... So, thanks again for letting me know via this post.

MartinW2 avatar Apr 11 '15 11:04 MartinW2

We should fix this for 8.2 – this is very annoying for people who prefer to have their files sorted by modification date as default.

jancborchardt avatar Jul 20 '15 20:07 jancborchardt

@DeepDiver1975 looking for an assignment

ghost avatar Sep 09 '15 22:09 ghost

Would be a bummer, but I assume this can not be done for 8.2 and hence needs to be moved to 9.0? @DeepDiver1975?

jancborchardt avatar Sep 15 '15 22:09 jancborchardt

We're past feature freeze, moving to 9.1.

Has there been a consensus yet regarding where to store that setting and its scope ?

  • JS variable: cleared on refresh
  • cookie / localStorage: only in the current browser
  • oc_preferences: kept across sessions for the same user

PVince81 avatar Feb 18 '16 17:02 PVince81