ti4-companion
ti4-companion copied to clipboard
when user makes an action, UI state is not always updated
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