Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary and secondary sorting of files and folders #350

Open
IvanaBlzvc opened this issue Nov 1, 2023 · 0 comments
Open

Primary and secondary sorting of files and folders #350

IvanaBlzvc opened this issue Nov 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Priority High

Comments

@IvanaBlzvc
Copy link
Collaborator

This came up in the standup call today.

Scenario:

  • if a repository contains various files of the same size, for example 1MB, and the user selects size to sort by, then they would probably expect to see the files sorted by size AND by name. So size would be the primary sort, and the name would be secondary/.
  • user doesn't have to select the the secondary one... it will be done automatically.
  • similar kind of scenario would be if repository contains files and folders, and the user selects sort by type. The usual way would be to show all the folders first, then all the files of type doc, all the files of type jpeg etc...
  • Within each group, though, there would also be a secondary sort - meaning that the folders would also be sorted by name and not placed on screen in random order. All the docs would also be sorted by name, and all the jpegs and so on. The 'name' in this case would be the secondary sort.
    Some questions:
    -should the primary and secondary sort always go in the same direction? Should they both be either asc or desc?
  • should folders always be on top of screen and files underneath them?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority High
Projects
None yet
Development

No branches or pull requests

2 participants