Repository navigation
Add pinned workspace chats and simplify view creation - #151
Conversation
# Conflicts: # client/app/routes/WorkspaceRoute.tsx # client/features/chat/applet-chat-intents.test.ts # client/features/chat/applet-chat-intents.ts # client/features/chat/sessions/useSelectedSession.ts # client/features/chat/useChat.ts # client/features/views/api.ts # client/features/views/useViewBuilderActions.ts # client/features/workspace/WorkspaceScreen.tsx # client/features/workspace/useWorkspaceNavigation.ts # docs/navigation.md # docs/rfc-intents-v2.md # lib/moi-context.ts # lib/types.ts # server/api.ts # server/web.ts
|
Things I suggest fixing here. In the pending view chat, this context is attached to every message: my suggestions:
sometrhing like |
molefrog
left a comment
There was a problem hiding this comment.
looks good! listed things to address next.
the only required thing is the context prompt rephrasing
|
Also, I think this one is important. Chat context breaks when chat is pinned:
|
|
This PR will probably fix #108 UPD: tested it and it should work fine!
|
cfbc988 to
b366d2c
Compare

Pinned workspace chats stay visible while switching tabs, and the selector shows the chat name with pin/unpin controls. Views keep one permanent ID and tab from the initial sketch through the compiled applet, preserving their chat history. CLI view creation opens the new view before returning in both handoff and pinned in-place modes.
{"viewId":"abc123","mode":"handoff","sessionId":"child-session-id"}A handoff starts the build in a child chat. A pinned in-place build continues in the current chat while opening the new view. Navigation failure returns the created IDs with a warning, so the agent can link to the existing view.
Overview history is grouped by day and excludes view chats. The workspace skill covers provisional title/icon updates, focused checks, bundling, and the final view link.
Review these boundaries closely:
See the lifecycle notes for ownership, completion, and failure behavior.
Verification: earlier branch checks passed
bun test(2,001 passed, 4 skipped) and browser checks of docked/popup chat headers and pin toggling. The navigation fix passed 9 focused tests (bun test server/test/view-create-cli.test.ts server/test/navigation-cli.test.ts server/test/skills-template.test.ts),bun run typecheck, and lint/formatting hooks.