Skip to content
New issue

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

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

Already on GitHub? # to your account

Differentiate between client and server being offline in the messaging on the offline page #190

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

westonruter
Copy link
Collaborator

Fixes #177. The offline template can be served both when the client is offline and when the server is down. Both of these conditions were being communicated as the client being offline. This PR helps ensure that a server-down message is displayed when failing to fetch the requested page but the user's connection is still onLine.

Admin

Client offline (internet down)

admin-client-offline

Server down

admin-server-offline

Frontend

Client offline (internet down)

front-client-offline

Server down

front-server-offline

@westonruter westonruter added this to the 0.3 milestone Jul 8, 2019
@westonruter westonruter requested a review from iandunn July 8, 2019 03:15
Copy link
Collaborator

@iandunn iandunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works for me as expected in the admin and frontend :)

@westonruter westonruter merged commit 7cf111f into master Jul 10, 2019
@westonruter westonruter deleted the add/server-offline-message branch July 10, 2019 00:40
@westonruter westonruter changed the title Differentiate between client and server being offline Differentiate between client and server being offline in the messaging on the offline page Jul 30, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offline template misleading when server is down
2 participants