Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Canvas): Disable steps #1065

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented May 6, 2024

Note

This PR is still a draft because the disabling effect should be more explicit

Context

Some EIPs provide a disabled property to ignore them during the runtime.

Changes

This commit adds quick access to that property, so users can easily enable/disable nodes in the canvas. In addition to that, the step is grayed out when disabled.

Screenshots

Disabled Enabled
image image

fix: #758
fix: #699

Copy link
Member

@apupier apupier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • it would be nice if we can keep the state of close/open configuration panel when enabling/disabling (but I think this is something that can be tackled in another iteration)
  • manually testing locally in standaloen mode, not detected other problems/improvements

Some EIPs provide a `disabled` property to ignore them during the
runtime.

This commit adds a quick access to that property, so users can easily
enable/disable nodes in the canvas. In addition to that, the step is
grayed out when disabled.

fix: KaotoIO#758
fix: KaotoIO#699
@lordrip lordrip marked this pull request as ready for review May 7, 2024 11:24
@lordrip lordrip merged commit 76cf246 into KaotoIO:main May 7, 2024
9 checks passed
@lordrip lordrip deleted the feat/disable-steps branch May 7, 2024 12:05
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.

Gray out disabled steps Provide an easy way to Disable a given step
2 participants