Skip to content

Don't list archived repositories in the "Add repositories" view #2235

@xoxys

Description

@xoxys

Component

web-ui

Describe the bug

Archived repos are listed in the "Add repositories" view, but can't be enabled, of course.

image

I don't see a value in listing those repos at all, especially as it is not visible for the user if a repo is archived. I think we should remove archived repos entirely, as an alternative, remove the "Enable" button and flag them as "Archived" could work as well. Opinions?

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-4d83ea0d"}

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingforge/githubgithub forge relatedserver

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions