Skip to content

After adding a repository the cluster is undefined #616

Closed

Description

@mittler-works

Description

After adding a new repository, one will be redirected to a path like /#/repository/netbox.

If then going back to "installed" tab, the path will be something like /#/undefined/installed/ and it errors, as "undefined" is obviously not an existing cluster in our environment:

Image

After clicking the banner away and selecting the current cluster everything is again working fine, but especially after an initial installation of helm-dashboard when I need to import quite many repositories, this is quite annoying.

Screenshots

No response

Additional information

No response

Activity

  1. undera commented on Nov 5, 2025

    @undera
    Collaborator

    Thanks for reporting. We would need somebody with ReactJS frontend skills to help on this.

  2. Vedant5125 commented on Jan 8, 2026

    @Vedant5125
    Contributor

    Hi @undera,

    I'd like to work on this issue! I've been investigating the routing locally and identified the root cause of the /undefined/installed/ redirection.

    Findings:

    • The issue is caused by inconsistent path handling in the Header and RepositoryPage.
    • Switching from relative paths to root-relative paths in the navigation links, and standardizing how the context (cluster) parameter is handled, prevents losing the cluster name.
    • This also fixes URL segment doubling when adding new repositories.

    I have a fix ready that ensures the cluster context is preserved across tab switches and after adding a new repository. Could you please assign this issue to me so I can submit a PR?

    Thanks!

  3. undera commented on Jan 8, 2026

    @undera
    Collaborator

    There is no formal assignment process, just bring the PR
    Beware though that relative navigation is important for the cases where ingress exposes the application from unpredictable root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址