Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Render connection status as an overlay toast anchored to ChatInputSection (same placement as the provider-not-configured toast), avoiding layout shift in the creation screen and workspace chat view.

Validation:

  • make static-check

Generated with mux β€’ Model: openai:gpt-5.2 β€’ Thinking: xhigh

Show connection status as an overlay toast anchored to ChatInputSection to avoid layout shifts in creation + workspace views.

---

_Generated with `mux` β€’ Model: `openai:gpt-5.2` β€’ Thinking: `xhigh`_
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

>
<div className={cn("w-full", variant !== "creation" && "mx-auto max-w-4xl")}>
{/* Toast - show shared toast (slash commands) or variant-specific toast */}
{!activeToast && <ConnectionStatusToast />}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Show connection status even with other chat toasts

Rendering ConnectionStatusToast only when activeToast is null means any existing chat toast (including sticky error toasts from slash-command failures) hides the degraded/reconnecting/lost-connection banner. If the connection drops while an unrelated toast is open, the user will never see the warning or retry button until they manually dismiss that toast, whereas the previous indicator remained visible. This makes connectivity issues invisible during common error flows.

Useful? React with πŸ‘Β / πŸ‘Ž.

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.

1 participant