woodpecker-ci/woodpecker

Add sorting method to the repos list

Opened this issue · 0 comments

Clear and concise description of the problem

Repos list used to be sorted by name. So, it was kinda static. One could remember at a subconscious level where some repo is. Like: it is somewhere "one scroll from the top" and then "on the middle of the page". So, after "Repositories" clicked, I do one scroll and move pointer to the center of the screen. Then, I find the repo visually, adjust position of the pointer and click.

Now, this list is dynamic, it always changes. I even can do nothing, just hit F5 and there will be completely reordered list, just because my teammates push changes, PRs got merged or some cron jobs.

Suggested solution

It would be great

  1. to have sorting setting like in GitHub
  2. to have sorting order saved somewhere

Alternative

Bring back sorting by name.

Additional context

WP next-350082cd19, Gitea 1.22.3, Postgres 16, Kubernetes v1.30.6+k3s1
#4386 (comment)
#4386 (comment)
#4386 (comment)

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.