core icon indicating copy to clipboard operation
core copied to clipboard

Sorting by size and time wrong way around

Open jancborchardt opened this issue 12 years ago • 10 comments

@PVince81 reminder cc @owncloud/designers

Currently the first click on a header sorts:

  • by name, starting with A
  • by size, starting with small (or empty) files
  • by date, starting with oldest ones

Now the name sorting is ok.

But the first click on size should sort the big ones first – cause most likely the usecase of sorting by size is to find the biggest ones. Also there’s a long tail of very small documents or even empty ones where all are kind of the same. The big ones stand out and should be at the top.

And even more so the date sorting: Old files are much less interesting than recent ones, so the recent ones should be shown up top.

jancborchardt avatar Jun 02 '14 14:06 jancborchardt

Also, hovering the header should show the triangle icon. (Ideally via CSS display:none instead of the way it is now where the class is added via JS.)

jancborchardt avatar Jun 02 '14 14:06 jancborchardt

Hi jancborchardt! It makes sense to keep the bigger and recent files above . I would like to take up this issue. :)

smritigambhir avatar Jun 11 '14 17:06 smritigambhir

@slayah feel free to take it up, your help is appreciated :smile:

PVince81 avatar Jun 12 '14 08:06 PVince81

Can I get your email ID? Had a few doubts

On Thu, Jun 12, 2014 at 2:07 PM, Vincent Petry [email protected] wrote:

@slayah https://github.com/slayah feel free to take it up, your help is appreciated [image: :smile:]

— Reply to this email directly or view it on GitHub https://github.com/owncloud/core/issues/8819#issuecomment-45843188.

Smriti Gambhir Department of Computer Science BITS Pilani K.K. Birla Goa Campus

smritigambhir avatar Jun 12 '14 09:06 smritigambhir

It's better to discuss it openly here.

PVince81 avatar Jun 12 '14 10:06 PVince81

Setting to OC 7 CE

PVince81 avatar Jun 20 '14 09:06 PVince81

Moving to 7.0.1

craigpg avatar Jun 26 '14 16:06 craigpg

@jancborchardt @PVince81 I fixed the sorting ( commit 1a65d09f708f35e9 ) but I am wondering about showing the triangle when hovering. ATM it is showing the triangle in the column on which it is sorted, this looks right to me. Also showing a triangle when hovering with the mouse above a column would show you 2 triangles at the same time, which would be a bit confusing? Or removing the first one, but this would be untrue?

requist avatar Jul 08 '14 18:07 requist

@requist showing 2 triangles at the same time is ok, if one of them is only on hover.

jancborchardt avatar Jul 08 '14 18:07 jancborchardt

Fix is here https://github.com/owncloud/core/pull/9683 Thanks a lot @requist

PVince81 avatar Jul 17 '14 20:07 PVince81