Skip to content

Show a green plug beside project settings while VS Code is connected - #3019

Draft
Mbeaulne wants to merge 1 commit into
MB/tangent-chat-referencesfrom
MB/tangent-local-env-status
Draft

Mbeaulne wants to merge 1 commit into
MB/tangent-chat-referencesfrom
MB/tangent-local-env-status

Conversation

@Mbeaulne

@Mbeaulne Mbeaulne commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Intent

Make it obvious at a glance when your own VS Code is connected to a Tangent project, so you know agents can work in your local folder.

Current behavior

  • The only sign that VS Code is connected is inside Project settings, next to "Connect VS Code".
  • From the chat, there's no way to tell whether agents can reach your local workspace without opening settings.

What changes

  • While a VS Code window is connected to the project, a small green plug appears just before the Project settings button at the end of the chat tab strip.
  • Hovering it says "Connected to VS Code" and names the window, or says how many windows are connected.
  • Clicking it opens Project settings, where the connection details already live.
  • When nothing is connected, the plug isn't shown and the bar looks as it does today.

How to test

  1. Open a project in Tangent with VS Code disconnected. Only the folder-cog settings button shows at the end of the chat tab strip.
  2. In Project settings, use "Connect VS Code" to connect a VS Code window to the project.
  3. Close settings. A green plug now shows just before the settings button.
  4. Hover the plug. The tooltip reads "Connected to VS Code · <your window's name>".
  5. Click the plug. Project settings opens.
  6. Connect a second VS Code window and hover again. The tooltip reads "Connected to VS Code · 2 windows".
  7. Close the VS Code windows. The plug goes away.

Checks run on this branch: typecheck, lint, Prettier on the changed files, and knip are clean, and the 503 tests in the Tangent folder pass, including new ones for the plug. Not yet tried in the browser.

Related Issue and Pull requests

Type of Change

  • Improvement

Line Breakdown

Category Added Removed
Production code 54 8
Comments 8 1
Tests 78 1
Total 140 10

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

None yet.

Additional Comments

  • Green, not purple: green already means "connected" in Project settings, so the plug matches it rather than the brand colour.
  • Live updates: the plug uses the same live connection status as Project settings, so it appears and disappears without a reload.

🤖 Generated with Claude Code

Whether an editor was connected was only visible inside Project settings. A
green plug now sits just before the settings button whenever a VS Code
window is connected to the project. Hovering it names the window, or says
how many are connected, and clicking it opens Project settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: MB/tangent-local-env-status/46cb5f6

This branch has not been deployed

No deployments
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