Repository navigation
feat(chat): add Connections to the chat menu and its own page, per brand (W4-25) - #2019
Merged
Merged
Conversation
… Connections page (W4-24) One read of a brand's connection rows (connection-rows.ts) that the agents' checks, Chat's list_connections and the new GET /api/chat/connections all use, and connections.ts building each tool's record for a brand: status, account, who connected it and when, access, what uses it, the agents that would stop on Disconnect, up to two Suggested, and the tools coming soon. Per brand, behind CHAT_AGENTIC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…and (W4-25) The chat menu's Connections row (Manage, and an arrow that opens the brand's tools under it: connected first, then Connect, then Soon; a search over 20) and /dashboard/chat/connections, built like Skills: tabs with counts, groups, search, one card per tool with its status, account, access and what uses it, up to two Suggested. Admins connect through the tool's card in Settings › Integrations (new anchors there) and disconnect after a dialog naming the agents that would stop; others ask their Admin. Soon cards have nothing to click; Request a connection opens the contact page. The plan card's missing-tool line gets Skip. Help article added. Behind CHAT_AGENTIC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-25) Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
previously approved these changes
Nov 2, 2026
Contributor
|
Approved. Small note: with no active brand, |
Search Console and Analytics were read as connected from the brand's picked property alone. Disconnecting Google in Settings deletes the workspace's sign-in but keeps the brand's property, so the Connections page, the chat menu and list_connections went on saying Connected. A property now counts as connected only while its Google sign-in is connected; with the property set and no connected sign-in it shows as failing. connectedKinds takes the sign-ins too, so Suggested and the agents' "would stop" list agree with the status. Called without sign-ins (the agent-run check) it reads as before. The comments no longer claim a record carries no id: Analytics' account is its property id.
gkhngyk
approved these changes
Nov 2, 2026
gkhngyk
previously approved these changes
Nov 2, 2026
8 of 13 tasks
Contributor
|
This PR now conflicts with main: #2012 was squash-merged, so its commits are on main under new hashes. Could you merge main into this branch (or rebase it onto main) and resolve the conflicts? Once CI is green I'll merge it. |
…u (W4-25) Skills has its row now (W3-07): Connections goes under it, as the agentic plan places it, and its Help article says so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
gkhngyk
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Connections in Chat: the chat menu's Connections row and the Connections page, behind
CHAT_AGENTIC(Chat Wave 4, W4-25; agentic plan §6, CHAT-01 item 169; mockup#s-conns). Stacked on #2012, whose one read of a brand's connections both use. Connections are per brand (owner decision 15).Menu row (under Agents; Skills, #2005, goes between them when it lands):
/dashboard/chat/connections(built like Skills):#webflow,#google-analytics,#product-catalog…). Disconnect (CMS sites, Search Console and Analytics for this brand) asks first, says what stops and names the agents that need it and would pause; catalog sources and webhooks are managed in Settings.list_connectionsnow links this page.Plan card: a missing optional tool's amber line says "{Tool} isn't connected. I can do everything else without it." with Connect and Skip.
Help:
help/chat/connections.md(approved: false).Related issue
None. Chat waves plan, Wave 4 (W4-25).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
No migration. No new environment variable.
Screenshots
1024px, light and dark, from a local preview on the dev database (files in
.claude/mockups/w4-ef/):w4-25-menu-connections-open-{light,dark}-1024.png: the chat menu (a drawer below 1100px) with the Connections list open.w4-25-connections-page-{light,dark}-1024.png: the Connections page for the demo brand.Checklist
yarn lintpassesyarn typecheckpassesyarn format:checkpasseshelp/(or no user-visible change)Screens: shown to the owner in a local preview (1024px, light and dark) and approved on 2026-11-02.
CI passed on this branch (31de7e4), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/41489986146): schema is up to date; web
format:check, lint, typecheck, all tests andyarn buildpass; server lint,format:checkand all tests pass.🤖 Generated with Claude Code