Repository navigation
feat: mark the demo queries workspace as read-only - #2
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01StQ5dk15ErNgjFnErZ7ce4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Mathias · project thread
Part of Matdata-eu/MatGUI#187, depends on Matdata-eu/MatGUI#193.
Before: demo queries can be saved back to the "MatGUI demo queries" workspace, and it is offered as a target for new queries.
After: the demo workspace is registered with
readOnly: true. Once the site uses a MatGUI release that includes MatGUI#193, demo queries can still be opened, but edits can only be saved as a copy in another workspace. Older versions (the current 6.4.0 pin) ignore the flag, so this is safe to merge before the release.How: existing visitors pick up the flag too, because the registration code already calls
addOrUpdateWorkspacewhenever the demo workspace is present.🤖 Generated with Claude Code
https://claude.ai/code/session_01StQ5dk15ErNgjFnErZ7ce4
Generated by Claude Code