Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): signed-out T3 Connect shows a Sign in button #24636

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/24636/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

On 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)
beforeafter desktopafter 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. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      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).
    2. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      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

      Layer / File(s)Summary
      Switch authorization and actions
      apps/web/src/components/settings/SavedEnvironmentRows.tsx
      The 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.
      Priority: Normal

      Estimated code review effort: 2 (Simple) | ~10 minutes

      Change: Bug fix

      Suggested labels: bugfix, size:M

      Suggested reviewers: juliusmarminge

      Merge Risk: Minimal · up to bcdbb

      The signed-out switch opens the sign-in prompt without a duplicate row action. No merge-blocking issue is identified.

      Pre-merge checks: Passed 4
      Check nameStatusExplanation
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Title checkPassedThe title clearly identifies the main change: signed-out users can access a T3 Connect sign-in action.
      Description checkPassedThe 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
      Comment `@coderabbitai help` to get the list of available commands.

Sign in to join this conversation.