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 PWA download banner for desktop course page #1209

Open
5 tasks
Tracked by #1197
annarhughes opened this issue Nov 19, 2024 · 0 comments
Open
5 tasks
Tracked by #1197

Add PWA download banner for desktop course page #1209

annarhughes opened this issue Nov 19, 2024 · 0 comments
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request first-timers-friendly Appropriate for first time contributors. good first issue Good for newcomers state: blocked Task is blocked.

Comments

@annarhughes
Copy link
Member

annarhughes commented Nov 19, 2024

Overview

Bloom is a PWA app which means it can be installed/downloaded as a browser app. We previously didn't promote this feature, so most users would be unaware that the app can be installed using the browser button. We added a mobile PWA banner in #1207.

This is an adjacent task to #1207 and involves adding a similar banner to the /courses page. This banner will only be shown for authenticated users who signed up 2+ weeks ago. Note that there will be duplication with code from #1207 and this should be reused and refactored as required.

Note that iOS doesn't support have a function to trigger installing the app, so we instead show an extra description instructing iOS users how to install the app.

There are subsequent PWA tasks linked to the PWA epic issue.

Design

This is the banner shown for all browsers
Screenshot 2024-11-19 at 17 16 14

This is the banner shown for iOS users after clicking the "Install" button
Screenshot 2024-11-19 at 17 16 23

Action Items

Resources/Instructions

See the resources below for more on PWAs.

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Trigger_install_prompt
https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/
https://www.freecodecamp.org/news/what-are-progressive-web-apps/

@annarhughes annarhughes added feature/enhancement New feature or request good first issue Good for newcomers complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days state: blocked Task is blocked. first-timers-friendly Appropriate for first time contributors. labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request first-timers-friendly Appropriate for first time contributors. good first issue Good for newcomers state: blocked Task is blocked.
Projects
None yet
Development

No branches or pull requests

1 participant