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: Error icon and error popups #1656

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

SWF-Editor: Error icon and error popups #1656

handreyrc opened this issue Dec 1, 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

Summary

The goal of this task it to implement the error icon feature and the error popups. When there are errors in the workflow we need means to point them to the user. It is done by presenting and error icon on the top right corner of the screen and if the user hovers the icon a series of stacked popups are presented revealing the errors so the user can fix them.

Note: Check the current J2CL implementation of the diagram editor as reference.

Description

  • Show error icon when there are errors in the error handling component.
  • The error icon shall be displayed on the error page, when it is not possible to open the diagram and when we have a diagram valid but then we reload the same diagram with errors.
  • When the icon is hovered by the mouse pointer a list of stacked popups shall be presented with the errors content.
  • when the user moves the mouse out of the icon the popoups shall disapear

Testing

  • Run the component and then load a workflow with errors from storybook, the error icon shall be visible and errors shall be displayed in popups when the mouse pointer hovers the icon.
  • Open a valid workflow from storybook so the error icon should not be visible, then open the same workflow content with errors and the error icon shall be presented and errors also should be presented in popoups when hoovering the error icon. Finally, reopen the same original valid workflow and the error icon shall not be visible.
@handreyrc handreyrc added area:tools Issues affecting Apache KIE tooling projects area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow labels Dec 1, 2024
@handreyrc handreyrc self-assigned this Dec 1, 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