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

Add more sorting options to patch views #148

Open
nephros opened this issue Nov 2, 2021 · 0 comments
Open

Add more sorting options to patch views #148

nephros opened this issue Nov 2, 2021 · 0 comments
Labels
enhancement this improves something UX design and behaviour of UI components

Comments

@nephros
Copy link
Contributor

nephros commented Nov 2, 2021

As discussed in PR #44, it would be nice to have more sorting options available for the patch lists.

Quoting @Olf0 in #44 (comment)_

Ideas for sorting options

  • Web catalog
    • By name (alphabetically)
    • By categories (alphabetically) and then (in each category) by name (alphabetically)
    • By stars
    • By downloads
    • [While I am not yet fully convinced that the following are really helpful, you both seem to be]
      • In the weird "unordered" order the web-catalog's web-service sorts them
      • By modification time (i.e., "last updated")
      • By author (alphabetically) and then (for each author) by name (alphabetically)
      • By creation time (i.e., when its first version was uploaded to the web-catalog).
      • By "installed / not installed"
  • List of installed patches
    • By name (alphabetically)
    • By categories (alphabetically, followed by the extra category "RPM patches") and then (in each category) by name (alphabetically)
    • [While I am not yet fully convinced that the following are really helpful, you both seem to be]
      • By the order in which they are applied (see issue 35); i.e., the status quo. Initially this is also the order in which they were installed, until one reorders them manually.
      • By modification time (i.e., "last updated"; do RPMs have an internal time-stamp, which can be queried per rpm utility (IIRC, yes)?)
      • By author (alphabetically) and then (for each author) by name (alphabetically)
      • By creation time (i.e., when its first version was uploaded, but that is not applicable for RPM patches or one would have to query Openrepos, but an RPM-patch could also be from somewhere else).
      • By stars (not for RPMs, or one would have to query Openrepos, but an RPM-patch could also be from somewhere else).
      • By downloads (not for RPMs, or one would have to query Openrepos, but an RPM-patch could also be from somewhere else).

Actually it would be nice to be able to apply multiple sorting criteria at once, but I have no idea how a usable UI for that may look like.
This is why I tried to communicate, to evaluate what is really neded and to set priorities. But maybe there is a way to handle all sensible sorting options in a feasible manner.

P.S.: And I believe the default order should be simply and strictly "by name" (i.e., without taking categories or anything else into account).

@nephros nephros added enhancement this improves something UX design and behaviour of UI components labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement this improves something UX design and behaviour of UI components
Projects
None yet
Development

No branches or pull requests

1 participant