warrenday / graphql-network-inspector

A better network inspector for viewing and debugging GraphQL requests.
MIT License
485 stars 47 forks source link

Makes operation badges red on error #57

Closed mattorchard closed 2 years ago

mattorchard commented 2 years ago

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

error-slide (See the error dot can disappear under other content)

Solved

image image (See the Q appears red in the final row)

Alternatives Considered

Checklist

warrenday commented 2 years ago

Looks great!