forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: render errors in Loading component
Previously, data fetching errors were not being consistently surfaced to the user. This commit updates all existing uses of the Loading component to surface these errors: - Some parent components render data from multiple sources, potentially having multiple errors to show the user. This commit also extends the Loading component to handle multiple errors. - The Certificates page had custom loading logic. This commit replaces logic with Loading component. Also in this commit is some minor cleanup (copy, layout). Fixes: cockroachdb#24011 Release note (admin ui change): This commit wires up data errors to all existing uses of the Loading component. Previously, data errors weren't consistently surfaced.
- Loading branch information
Showing
4 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters