Repository navigation
Add Slash Command Entries for Code/Quote Blocks - #126
Merged
Merged
Conversation
- Add comprehensive component architecture guide with templates - Update frontend architecture documentation with new hierarchy - Add critical component architecture section to CLAUDE.md - Establish clear naming conventions: *Node vs *NodeViewer - Provide templates and examples for future development - Document plugin registration patterns and file structure This ensures all future development follows consistent architectural patterns. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add code-block and quote-block commands to textNodePlugin in corePlugins.ts - Add icon display cases for code-square-alt and quote-square-alt in slash-command-dropdown - Commands create proper initial content structure with cursor positioning - Icons reference CSS classes from issue #118 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
#118) - Add code-block and quote-block slash commands with shortcuts (``` and >) - Implement real-time rendering with focus/blur state management - Add visual styling: monospace with background for code, italic with left border for quotes - Support multi-line content with shift+enter functionality - Add cursor positioning: between ``` markers for code, after > for quotes - Include icons: code-square-alt for code blocks, quote-square-alt for quotes - Fix pattern matching for various newline combinations (```\n```, ```\n\n```) - Update contentEditableController for block-level markdown processing - Synchronize pattern detection across base-node.svelte and controller - Remove language labels from demo code block entries - Update test expectations for new slash command counts (6→8 total commands) All 521 tests passing. Ready for review. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
This was referenced Jun 9, 2026
mstomar125
added a commit
that referenced
this pull request
Jun 9, 2026
…37) (#1400) Land the open-core data plane for ADR-037's opt-in restriction: a Core-protected boolean `restrictedToMembers` on the `collection` schema (default false = open/organizational). The Pro RLS layer reads `properties->>'restrictedToMembers'` to gate access (nodespace-sync#124); core only declares the inert, protected property. The member_of edge `permission` (admin/modify/readOnly, default modify) is a free-form property on the native member_of edge — the RLS reads it directly, so no schema change is needed. Toggling restriction is a normal node property update and adding a person member with a permission is a normal member_of relationship create; the Pro-side enforcement flows (auto-admin, last-admin, onboarding) are nodespace-sync#125/#126. Depends on #133 (PersonNode, the person-only membership check). Tests + schema-count asserts updated. Co-authored-by: Mayank Tomar <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
malibio
pushed a commit
that referenced
this pull request
Jun 22, 2026
…37) (#1400) Land the open-core data plane for ADR-037's opt-in restriction: a Core-protected boolean `restrictedToMembers` on the `collection` schema (default false = open/organizational). The Pro RLS layer reads `properties->>'restrictedToMembers'` to gate access (nodespace-sync#124); core only declares the inert, protected property. The member_of edge `permission` (admin/modify/readOnly, default modify) is a free-form property on the native member_of edge — the RLS reads it directly, so no schema change is needed. Toggling restriction is a normal node property update and adding a person member with a permission is a normal member_of relationship create; the Pro-side enforcement flows (auto-admin, last-admin, onboarding) are nodespace-sync#125/#126. Depends on #133 (PersonNode, the person-only membership check). Tests + schema-count asserts updated. Co-authored-by: Mayank Tomar <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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.
Closes #119