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

Manage how workflow canvas auto refreshes and results to loss of unsaved changes #2007

Open
christad92 opened this issue Apr 19, 2024 · 1 comment
Labels
bug Newly identified bug User Reported This issue is a bug that was reported by a user ux/ui improvement Improvements to the look, feel and usability of the system

Comments

@christad92
Copy link

christad92 commented Apr 19, 2024

There are moments when the workflow canvas automatically refreshes due to a web socket disconnection or probably throttled network. When this happens, unsaved changes are lost leaving the user frustrated.

A few questions here:

  • Is the socket connection loss ideal? Can we stop it?
  • If we can't stop it, how do we fix the mount/reconnect process to ensure that we don't lose unsaved changes
@christad92 christad92 added the ux/ui improvement Improvements to the look, feel and usability of the system label Apr 19, 2024
@christad92 christad92 changed the title Manage workflow canvas auto refreshes and results to loss of unsaved changes Managen how workflow canvas auto refreshes and results to loss of unsaved changes Apr 24, 2024
@christad92 christad92 changed the title Managen how workflow canvas auto refreshes and results to loss of unsaved changes Manage how workflow canvas auto refreshes and results to loss of unsaved changes Apr 24, 2024
@christad92 christad92 added bug Newly identified bug User Reported This issue is a bug that was reported by a user labels May 20, 2024
@josephjclark
Copy link
Contributor

This happened to me today on demo.openfn.org

  • I created a new workflow.
  • I made a bunch of changes without saving
  • After a couple of minutes the canvas reset before my eyes
  • I waited and watched. After about a minute the canvas flickered, like it had reset again from empty to empty

Then I did this:

  • I saved the workflow
  • I made some changes
  • I did not save my changes
  • After a minute the Save button lost its dirty state, as if I had saved (I actually assumed it had autosaved maybe?)
  • I refreshed the page and the changes were lost

So something is up. I didn't notice this in local dev while working on the chart this week. Only seeing it on demo right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Newly identified bug User Reported This issue is a bug that was reported by a user ux/ui improvement Improvements to the look, feel and usability of the system
Projects
Status: Ready
Development

No branches or pull requests

2 participants