ti4-companion icon indicating copy to clipboard operation
ti4-companion copied to clipboard

when user makes an action, UI state is not always updated

Open tarnas14 opened this issue 2 years ago • 0 comments

sometimes when the session is open for long and user goes back to it, changes are not reflected after clicking buttons (like adding points, adding objectives etc.) in these situations refreshing the page gives you the updated UI, but it's bad UX

technical notes: it seems that signalR is notoriously losing connection and requires refreshes investigate why that happens and make sure connection stays on possible fixes:

  • [ ] force query invalidation on frontend on each action by default
  • [ ] maybe check connection/reconnect on focus
  • [ ] track activity and if user has been inactive for some time, check/reconnect on activity

tarnas14 avatar Jul 02 '22 00:07 tarnas14