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

Only show reload screen if main webview error #391

Merged
merged 2 commits into from
Mar 29, 2017

Conversation

alexbrazier
Copy link
Contributor

@RocketChat/core

Closes #385
Closes #389

It seems the did-fail-load event fires when links such as youtube fail to load, causing the server reload screen to show. This makes it only check for errors in loading the main app.

@alexbrazier alexbrazier added this to the 2.6.0 milestone Mar 11, 2017
@geekgonecrazy
Copy link
Contributor

Does this hit if the server returns 502? Like in case of demo server. Some times it'll be restarting and return 502 Gateway error. Will this show then too?

@alexbrazier
Copy link
Contributor Author

@geekgonecrazy Good spot. I have just updated it so it catches 50x errors, and tested it for 502 errors.

@geekgonecrazy
Copy link
Contributor

👍 awesome! This looks like a very useful UX thing to me!

@engelgabriel engelgabriel merged commit 2ecb18a into develop Mar 29, 2017
@engelgabriel engelgabriel deleted the bugfix/server-reload branch March 29, 2017 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Users not able to enter private channel Bug: link to media posted on channel = Server Failed to Load
4 participants