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

[Frontend] - Clean editor on workspace change #246

Open
vinicvaz opened this issue Feb 26, 2024 · 1 comment
Open

[Frontend] - Clean editor on workspace change #246

vinicvaz opened this issue Feb 26, 2024 · 1 comment
Assignees

Comments

@vinicvaz
Copy link
Collaborator

If user change workspace the workflow editor data must be clean.
If the user has a built workflow on editor page and decide to change workspace we will be rendering a workflow with wrong pieces on editor page.
The backend validation denies the user request to create the workflow but I think it is better to clean the workflow page as well since the current workflow data is useless.
We can add a warning to workspace change if there is any data on workflow editor, something like:
You have an unsaved workflow for this workspace, are you sure you want to change the workspace? Your unsaved workflow will be lost

What you think about it?
@nathan-vm @luiztauffer

@luiztauffer
Copy link
Member

I agree with that

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

No branches or pull requests

3 participants