Skip to content

Conversation

lchans
Copy link
Collaborator

@lchans lchans commented May 28, 2025

External Links

Description

Couple of changes in this PR:

  1. Set a title prop on the node, so that the node title shows up when the user hovers over it
  2. Remove the title prop on the diagram, so when users hover over the diagram the title does not keep popping up (We never set this prop before in the Relational Migrator diagram)
  3. Co-erce the isConnectable prop to false if not provided; there were some instances where the crosshair would appear, even if not in connection mode.
  4. Change zIndex to z-index - The use of zIndex was throwing an invalid prop error

@lchans lchans force-pushed the bugfix/MIG-6835-fix-titles-and-hover-state branch from c6734b7 to 20a4d3c Compare May 28, 2025 04:35
@lchans lchans changed the title bugfix/MIG-6835 Fix hover state of diagram and nodes bugfix/MIG-6835 Set title prop correctly, co-erce isConnectable value May 28, 2025
@lchans lchans changed the title bugfix/MIG-6835 Set title prop correctly, co-erce isConnectable value bugfix/MIG-6835 Set title prop correctly and co-erce isConnectable value May 28, 2025
@lchans lchans marked this pull request as ready for review May 28, 2025 04:53
@lchans lchans merged commit 23a02f0 into main May 28, 2025
1 check passed
@lchans lchans deleted the bugfix/MIG-6835-fix-titles-and-hover-state branch May 28, 2025 23:57
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.

3 participants