Repository navigation
[Idea] Let a chat created with only a cwd start from the new chat screen #14029
JoblessJoe
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey! I'm building a plugin called deep-projects. It adds projects to dsh: folders with their own goal, notes and chats. On purpose they are not workspaces, so they don't fill up the workspace list.
To start a chat in a project, the plugin calls
sessions.create({ cwd }). That works, but the new chat screen then says "Choose a workspace to start" and won't let me type. Picking a workspace just jumps to another chat. So a chat made with only acwdcan never get its first message.The cause is small. In
ConversationContent.tsx, the workspace chip only falls back to the folder name while the workspace list is still loading. Once the list is loaded, a chat without a workspace gets no title, and that locks the input.This 3-line change fixes it for me:
One side effect: if you delete a workspace, its empty new chat would show the folder name and still work, instead of asking for a workspace. I think that's fine, since the chat still runs in that folder.
A second, smaller wish: a slot in the left sidebar between the panel list and the workspaces (I called it
sidebar.projects), so plugins can show their own rows there. My patch for that is here.Would be great to have one or both of these in dsh. Thanks for building it!
All reactions