Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.

Logging in/out should refetch queries #124

Closed
helfi92 opened this issue Sep 19, 2018 · 2 comments
Closed

Logging in/out should refetch queries #124

helfi92 opened this issue Sep 19, 2018 · 2 comments

Comments

@helfi92
Copy link
Contributor

helfi92 commented Sep 19, 2018

When a user login/logout we should refetch the page queries to show good results like signed URLs when exploring private artifacts.

@mike44441
Copy link
Contributor

mike44441 commented Oct 8, 2018

Does this mean when the User signs in or out that the page would refresh?

mike44441 added a commit to mike44441/taskcluster-web that referenced this issue Oct 8, 2018
This will reload the page both when the user signs in and signs out

The request is to refetch queries to make it so that the page will update once the user signs in or out.

For issue 124
mike44441 added a commit to mike44441/taskcluster-web that referenced this issue Oct 9, 2018
Updated to reload page when user signs in, but not when they cancel during sign in process

This will have it so that hte user can cancel the sign in during the credentials and not have the page reload. As to where before, if the user canceled, the page would reload

Update for taskcluster#124
mike44441 added a commit to mike44441/taskcluster-web that referenced this issue Oct 10, 2018
Changing from a reload to using withApollo for the handling of the refetching of queries during the sign in and sign-out

Update for Issue 124
@helfi92
Copy link
Contributor Author

helfi92 commented Oct 10, 2018

Fixed in #156.

@helfi92 helfi92 closed this as completed Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants