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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Error notification box usage #2005

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

nelsonkopliku
Copy link
Member

Description

A tiny UI improvement in the usage of the notification box (OCD alert 馃槃 )

From

image

image

to

image

image

@jagabomb
Copy link
Contributor

@nelsonkopliku Thanks for this. A small question from a UX point of view in the first scenario regarding the Network error for Cluster Settings, would the Start Execution button still work if the user clicked it or does it stop the user from proceeding?

@nelsonkopliku
Copy link
Member Author

@nelsonkopliku Thanks for this. A small question from a UX point of view in the first scenario regarding the Network error for Cluster Settings, would the Start Execution button still work if the user clicked it or does it stop the user from proceeding?

Thanks @jagabomb, good point!
Currently, the user would still be able to click the Start Execution button.
That button relies only on whether we have a non empty selection for the current target.

Triggering that action results in a message sent in a queue which wanda is responsible to consume, but if wanda is down it would not process anything until it boots up again.

From a user's perspective a loader with the Checks execution starting... message would be shown until wanda is again available and resumes processing messages (if wanda never comes up again the loader stays there indefinitely)

However, I guess I hear you: if we have a networking issue detected when loading the catalog, why should we allow the user to start an execution at all?

If it's ok with you, I would keep further changes on that out of this scope, cause it might involve further details. And we're anyway going to touch soon how that page behaves in these exceptional scenarios.

@jagabomb
Copy link
Contributor

@nelsonkopliku Cool, I hear you. I did not want to add an out of scope task here. I just wanted to mention it while it thinking about the UX. I will proceed to approve the PR since I am happy with the changes so far.

@nelsonkopliku nelsonkopliku merged commit 31bbcd8 into main Nov 16, 2023
34 checks passed
@nelsonkopliku nelsonkopliku deleted the improve-error-notification-box branch November 16, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants