woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.3k stars 370 forks source link

Adjustable number of last visited repos #4424

Open zc-devs opened 12 hours ago

zc-devs commented 12 hours ago

Clear and concise description of the problem

Now, last visited repos header have 4 items.

  1. It might confuse, in which directions it is sorted in desktop view. Screenshot 2024-11-21 131025
  2. it might fill too much space on the screen. Screenshot 2024-11-21 175000 ^ almost a half of 4K
  3. One might want to disable this header completely.

Suggested solution

Make the number adjustable. 0 - disabled.

Alternative

Make the number of last visited repos = 2.

Additional context

WP next-350082cd19, Gitea 1.22.3, Postgres 16, Kubernetes v1.30.6+k3s1 https://github.com/woodpecker-ci/woodpecker/pull/4386#issuecomment-2490781907

Validations