Skip to content

Make VisualizerNode styling props transient#395

Merged
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:fix/visualizer-node-transient-props
Jun 12, 2026
Merged

Make VisualizerNode styling props transient#395
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:fix/visualizer-node-transient-props

Conversation

@blaipr

@blaipr blaipr commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

SUMMARY

Follow-up to #380, which merged just before its last review fix was pushed — this recovers that commit. NodeG's cursor styling read a non-transient job prop and NodeContents read isInvalidLinkTarget directly; under styled-components 6 (now on main) both are forwarded to the underlying <g>/<div> DOM elements. Both props are now $-prefixed transient props, matching the rest of the migration, so nothing custom reaches the DOM.

Addresses the two Copilot review comments on #380 (made there after merge, recorded in the PR thread).

ISSUE TYPE

  • Bug, Docs Fix or other nominal change

COMPONENT NAME

  • UI

ASCENDER VERSION

awx: 25.4.1.dev11+g51188f0

ADDITIONAL INFORMATION

npx jest src/screens/Template/WorkflowJobTemplateVisualizer   # 119 passed
npm --prefix awx/ui run lint                                  # clean
npm --prefix awx/ui run build                                 # succeeds

Independent of the four open PRs (#385, #390, #392, #393) — verified via git merge-tree.

NodeG's cursor styling read a non-transient job prop and NodeContents
read isInvalidLinkTarget directly; styled-components v6 forwards both
to the underlying <g>/<div>. Both are now $-prefixed transient props,
matching the rest of this migration.
@blaipr

blaipr commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Verified against current main (51188f0) and conflict-free against the other four open PRs (#385, #390, #392, #393) — ready to merge in any order. No review comments outstanding.

@cigamit cigamit merged commit 3946cc5 into ctrliq:main Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants