Skip to content

fix(site): Don't hide/show errors between failures #5962

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

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

BrunoQuaresma
Copy link
Collaborator

Fix #5822

Reason: The error, for getting info, only should be cleared when it is successful. Doing that before, hides and shows the error between requests.

@BrunoQuaresma BrunoQuaresma requested a review from a team February 1, 2023 18:15
@BrunoQuaresma BrunoQuaresma self-assigned this Feb 1, 2023
@BrunoQuaresma BrunoQuaresma requested review from Kira-Pilot and removed request for a team February 1, 2023 18:15
@@ -291,7 +291,7 @@ export const workspaceMachine = createMachine(
error: {
entry: "assignRefreshWorkspaceWarning",
after: {
"1000": {
"2000": {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I also increased the time between retries to not spam the server

@BrunoQuaresma BrunoQuaresma merged commit c9f3aca into main Feb 2, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-flickering-error-workspace branch February 2, 2023 13:38
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workspace page flashes errors when API key expires
2 participants