fix(web): hide T3 Connect toggle in web app settings
What Changed
- Gate the "T3 Connect" toggle on
window.desktopBridgeso 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
SettingsRowis now conditionally rendered only whenwindow.desktopBridgeis 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
ConfiguredCloudLinkRownow renders only whenwindow.desktopBridgeis 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.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
86612267-b607-414d-ab9f-a12381f97422You can disable this status message by setting the
reviews.review_statustofalsein 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.
Comment @coderabbitai help to get the list of available commands.
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.