Skip to content

Make Scratchpad work with existing file editor APIs - #37

Merged
AmethystLiang merged 2 commits into
mainfrom
AmethystLiang/scratchpad-file
Oct 30, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
AmethystLiang/scratchpad-file

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Scratchpad now opens .scratchpad files with Orca's existing custom-editor document API. This replaces the sidebar implementation, whose persistence depended on an unreleased private storage API. Works with Orca >=1.4.245 and requests no capabilities.

Create an empty notes.scratchpad file, open it, and use the checklist UI. Save with Cmd+S / Ctrl+S. Orca owns the document buffer, file writes, dirty state, and remote file handling. Invalid and read-only files disable editing; failed edits remain available for retry; external changes while editing block overwrites and preserve local text.

Validation: five document-controller tests pass. Chromium loads the generated inline bundle in the released Orca editor frame shell with its sandbox CSP and accepts checklist entries without script errors. Manifest validates with the CI-pinned validator; release metadata generated with release-entry.mjs.

@AmethystLiang
AmethystLiang merged commit f5fb96f into main Oct 30, 2026
1 check passed
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.

1 participant