-
Notifications
You must be signed in to change notification settings - Fork 23
Redesigning the error and loading states in the reference demo #226
Conversation
3e1d267
to
dfdfe7d
Compare
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 it locally and it looks good to me!
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.
We should show an error message when the swagger file is invalid. Currently it just gets stuck on the loading screen.
@mjcuva This is ready for review again! |
@mjcuva @rafegoldberg This is ready for review again. I've revised the error states on the preview site to no longer show our debugging "status" text (while retaining it on the demo site since that's more for Explorer development). Preview siteUnable to parse a specUnable to fetch a specDemo siteUnable to parse a specUnable to fetch a spec |
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.
Looks great!
This introduces a few minor redesigns to our https://preview.readme.io/reference/ page and introduces:
Loading state
Better error handling
Old:
Refreshed: