diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-05 06:01:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-05 06:01:13 -0500 |
| commit | ecfc66294e57788df715c98297ef425fd9dbd9ef (patch) | |
| tree | 0142d54735b4a778bad0babc5d55dad18f624469 /README.org | |
| parent | 877c104bfa8497324de45b2fef96dd4520da07e4 (diff) | |
| download | pearl-ecfc66294e57788df715c98297ef425fd9dbd9ef.tar.gz pearl-ecfc66294e57788df715c98297ef425fd9dbd9ef.zip | |
feat(render): save the buffer to disk after a fetch or refresh
The full-replace render saved the Org file, but the in-place paths didn't, so a refresh or a comment fetch left the buffer modified-but-unsaved and the file on disk stale. Five paths now save through pearl--save-if-visiting: refresh-current-view, refresh-current-issue, fetch-all-comments, create-comment, and the merge branch of a dirty source-switch.
The helper saves only when the buffer visits a file, so it's a no-op in a test buffer. Saving the Org file never pushes to Linear, so an unpushed edit still waits for pearl-save-issue. This only keeps the disk copy in step with what's on screen. fetch-all-comments surfaced the gap first. An audit turned up the other four.
Diffstat (limited to 'README.org')
0 files changed, 0 insertions, 0 deletions
