Skip to content

feat(canvas): add edge labels, block reactions & fix(auth): optimize session hydration#43

Merged
3xpyth0n merged 2 commits intomainfrom
feat/blocks_reactions-&-edge_labels
Feb 15, 2026
Merged

feat(canvas): add edge labels, block reactions & fix(auth): optimize session hydration#43
3xpyth0n merged 2 commits intomainfrom
feat/blocks_reactions-&-edge_labels

Conversation

@3xpyth0n
Copy link
Owner

🚀 Changes

This PR introduces major collaboration features for the canvas and includes critical authentication fixes and optimizations.

🎨 Canvas Features

  • Edge Labels: Added support for labeling connections between blocks.
    • Interaction: Double-click an edge to edit its label inline.
  • Block Reactions: Implemented emoji reactions for all block types.

🔐 Authentication & Performance (#42)

  • Session Fix: Resolved an issue where ownerId could be null by adding a fallback to token.sub.
  • Optimization: Refactored the jwt callback to skip redundant database queries when using the credentials provider (user data is now extracted directly from the authorized user object).

- Add support for labeling edges with inline editing on double-click
- Implement emoji reactions on blocks
- Fix null `ownerId` in session by adding fallback to `token.sub`.
- Optimize `jwt` callback to avoid redundant DB queries for Credentials provider.
@3xpyth0n 3xpyth0n self-assigned this Feb 15, 2026
@3xpyth0n 3xpyth0n added enhancement New feature or request fix This PR fixes an issue/bug labels Feb 15, 2026
@3xpyth0n 3xpyth0n merged commit 60d7e1b into main Feb 15, 2026
6 checks passed
@3xpyth0n 3xpyth0n deleted the feat/blocks_reactions-&-edge_labels branch February 15, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fix This PR fixes an issue/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant