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

frontend: ClusterNotFoundPopup: Fix to work with multi clusters #2512

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

illume
Copy link
Collaborator

@illume illume commented Nov 3, 2024

Now when there's a wrong cluster name in the URL when using multiple clusters it also gives a cluster not found alert message for each cluster not found.

How to test

  • Add two clusters with + between then in the URL, one should be wrong, then see cluster not found message

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 3, 2024
@illume illume added bug Something isn't working frontend Issues related to the frontend multi Multi cluster aggregated view labels Nov 3, 2024
Now when there's a wrong cluster name in the URL when using
multiple clusters it also gives a cluster not found alert
message for each cluster not found.

Signed-off-by: René Dudfield <[email protected]>
@illume illume requested review from a team and vyncent-t November 4, 2024 06:40
Copy link
Collaborator

@joaquimrocha joaquimrocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this show a popup per cluster? I think this UX could be unnerving for the user. I had actually disabled the popup when in multi-cluster.
c42f7b2

Can't remember exactly but I think I had tried to add the cluster problems in the main view, to be expanded at will.

@illume
Copy link
Collaborator Author

illume commented Nov 8, 2024

I don't think completely disabling the alert is a good idea.

It's most likely every single cluster won't break at the same time.

How about:

  • There is already a note in the main view cluster list about the clusters being down.
  • I limit the amount of popups for max 2 clusters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Issues related to the frontend multi Multi cluster aggregated view size:S This PR changes 10-29 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants