Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t show informer for an auth error #1478

Merged
merged 1 commit into from
Apr 24, 2019
Merged

Conversation

arturi
Copy link
Contributor

@arturi arturi commented Apr 23, 2019

I wondered if there’s a simple solution, and this seems to work! So maybe it’s less complex than we anticipated, or am I missing something @ifedapoolarewaju? Auth error informer is not shown, while other errors are.

#1425

@ifedapoolarewaju
Copy link
Contributor

with this approach, it means we will never display the error alert. Even if the token expires amid the browsing of provider directories., the view will just switch to the Auth view, without giving a reason why. Is that what you intended in this PR?

@arturi
Copy link
Contributor Author

arturi commented Apr 23, 2019

Yes, after consideration, I think it’s better for now than confusing most users with an error message on their first experience with Uppy+Instagram, and also blocking the Connect button with Informer message, for example now on Transloadit website:

Screen Shot 2019-04-23 at 22 09 32

Later after 1.0 we could improve by only showing the error when browsing, not when authenticating for the first time, as would be ideal, if that’s even possible.

@arturi arturi merged commit 42b3e1f into master Apr 24, 2019
@arturi arturi deleted the fix/remove-auth-error-info branch April 24, 2019 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants