nextcloud / server

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

Folders first #24190

Open tobiasKaminsky opened 3 years ago

tobiasKaminsky commented 3 years ago
jancborchardt commented 3 years ago

FYI @nextcloud/designers since basically all other systems do folders first.

We could also tie this in with switching to grid view in the server by default, but we need to give some more love to grid view before that. (Also, grid view should probably be done just like Android where the view setting is remembered based on folder, not only globally. That way documents are shown as list, and photos shown in large.)

er-vin commented 3 years ago

On Desktop obviously it's under control of the file manager so we can't do much there. They're all folders first by default anyway.

skjnldsv commented 3 years ago

Ideally would be nice to have a proper api for sorting things :see_no_evil:

tobiasKaminsky commented 3 years ago

Let us coordinate this for one NC version, e.g. 22, so that it changes roughly at the same time…

Ideally would be nice to have a proper api for sorting things see_no_evil

You mean that the client can give a sorting strategy to server while requesting folder list? That would not help that much, as then every sort order change is a roundtrip to server, whereas if client sorts it locally it is really fast.

skjnldsv commented 3 years ago

You mean that the client can give a sorting strategy to server while requesting folder list? That would not help that much, as then every sort order change is a roundtrip to server, whereas if client sorts it locally it is really fast.

Well, if we need to be consistent, we should have a list of available filtering and being able to save them. E.g. have the same filter order in the viewer photos cycle or in the photos app.

tobiasKaminsky commented 3 years ago

Then let us plan it for NC22, if server master agree and then we can discuss it in detail :)

skjnldsv commented 3 years ago

Btw https://github.com/nextcloud/server/issues/18905

jancborchardt commented 3 years ago

Well, if we need to be consistent, we should have a list of available filtering and being able to save them.

Not sure if that’s a requirement. Not sure it would be expected to have the mobile app and server to "sync" their sorting, e.g. also if by date, or alphabetically etc. Especially as on desktop this doesn’t work anyway either?

(Just mentioning so we don’t have too much overhead to start with and also echoing the performance notice Tobi mentioned.)

skjnldsv commented 3 years ago

Not sure it would be expected to have the mobile app and server to "sync" their sorting

It's not only about syncing the sorting, but about sorting parities. Just listing the available sorting keys from the dav data would be enough :smile: Just saying :wink:

alsternerd commented 2 years ago

So, how and where do I go and sort this by folder / filetype in the webinterface now or does this open issue for 2 YEARS mean it's being abandoned?

EDIT: Seems to be fixed/done with the newest versions.

nsrosenqvist commented 1 year ago

Is this on the roadmap yet?

STaRDoGG commented 1 year ago

This is done for the server as well? How come my folders are all over the place when I select "Modified"? lol

image

NC ver: 26.0.2