feat(threads): add title summary generation and settings#1256
feat(threads): add title summary generation and settings#1256maria-rcks wants to merge 3 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
|
Great work, id propose that we occasionally re-trigger to update the title? |
I thought about this but how do we measure when to re-trigger? Would love Julius comments on this. |
|
also could be a separate pr |
|
Happy for it to be a separate PR |
What Changed
This PR adds title summaries for threads.
Titles are generated based on the first prompt, there is a manual "Generate title summary" action in the thread menu. I also added an option to fchoose which model is being used for this task.
Why
This is better because it makes threads easier to organize and recognize at a glance. When titles reflect what the thread is actually about, it is easier to scan a long list of threads and come back to older work later.
UI Changes
Added thread title summary controls in Settings > Threads and a manual title summary action in the thread context menu.
Checklist
closes #990
Note
Add thread title summary generation via Codex CLI with automatic mode and settings controls
generateThreadTitleRPC (server.generateThreadTitleover WebSocket) that aggregates recent user messages and attachments, calls Codex CLI, and returns a sanitized title (max 60 chars, stripped quotes/extra lines).titleSummaryStatefield (missing|generated|manual) across orchestration events, commands, projections, and the DB schema (migration 016).ChatViewautomatically triggers title generation whentitleSummaryModeis"automatic"; failures surface as an error toast.Sidebarand a new settings page section to configuretitleSummaryModeland toggle automatic title summaries.titleSummaryStateto"manual"and auto-title generation is deferred and async rather than immediate.Macroscope summarized 267b38f.