Skip to content

feat: mark the demo queries workspace as read-only - #2

Merged
MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-1mbgj6
Oct 6, 2026
Merged

MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-1mbgj6

Conversation

@MathiasVDA

Copy link
Copy Markdown
Contributor

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 addOrUpdateWorkspace whenever the demo workspace is present.

🤖 Generated with Claude Code

https://claude.ai/code/session_01StQ5dk15ErNgjFnErZ7ce4


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01StQ5dk15ErNgjFnErZ7ce4
@MathiasVDA MathiasVDA self-assigned this Oct 6, 2026
@MathiasVDA
MathiasVDA merged commit 40cde63 into main Oct 6, 2026
@MathiasVDA
MathiasVDA deleted the claude/project-thread-1mbgj6 branch October 6, 2026 17:54
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