feat(web): add persisted project notes sidebar#1268
feat(web): add persisted project notes sidebar#1268MaximIJ wants to merge 2 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 approve the review once all CodeRabbit's comments are resolved.Enable the |
|
pls attach images of the ui changes and/or a video demo |
|
A follow-up bug showed up while editing longer notes: under some rerender paths the pending notes flush could run during normal updates and the textarea caret would jump to the end of the note. This PR now keeps the notes editor stable while typing. |



What Changed
Why
This adds a lightweight place to keep notes attached to a thread/project without leaving the app. I find myself coming up with new ideas/approaches while writing prompts and this feels like an easy way to offload those ideas for a later moment while keeping them project scoped and in one place.
A follow-up bug showed up while editing longer notes: under some rerender paths the pending notes flush could run during normal updates and the textarea caret would jump to the end of the note. This PR now keeps the notes editor stable while typing.
UI Changes
Checklist
Note
Add persisted project notes sidebar to the chat view
ProjectNotesSidebarcomponent to the chat view with a resizable, debounced-persist textarea; notes are flushed on blur, unmount, or project change.mod+shift+ekeybinding, or a new 'Toggle Notes' desktop menu item (CmdOrCtrl+Shift+E).notescolumn is added toprojection_projects(migration 016_ProjectionProjectNotes.ts), the decider propagates notes throughproject.meta.updatecommands, and the client store maps notes intoProjectobjects.Macroscope summarized c9d2aaf.