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

Adjustable number of last visited repos #4424

Open
3 tasks done
zc-devs opened this issue Nov 21, 2024 · 2 comments
Open
3 tasks done

Adjustable number of last visited repos #4424

zc-devs opened this issue Nov 21, 2024 · 2 comments
Labels
enhancement improve existing features ui frontend related

Comments

@zc-devs
Copy link
Contributor

zc-devs commented Nov 21, 2024

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
#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.
@zc-devs zc-devs added the feature add new functionality label Nov 21, 2024
@qwerty287 qwerty287 added ui frontend related enhancement improve existing features and removed feature add new functionality labels Nov 21, 2024
@anbraten
Copy link
Member

There was also another idea to pin repos instead.

@zc-devs
Copy link
Contributor Author

zc-devs commented Nov 22, 2024

pin repos

I personally thought about it also, but it is completely different implementation and idea, I wanted to be on the same page with original PR.
Pinning the repos approach solves this FR, #4426 and partially #4428.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features ui frontend related
Projects
None yet
Development

No branches or pull requests

3 participants