Closed rmunn closed 4 weeks ago
I don't think we can fix this without setting up subscriptions or something, otherwise how is the frontend supposed to know when another user on another machine accepts an invite?
Our awaitedQueryStore
isn't setting up GraphQL subscriptions? Ah, right, it isn't. Then, yeah, this is a bit of an annoyance and could in theory be fixed in dev but it's not really worth spending time on. I'll close this with the option of reopening it later on if we decide that subscriptions are worth the time and effort.
Describe the bug When a user accepts an email invite, their newly-created account doesn't show up in any open admin dashboard tabs until a browser refresh invalidates the GraphQL cache. Worse, if the admin is on a different tab (say, the project page from which he invited the user) and
To Reproduce Steps to reproduce the behavior:
Expected behavior The GraphQL cache for the Users list would be invalidated when a user accepts an email invitation.