Skip to content

fix: v2 - rectangle selection of one node#2195

Open
maxy-shpfy wants to merge 1 commit into05-01-fix_v2_-_proper_undo_for_del_action_on_canvasfrom
05-03-fix_v2_-_rectangle_selection_of_one_node
Open

fix: v2 - rectangle selection of one node#2195
maxy-shpfy wants to merge 1 commit into05-01-fix_v2_-_proper_undo_for_del_action_on_canvasfrom
05-03-fix_v2_-_rectangle_selection_of_one_node

Conversation

@maxy-shpfy
Copy link
Copy Markdown
Collaborator

@maxy-shpfy maxy-shpfy commented May 3, 2026

Description

When a single node is selected in the editor, selectNode is now explicitly called with the node's id and type. Previously, single-node selections only cleared the multi-selection state without triggering selectNode, which could leave the editor in an inconsistent selection state.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • Improvement
  • New feature
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Before:
Screen Recording 2026-05-03 at 4.30.30 PM.mov (uploaded via Graphite)

After:
Screen Recording 2026-05-03 at 4.31.19 PM.mov (uploaded via Graphite)

Test Instructions

  1. Open the editor and using Shift+Drag select ONE node (maybe plus edge).
  2. Verify that the node becomes properly selected and its properties/details are reflected in the editor panel.
  3. Select multiple nodes and confirm multi-selection behavior still works as expected.
  4. Deselect all nodes and confirm the editor clears the selection state correctly.

Additional Comments

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

🎩 Preview

A preview build has been created at: 05-03-fix_v2_-_rectangle_selection_of_one_node/925dda5

Copy link
Copy Markdown
Collaborator Author

maxy-shpfy commented May 3, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@maxy-shpfy maxy-shpfy force-pushed the 05-01-fix_v2_-_proper_undo_for_del_action_on_canvas branch from 5a1f6ef to 4b8814b Compare May 5, 2026 05:48
@maxy-shpfy maxy-shpfy force-pushed the 05-03-fix_v2_-_rectangle_selection_of_one_node branch from 7fa01d0 to 925dda5 Compare May 5, 2026 05:48
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