Skip to content

feat: connection chips in chat with one-click "Try in Chat"#3933

Merged
louis030195 merged 3 commits into
screenpipe:mainfrom
Anshgrover23:feat/try-in-chat
Jun 9, 2026
Merged

feat: connection chips in chat with one-click "Try in Chat"#3933
louis030195 merged 3 commits into
screenpipe:mainfrom
Anshgrover23:feat/try-in-chat

Conversation

@Anshgrover23

@Anshgrover23 Anshgrover23 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description:

Screen.Recording.2026-06-09.at.9.05.39.PM.mov
image
  • "Try in Chat" affordance — connected tiles on the Connections page reveal a chat icon on hover that opens a new chat
    pre-filled with a per-connection quickstart prompt and a connection chip.
  • Inline chip — the connection chip (icon + name) renders as an inline prefix on the composer's first line and in the sent
    bubble, matching the chat prompt's text-sm font-mono size and baseline (replaces the old boxed pill).
  • Deletable chip — Backspace/Delete at the start of the input (or the X button) clears the chip.
  • Chip is real context — the connection identity is injected into the model content ([connection: Name] …), and
    copy/paste carries it across chats: pasting a copied chip message into any chat (incl. new chat) reconstructs the chip pill and
    clean prompt.

@Anshgrover23 Anshgrover23 changed the title feat: Try in Chat connection chips with inline prefix + context passthrough feat: connection chips in chat with one-click "Try in Chat" Jun 9, 2026

@louis030195 louis030195 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Anshgrover23 nice feature, left a couple of small things on the input box layout

apps/screenpipe-app-tauri/components/settings/connections-section.tsx:532 — is hardcoding this list of icon keys going to go out of sync?
apps/screenpipe-app-tauri/components/standalone-chat.tsx:9294 — what happens when text scrolls? absolute chip prefix might stay fixed at top

generated by the screenpipe pr-review pipe (https://screenpi.pe), not written by a human — reply and tag @louis030195 if it got something wrong.

@Anshgrover23 Anshgrover23 requested a review from louis030195 June 9, 2026 16:27
…ip prefix with textarea

- INTEGRATION_ICON_KEYS now derived from INTEGRATION_ICONS (no hand-maintained duplicate to drift)
- connection chip prefix scrolls with its line instead of staying pinned at top when input grows past maxHeight
@Anshgrover23

Copy link
Copy Markdown
Contributor Author

@louis030195 Can I get a review on this one ?

Screen.Recording.2026-06-09.at.10.10.57.PM.mov

@louis030195 louis030195 merged commit 0cf77be into screenpipe:main Jun 9, 2026
8 of 9 checks passed
@louis030195

Copy link
Copy Markdown
Collaborator

its kinda redundant with the cards in the chat btw @Anshgrover23

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.

2 participants