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

SWF-Editor: Highlight manager #1659

Open
Tracked by #1127
handreyrc opened this issue Dec 2, 2024 · 0 comments
Open
Tracked by #1127

SWF-Editor: Highlight manager #1659

handreyrc opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects

Comments

@handreyrc
Copy link

handreyrc commented Dec 2, 2024

Summary

The goal of this task is to create and API to highlight nodes by name or Id and handle the highlighted nodes if the workflow is reloaded. It is diferent from selection, the idea is to provide means to visualy identify an execution path, for example by passing an array of executed nodes names or ids . Selection should still be possible if a node is highlighted.

Note: this feature is being used by the console manager to identify the executed nodes in the workflow.

Description

  • Expose an API to highlight nodes by passing and array of node names or ids.
  • Expose an API to clear the highlighted nodes restoring the nodes original colours.
  • Highlight nodes by changing the original node background color to light green and borders to green.
  • Highlight should not disable the selection so it should be still possible to select a node, however, only the borders should change color to indicate a highlighted node is also selected.
  • The nodes shall remain highlighted if the diagram is reloaded.
  • If a new workflow is loaded the highlight context shall be clean.

Testing

Run the component and open a valid workflow from storybook.
From the console use the API to highlight nodes and clear the highlighted nodes.
Selection should world on selected nodes.

@handreyrc handreyrc added area:tools Issues affecting Apache KIE tooling projects area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow labels Dec 2, 2024
@handreyrc handreyrc self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects
Projects
None yet
Development

No branches or pull requests

1 participant