t3code icon indicating copy to clipboard operation
t3code copied to clipboard

fix(web): hide T3 Connect toggle in web app settings

Open JoeJoeflyn opened this issue 4 months ago • 2 comments

What Changed

  • Gate the "T3 Connect" toggle on window.desktopBridge so it only renders in the desktop app.

Why

T3 Connect managed tunnel is desktop-only. The web app showed the toggle (off by default), making it look like the environment isn't connected when it is. "Publish agent activity" stays — it works without a tunnel.

Closes #5046.

Checklist

  • [x] This PR is small and focused
  • [x] I explained what changed and why
  • [x] No UI changes to screenshot (hiding a row)

[!NOTE]

Hide T3 Connect toggle in web app settings when not running on desktop

In ConnectionsSettings.tsx, the T3 Connect SettingsRow is now conditionally rendered only when window.desktopBridge is truthy, hiding it in the web app where it has no effect.

Macroscope summarized 32d032f.


[!NOTE] Low Risk UI-only conditional rendering in settings; no changes to cloud link or tunnel logic.

Overview The T3 Connect settings row in ConfiguredCloudLinkRow now renders only when window.desktopBridge is present, so the hosted web app no longer shows a managed-tunnel toggle that only applies to the desktop app.

Publish agent activity is unchanged and still appears in the web app, since mobile publishing does not require a T3 Connect tunnel.

Reviewed by Cursor Bugbot for commit 32d032f535b21422a1af6bd686f6f5096da8ac0d. Bugbot is set up for automated code reviews on this repo. Configure here.

JoeJoeflyn avatar Jul 31 '26 03:07 JoeJoeflyn

[!IMPORTANT]

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 86612267-b607-414d-ab9f-a12381f97422

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • [ ] 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot] avatar Jul 31 '26 03:07 coderabbitai[bot]

Approvability

Verdict: Approved 32d032f

This is a simple UI visibility change that conditionally hides the T3 Connect toggle in web app settings when window.desktopBridge is not present. No logic changes - just adding a conditional render wrapper to hide a desktop-only feature in the web context.

You can customize Macroscope's approvability policy. Learn more.

macroscopeapp[bot] avatar Jul 31 '26 03:07 macroscopeapp[bot]