Refactor Messages System: Categorization, Editing, and Metadata#148
Refactor Messages System: Categorization, Editing, and Metadata#148
Conversation
…data - Added `category` attribute to `MessageThread` and updated storage to use subdirectories. - Updated `Application._load_persisted_threads` to recursively load threads. - Refactored `ChatList` to use a `Tree` widget for categorized thread display. - Added `/thread move` and `/category create` commands. - Added `edit_message` and `delete_message` methods to `MessageThread`. - Added `/message edit` and `/message delete` commands. - Updated `MessageBubble` UI with Edit/Delete buttons and inline editing. - Updated `ChatViewWidget` to handle message updates and display thread mode. - Refactored `MessageService.stream_message` to append user messages instead of overwriting history, preserving metadata and edits. - Added metadata support (e.g., model name) to messages. Co-authored-by: presstab <6628210+presstab@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR refactors the message system to introduce thread categorization, message editing/deletion capabilities, and metadata tracking. Threads are now stored in category-based subdirectories within
.jrdev/threads/. The UI has been updated to display threads in a tree view and allows inline editing of user messages. The backend now supports appending messages to the thread history without overwriting, enabling persistent edits and metadata storage.PR created automatically by Jules for task 11310598638947422639 started by @presstab