-
Notifications
You must be signed in to change notification settings - Fork 179
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
feat(app): add loading state to ODD protocol list #14238
feat(app): add loading state to ODD protocol list #14238
Conversation
name="ot-spinner" | ||
spin | ||
size={SIZE_2} | ||
marginY={'-1.5rem'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used a negative margin here to get around the spinner icon taking up padding room. if someone knows a better way to do that lmk
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## chore_release-7.1.0 #14238 +/- ##
=======================================================
- Coverage 70.41% 70.38% -0.04%
=======================================================
Files 1636 2513 +877
Lines 54490 71461 +16971
Branches 4034 9101 +5067
=======================================================
+ Hits 38371 50298 +11927
- Misses 15420 18944 +3524
- Partials 699 2219 +1520
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works!
Overview
This PR adds a loading state to the protocols list page when there is a pending analysis. This fixes a bug where we were eagerly showing an error state before a protocol finished analyzing.
closes RQA-2137
Risk assessment
Low