bengmathew / tpaw

https://tpawplanner.com
Other
9 stars 0 forks source link

Still Syncing to Server #3

Closed michielveen closed 1 year ago

michielveen commented 1 year ago

Not sure if this is a crash but I did the following

  1. Copying one of the plans (not the main plan)
  2. Modify name
  3. Make some changes to essential and discretionary spending
  4. Select View All Plans
  5. Result see screenshot below

image

After killing the tab with the tpaw app and opening a new tab with the tpaw app I noticed that my last change (an update to discretionary spending was not saved)

bengmathew commented 1 year ago

Thanks for reporting this.

This happens when you trigger a navigation away from a plan while updates are still being pushed to the server. Normally the "syncing" message will disappear quickly and be replaced by a message saying it is safe to navigate. If the syncing state persisted then it means there was an issue with the network call. That explains why the last update didn't show up when you reloaded.

I want to say this is a transient network issue, but I would like to keep an eye on it. It happened once to us during our testing. If it is not too much trouble can you be on the lookout for this issue and let us know how many times it happens for you in the next week or two?

If it happens often, we can dig deeper into why the network call failed, or at least have a more graceful UI to handle this situation.

michielveen commented 1 year ago

Have not seen this anymore.

bengmathew commented 1 year ago

Thanks for following up. If it happens again, please reopen the issue.

bengmathew commented 11 months ago

We've improved the way in which syncing to the server happens. We've also improved the UI for handling problems when they arise. The UI will now:

The pop-up that will show up when there is an issue:

pic_sync error