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

Add offline fallback #146

Merged
merged 7 commits into from
Sep 2, 2024
Merged

Add offline fallback #146

merged 7 commits into from
Sep 2, 2024

Conversation

aliciapaz
Copy link
Contributor

@aliciapaz aliciapaz commented Aug 28, 2024

Description

Provide a customized offline experience for users, i.e. an offline page.

Cache scripts and assets to improve performance and load styles in offline fallback.

How has this been tested?

Manual testing was performed in the following platforms:

  • Safari and Chrome on Desktop (Mac)
  • Chrome on Android
  • Safari on iOS

To test locally

On desktop:

Run the local server and open the browser, then:
Option 1: shut the server down and refresh the page or try to navigate.
Option 2: use the DevTools' "offline" throttling mode (screenshot).

On mobile

Use Ngrok and simulate a lost connection with airplane mode.

  • Manual testing
  • System tests
  • Unit tests
  • None

Checklist

  • CI pipeline is passing
  • My code follows the conventions of this project
  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • I have added seed data to the database (if applicable)

Screenshots/Loom

image

@aliciapaz aliciapaz linked an issue Aug 28, 2024 that may be closed by this pull request
@aliciapaz aliciapaz self-assigned this Aug 28, 2024
@aliciapaz aliciapaz marked this pull request as ready for review August 29, 2024 18:03
@andresag4 andresag4 merged commit 7034161 into main Sep 2, 2024
4 checks passed
@andresag4 andresag4 deleted the 137-offline-fallback branch September 2, 2024 19:38
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.

Offline fallback
2 participants