fix(web): signed-out T3 Connect shows a Sign in button #24636
main fromrefs/pull/24636/head·merged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubOn desktop, a user who was signed out of T3 Connect could not turn on T3 Connect in Settings > Connections. The switch was disabled, and the only hint was a tooltip on the disabled control.
Now, when you are signed out, the row shows a Sign in button instead of a switch. It opens the same T3 Connect sign-in as the sidebar button.
- Desktop: the T3 Connect row gets the button. Publish agent activity and Hold webhooks hide until you sign in.
- Web (no T3 Connect row): the Publish agent activity row gets the button.
- After a fresh sign-in, the existing Connect onboarding dialog opens and offers linking and publishing, so the flow completes there.
- While Clerk loads, the switches stay disabled, so the sign-in button does not flash.
| Before (signed out, desktop) | After (signed out, desktop) | After (signed out, web) |
|---|---|---|
![]() | ![]() | ![]() |
Proof: vp run check:changed passes. A temporary browser test (not committed) rendered CloudLinkRow with Clerk and the cloud controller mocked. Signed out on desktop it showed 1 Sign in button and 0 switches. Signed out on web it showed the Publish row with the button. Signed in and loading showed 2 switches. Clicking Sign in called the auth prompt once. The real Clerk modal was not exercised, because the production key does not load on a localhost dev origin.
Reviewed with sol-loop: 1 round with GPT-6.1 Sol. Sol verdict: approved
Created with Claude Opus 5.5 in T3 Code via the Claude Code harness.
🤖 Generated with Claude Code
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: t3/fix-connect-sign-in-flow
- File: .coderabbit.config.ts
- Commit: bcdbb3b
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Team
- Run ID:
7abde7e3-150c-437b-ba31-b6efcf4c8219
Commits-
Reviewing files that changed from the base of the PR and between 453bf01d2068758fac79f9aa74099b2e85bbc719 and bcdbb3ba815141cd8005b10997f224ceae1c2be8.
Files selected for processing: 1-
apps/web/src/components/settings/SavedEnvironmentRows.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
-
Walkthrough
-
Configured cloud-link settings now keep switches enabled for signed-out users when relay management is authorized. Selecting a switch opens the T3 Connect sign-in prompt. Loading, missing or pending signed-in data, denied permission, and active updates still disable switches. Signed-in users retain their existing update actions.
Changes: Cloud-link settings
Priority:Layer / File(s) Summary Switch authorization and actions
apps/web/src/components/settings/SavedEnvironmentRows.tsxThe switches share a disabled condition. Signed-out users can select the T3 Connect, agent-activity, and offline-webhook switches to open the auth prompt. Signed-in users retain their update actions. NormalEstimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested labels:
bugfix,size:MSuggested reviewers:
juliusmarminge
Merge Risk:
Minimal · up tobcdbb-
The signed-out switch opens the sign-in prompt without a duplicate row action. No merge-blocking issue is identified.
Pre-merge checks:
4-
Check name Status Explanation Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Title check The title clearly identifies the main change: signed-out users can access a T3 Connect sign-in action. Description check The description clearly explains the problem, behavior changes, screenshots, focused verification, test limitations, and agent usage. It does not include a dedicated Scope and approval section or expl… Full details: Description check
-
Explanation
The description clearly explains the problem, behavior changes, screenshots, focused verification, test limitations, and agent usage. It does not include a dedicated Scope and approval section or explain why no issue or maintainer approval was required, but the description is otherwise substantially complete.
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
-
t3dotgg(GitHub profile, opens in a new tab) changed the title
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.



Approvability#
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — This focused UI fix replaces disabled T3 Connect controls with Clerk sign-in actions for signed-out users and adjusts which settings rows are shown. Because it changes authentication-related production behavior, human review is warranted.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).