When the operation column is shrunk or when there are operations with long names the error indicator can be hidden behind a scrollbar.
To ensure requests with errors are always visible: this PR makes the operation badge appear red when there are one or more errors in the response body.
Screenshot
Problem
(See the error dot can disappear under other content)
Solved
(See the Q appears red in the final row)
Alternatives Considered
Tried setting the entire operation name to red.
Did not pass contrast guidelines
Tried setting a red underline under each.
Colored text decoration not present in this version of tailwind
Checklist
[X] Displays correctly with both dark and light mode (see useTheme.ts)
Description
When the operation column is shrunk or when there are operations with long names the error indicator can be hidden behind a scrollbar.
To ensure requests with errors are always visible: this PR makes the operation badge appear red when there are one or more errors in the response body.
Screenshot
Problem
(See the error dot can disappear under other content)
Solved
(See the Q appears red in the final row)
Alternatives Considered
Checklist
Unit/Integration tests added