Skip to content

Conversation

@jog1t
Copy link
Contributor

@jog1t jog1t commented Sep 2, 2025

TL;DR

Fixed the disconnected state in the ConnectionStatus component to only display when there's an actual error.

What changed?

  • Uncommented the if (isError) condition that was previously commented out
  • Moved the disconnected state UI inside the conditional block
  • Added the link icon as a startIcon prop to the Button component instead of as a child element

How to test?

  1. Intentionally cause a connection error in the application
  2. Verify that the disconnected state UI only appears when there's an actual error
  3. Check that the "Reconnect" button displays correctly with the link icon

Why make this change?

The disconnected state was previously always showing regardless of connection status because the conditional check was commented out. This change ensures the error UI only displays when there's an actual connection error, improving the user experience by providing accurate connection status information.

@jog1t jog1t marked this pull request as ready for review September 2, 2025 13:01
@vercel
Copy link

vercel bot commented Sep 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rivet-site Building Building Preview Comment Sep 2, 2025 1:01pm

Copy link
Contributor Author

jog1t commented Sep 2, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@claude
Copy link

claude bot commented Sep 2, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 2, 2025

Merge activity

  • Sep 2, 1:02 PM UTC: jog1t added this pull request to the Graphite merge queue.
  • Sep 2, 1:02 PM UTC: CI is running for this pull request on a draft pull request (#2850) due to your merge queue CI optimization settings.
  • Sep 2, 1:03 PM UTC: Merged by the Graphite merge queue via draft PR: #2850.

graphite-app bot pushed a commit that referenced this pull request Sep 2, 2025
### TL;DR

Fixed the disconnected state in the ConnectionStatus component to only display when there's an actual error.

### What changed?

- Uncommented the `if (isError)` condition that was previously commented out
- Moved the disconnected state UI inside the conditional block
- Added the link icon as a `startIcon` prop to the Button component instead of as a child element

### How to test?

1. Intentionally cause a connection error in the application
2. Verify that the disconnected state UI only appears when there's an actual error
3. Check that the "Reconnect" button displays correctly with the link icon

### Why make this change?

The disconnected state was previously always showing regardless of connection status because the conditional check was commented out. This change ensures the error UI only displays when there's an actual connection error, improving the user experience by providing accurate connection status information.
@graphite-app graphite-app bot closed this Sep 2, 2025
@graphite-app graphite-app bot deleted the 09-02-fix_inspector_use_proper_status_indicator branch September 2, 2025 13:03
@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 2, 2025

Graphite Automations

"Test" took an action on this PR • (09/02/25)

1 assignee was added to this PR based on Kacper Wojciechowski's automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants