Skip to content

Respect disableFileOperations and disablePersist in the welcome screen and save shortcut - #65

Merged
mikebarkmin merged 1 commit into
mainfrom
fix/host-file-operations
Oct 28, 2026
Merged

mikebarkmin merged 1 commit into
mainfrom
fix/host-file-operations

Conversation

@mikebarkmin

Copy link
Copy Markdown
Member

Hosts that keep the learning map file themselves (Hyperbook Cloud's editor) set disableFileOperations and disablePersist. Some parts of the editor ignored them:

  • The welcome screen offered "Open file" and said "All data is stored locally in your browser".
  • Ctrl/⌘+S downloaded learningmap.json, on top of the host's own save.

Now the welcome screen leaves those out, and the save shortcut is left to the host when file operations are disabled. The editor web component also accepts disable-persist.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
learningmap Ready Ready Preview Oct 28, 2026 4:46pm UTC

@mikebarkmin
mikebarkmin merged commit f909d1d into main Oct 28, 2026
3 checks passed
@mikebarkmin
mikebarkmin deleted the fix/host-file-operations branch October 28, 2026 17:03
@github-actions github-actions Bot mentioned this pull request Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview — 684efc16 Deployed Oct 28, 2026 by vercel[bot]
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