Skip to content

feat: persist editor mode selection between plan reviews#126

Merged
backnotprop merged 1 commit intobacknotprop:mainfrom
rcdailey:feat/persist-editor-mode
Feb 7, 2026
Merged

feat: persist editor mode selection between plan reviews#126
backnotprop merged 1 commit intobacknotprop:mainfrom
rcdailey:feat/persist-editor-mode

Conversation

@rcdailey
Copy link
Contributor

@rcdailey rcdailey commented Feb 2, 2026

Summary

  • Adds persistent state for the editor mode (Selection, Comment, Redline) buttons
  • The last selected mode is now remembered between plan reviews using cookie-based storage
  • Follows the existing pattern used for taterMode, agentSwitch, and other settings

Changes

  • New packages/ui/utils/editorMode.ts utility with getEditorMode() and saveEditorMode() functions
  • Updated packages/editor/App.tsx to initialize state from storage and save on mode change

@backnotprop
Copy link
Owner

I just got back from my only vacation this year and will get these PRs going.

@rcdailey
Copy link
Contributor Author

rcdailey commented Feb 5, 2026

Shame on you for enjoying a vacation instead of slaving away on PRs!

I'm kidding 🤣

Thank you and welcome back!

@backnotprop backnotprop merged commit 881ba9b into backnotprop:main Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants