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

Tracking: enhancements to auto-save #96

Open
3 of 8 tasks
mithunshanbhag opened this issue Jun 9, 2020 · 0 comments
Open
3 of 8 tasks

Tracking: enhancements to auto-save #96

mithunshanbhag opened this issue Jun 9, 2020 · 0 comments
Labels
feature-request New feature or request
Projects

Comments

@mithunshanbhag
Copy link
Contributor

mithunshanbhag commented Jun 9, 2020

Just creating this umbrella issue to track all enhancement work for the auto-save feature.

  • The auto-save status needs to be displayed in the status bar: pending | saved | failed.
  • Diagram save request shouldn't get cancelled when switching diagrams (canDeactivate guard).
    • Inside the deactivate guard, we send a save request to the diagram service.
    • However the listener is inside the diagram component which has already been destroyed at this time.
  • Investigate using periodic timers for auto-save (say every minute). This would be useful to save any changes for which event callbacks don't exist (note: are there any such events???)
  • Show alert if user navigating away when there are unsaved/unpersisted diagram changes.
  • Ensure auto-save/PUT requests are not fulfilled out of order.
  • Queue up the save requests and process asynchronously (CQRS / queue-based load leveling).
  • Debounce all save requests on the client side.
  • Ensure that PUT requests do not happen for cosmetic movements (selected symbol changed, zoom level change, user scrolls up/down/right/left on diagram).
@mithunshanbhag mithunshanbhag added the feature-request New feature or request label Jun 9, 2020
@mithunshanbhag mithunshanbhag added this to To do in cloudskew via automation Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
cloudskew
  
To do
Development

No branches or pull requests

1 participant