Skip to content

Open documents in the workspace, with a chat on each that is kept once used - #1122

Merged
yattias merged 1 commit into
mainfrom
ai-mode-workspace/targets
Oct 8, 2026
Merged

yattias merged 1 commit into
mainfrom
ai-mode-workspace/targets

Conversation

@yattias

@yattias yattias commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

The workspace's URL now names a target: a conversation (?aiChat) or a
document (?aiNote, with ?aiChat for the chat on it) and which pane is
the main one (?aiView=doc). Clicking a conversation opens chat-first;
clicking a document from the sidebar's new Documents section opens it
document-first with a fresh chat beside it, scoped to that note through
the notebook's own chat transport. A header toggle swaps the layout for
the current target; the panes keep their places in the tree and trade
places on screen.

A document's chat is created on its first message, like any other, and
from then on it is listed under Conversations — the assistant listing
now includes notebook chats — and reopens on its document. Rows route
renames and deletes to the surface that serves them, and a chat on a
document never offers to delete the document. The sidebar's Documents
section lists the organization's notes with each one's kind marked by
the money's direction, refetching when the open conversation creates
one.

Verified with type-check, eslint and prettier only.

Stack

Part of turning the AI Mode overlay into a funding workspace (plan and mock decisions in the first PR's thread). Stacked on #1121; merge that first, then this one.

  1. Wrapping AIMode and notebook with publishing provider #1116
  2. Replace the AI Mode document tabs with detail blocks and header publish controls #1118
  3. Share one chat session between the AI Mode overlay and the notebook panel #1117
  4. Start a workspace conversation by saying whether you fund or need funding #1119
  5. Lift the notebook's note listing into a hook and name a note's kind #1120
  6. Break the AI Mode overlay into a shell, a sidebar and the panes #1121
  7. Open documents in the workspace, with a chat on each that is kept once used #1122
  8. Give phones a full-screen view of conversations and documents #1123
  9. Workspace review fixes: one-line sidebar rows, no layout toggle, no notebook link #1124

🤖 Generated with Claude Code

@yattias
yattias requested a review from a team as a code owner September 22, 2026 09:07
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Ready Ready Preview Oct 8, 2026 2:48pm UTC

Request Review

…e used

The workspace's URL now names a target: a conversation (?aiChat) or a
document (?aiNote, with ?aiChat for the chat on it) and which pane is
the main one (?aiView=doc). Clicking a conversation opens chat-first;
clicking a document from the sidebar's new Documents section opens it
document-first with a fresh chat beside it, scoped to that note through
the notebook's own chat transport. A header toggle swaps the layout for
the current target; the panes keep their places in the tree and trade
places on screen.

A document's chat is created on its first message, like any other, and
from then on it is listed under Conversations — the assistant listing
now includes notebook chats — and reopens on its document. Rows route
renames and deletes to the surface that serves them, and a chat on a
document never offers to delete the document. The sidebar's Documents
section lists the organization's notes with each one's kind marked by
the money's direction, refetching when the open conversation creates
one.

Verified with type-check, eslint and prettier only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@yattias
yattias force-pushed the ai-mode-workspace/overlay-shell branch from 0dda936 to 66139d3 Compare October 8, 2026 14:46
@yattias
yattias force-pushed the ai-mode-workspace/targets branch from 6ebd61d to 37d9449 Compare October 8, 2026 14:46
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@yattias
yattias removed this pull request from stack #1146 October 8, 2026 15:07
Base automatically changed from ai-mode-workspace/overlay-shell to main October 8, 2026 15:29
@yattias
yattias merged commit 37d9449 into main Oct 8, 2026
2 of 4 checks passed
@yattias
yattias deleted the ai-mode-workspace/targets branch October 8, 2026 15:29

This branch was successfully deployed

1 active deployment
Preview — 37d9449c Deployed Oct 8, 2026 by vercel[bot]
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