em
em copied to clipboard
Show "Saving... X%" alert on long-running save
Steps to Reproduce
- Paste the contents of sample-1000-thoughts.txt.
- After a few seconds, hit refresh.
Current Behavior
There is a confirmation dialog that warns the user that thoughts are not fully saved, but there is nothing showing them the progress.
Expected Behavior
After 5 seconds, if still saving, show an em alert that says "Saving... X%". The alert should update in real-time (throttled to 100ms).
Notes
Post the following information to this issue before beginning to implement a solution:
- Identify where a long-running save can be detected.
- Identify what the component parts of the percentage are, and how you will access them.