Skip to content

Commit 0845d6c

Browse files
authored
feat(web): add workspace-wide project chat dock (#259)
- Add one project chat dock to every workspace page, with a project picker and a separate draft per project. - Load the projects list only when the dock first opens; fall back to the Assistant links outside the workspace dock instead of throwing. - Keep the dock open across pages; collapse only for focus that follows a Tab into controls the panel hides. - Add a phone scrim and bottom sheet, keep focus inside it, and reserve scroll space on desktop (skipped on short screens). - Cap mounted chat sessions at 3 without dropping drafts or running chats; count an unconfirmed project draft as unsent. - Share one set of planner prefs, AI capabilities and agent settings reads across all embedded chats.
1 parent 4a6245b commit 0845d6c

13 files changed

Lines changed: 1469 additions & 57 deletions

File tree

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ backups/
2828

2929
# Downloaded source and research references remain local-only.
3030
/orbyn-references/
31+
32+
# Local collaboration handoffs.
33+
.collab/tasks/

‎web/src/app/workspace/Chrome.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
} from "../../lib/route-scope";
88
import { Shell } from "../Shell";
99
import { WorkspaceController } from "./controller";
10+
import { WorkspaceProjectChat } from "./ProjectChat";
1011
const inactive = {
1112
pathname: "/app",
1213
search: "",
@@ -88,7 +89,9 @@ export function WorkspaceChrome({
8889
controller={controller}
8990
origin={working?.lease}
9091
>
91-
{children}
92+
<WorkspaceProjectChat controller={controller}>
93+
{children}
94+
</WorkspaceProjectChat>
9295
</Shell>
9396
);
9497
// A closed/missing dock origin must never silently reroute an action to primary.

0 commit comments

Comments
 (0)