[Feedback]: 支持“无项目”对话:新对话默认不绑定项目,项目改为可选

未關閉
#162 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
shell
領域
desktop

研究方向

Start by reading the desktop app’s project and session entry points; the issue does not name specific files or tests. Trace how a new conversation gets its project and working directory, how the “Don't work in a project” choice affects the main view, and how the sidebar groups sessions. Done means a new conversation can start without a project and later conversations retain that choice, while project selection still associates conversations with that project.

由索引模型根據 Issue 內容生成。

描述

enhancement
What problem are you trying to solve?

桌面端每条对话都必须绑定一个项目(工作目录),新建对话会默认落在当前项目里。大量一次性对话(临时脚本、文献阅读、单次问答)堆在同一项目下,侧边栏越来越乱,临时文件也容易混进正式项目目录。

当前版本 v0.1.60:项目切换菜单里有 "Don't work in a project",但选中后只是取消当前项目,主界面进入 "Open a project to begin" 空状态,没有输入框,无法新建对话。也就是说实际上不存在无项目对话。

What would improve it?

新对话默认不绑定任何项目,可以直接开聊(类似 ChatGPT);只有主动创建或选择项目时,对话才归属到该项目。无项目对话使用中立的运行目录(用户主目录或临时目录),不写入任何项目,侧边栏单独归到 "No project" 分组,并且这个选择在后续新建对话中保持。

What do you do today?

为了一次性对话临时新建项目,或者全部塞进同一个 untitled-project;用完手动 Archive 清理侧边栏。纯命令行的场景会用 cmdc --no-session 避免留下会话。

Product area

Projects and sessions

主要語言
Shell
星號
110
分支
9
平均合併
12 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。