Skip to content

Add PWA download banner for desktop course page #1209

Closed
@annarhughes

Description

@annarhughes

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

desktop_pwa_ios_banner

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/

Metadata

Metadata

Assignees

Labels

UXUser experience designcomplexity: moderateTime needed to do this ticket will be moderate e.g. 1-2 daysfeature/enhancementNew feature or requesthelp wantedExtra attention is neededstaleThis issue or PR is inactivestate: blockedTask is blocked.web-development

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions