Skip to content

v37: Save ink into file says so when a file can't take ink - #40

Merged
BPMData merged 1 commit into
mainfrom
claude/charming-goodall-yicqqm
Oct 29, 2026
Merged

BPMData merged 1 commit into
mainfrom
claude/charming-goodall-yicqqm

Conversation

@BPMData

@BPMData BPMData commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Small follow-up to #39 (HTML overlay, Settings & help ▸ Save ink into file).

Picking a file that doesn't have OverBoard in it used to look like nothing happened. Now:

  • the button shows Not saved!
  • the status line says in plain words: the file doesn't have OverBoard in it; drop it on the OverBoard app first to make a board copy (reworded in all 8 languages)
  • OverBoard checks the file before asking the browser for permission to edit it, so Chrome no longer asks "allow editing?" for a file that won't be written to

The file is never touched (it wasn't before either).

Tests: a new case in tests/savefile.spec.js (button, message, no permission prompt, file unchanged). The test that rewrites a file and reopens it now skips the browser cache: the local test server only knows file times to the second, so it could serve the old copy under load. The related suites pass locally, run twice each.


Generated by Claude Code

Picking a file without OverBoard in it used to do nothing visible (only a
status line message). Now the button says Not saved!, the message says in
plain words to drop the file on the app first, and OverBoard checks the file
before asking the browser for permission to edit it, so the browser never
asks about a file that won't be written to.

Also makes the savefile test that rewrites a file and reopens it skip the
browser cache, so it can't read the old copy when both happen in one second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ad4FSbRKTiPjbSKtqwcUSJ
@BPMData
BPMData merged commit a2124ed into main Oct 29, 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.

2 participants