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

Do not show last visited repos if there is less than 4 in total #4517

Open
3 tasks done
zc-devs opened this issue Dec 6, 2024 · 0 comments
Open
3 tasks done

Do not show last visited repos if there is less than 4 in total #4517

zc-devs opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement improve existing features ui frontend related

Comments

@zc-devs
Copy link
Contributor

zc-devs commented Dec 6, 2024

Clear and concise description of the problem

It doesn't make much sense to duplicate the repositories in the last visited block too, if there are <=4 in total
Screenshot 2024-12-06 1

Besides, odd number of items look not so smooth.

Suggested solution

Do not display last visited block if there are only four repositories

Alternative

Use repos pinning

Additional context

Woodpecker next-9f0611d1a1, Gitea 1.22.4, Postgres 16

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 Dec 6, 2024
@zc-devs zc-devs changed the title Do not show last visited repos if there is the only one Do not show last visited repos if there is less than 4 in total Dec 6, 2024
@qwerty287 qwerty287 added ui frontend related enhancement improve existing features and removed feature add new functionality labels Dec 8, 2024
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

2 participants