Skip to content

feat: v2: Migrate Collapsible Nodes to v2 Editor#2177

Open
camielvs wants to merge 1 commit into04-28-chore_v2_hide_empty_config_sectionfrom
04-28-feat_v2_migrate_collapsible_nodes_to_v2_editor
Open

feat: v2: Migrate Collapsible Nodes to v2 Editor#2177
camielvs wants to merge 1 commit into04-28-chore_v2_hide_empty_config_sectionfrom
04-28-feat_v2_migrate_collapsible_nodes_to_v2_editor

Conversation

@camielvs
Copy link
Copy Markdown
Collaborator

@camielvs camielvs commented Apr 28, 2026

Description

This PR introduces the v1 "Collapsible Nodes" functionality in the v2 editor. Feature parity should be identical. Collapsed state is toggleable via Task Configuration and should be visually the same and functionally the same as v1.

To facilitate this I have renamed the existing v2 "collapsed" nodes (which are the nodes rendered when greatly zxoomed out) to "simplified" nodes. I have done this to reduce in-code confusion about which feature is which (and thus leading to erroneous AI programming).

This PR also fixes an issue where annotations were not carried over when duplicating/copy-pasting a node.

Related Issue and Pull requests

Closes https://github.com/Shopify/oasis-frontend/issues/596

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor

Checklist

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

Screenshots (if applicable)

image.png

image.png

Test Instructions

Select a task in v2 editor. Go to configuration section and toggle "Collapse Node" on. Confirm that collapsed Node behaviour is identical to v1 editor. (unused inputs & outputs are hidden & collapsed state can be expanded by clicking the row).

Additionally, confirm that the existing v2 "collapse" functionality (now renamed to "simplified") also continues to work as expected - i.e. when zooming out the simplified node style will be rendered.

Additional Comments

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

🎩 Preview

A preview build has been created at: 04-28-feat_v2_migrate_collapsible_nodes_to_v2_editor/dd0c59c

Copy link
Copy Markdown
Collaborator Author

camielvs commented Apr 28, 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.

@camielvs camielvs marked this pull request as ready for review April 28, 2026 22:15
@camielvs camielvs requested a review from a team as a code owner April 28, 2026 22:15
@camielvs camielvs force-pushed the 04-28-feat_v2_migrate_collapsible_nodes_to_v2_editor branch from b9ceeb6 to c65a422 Compare April 28, 2026 22:25
@camielvs camielvs force-pushed the 04-28-chore_v2_hide_empty_config_section branch from 0da5f93 to 365985e Compare April 30, 2026 00:40
@camielvs camielvs force-pushed the 04-28-feat_v2_migrate_collapsible_nodes_to_v2_editor branch from c65a422 to dd0c59c Compare April 30, 2026 00:40
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.

1 participant