Skip to content

Conversation

@nikoshell
Copy link
Contributor

@nikoshell nikoshell commented May 19, 2025

open /schedule on your phone and add website to home screen

Untitled design(1)

@nikoshell nikoshell added the DO-NOT-MERGE Not ready to be merged yet label May 19, 2025
@europython-society
Copy link
Member

europython-society commented May 19, 2025

Preview available

Key Value
url https://ep2025-app.ep-preview.click
last update 2025-06-05T16:31:22.308Z

@egeakman
Copy link
Member

This is exciting!!!

@nikoshell nikoshell self-assigned this May 29, 2025
@nikoshell nikoshell marked this pull request as ready for review May 29, 2025 15:02
@nikoshell nikoshell requested a review from clytaemnestra May 29, 2025 15:03
@nikoshell nikoshell removed the DO-NOT-MERGE Not ready to be merged yet label May 29, 2025
@egeakman egeakman changed the title Draft Create a Progressive Web App for the website May 29, 2025
@egeakman egeakman self-requested a review May 29, 2025 15:15
@egeakman
Copy link
Member

The green add to home screen popup doesn't appear on iOS Chrome and Safari.

I can't manually add it to home screen using Chrome.

I can add it using Safari, but I have to open site options and add it manually.

@nikoshell
Copy link
Contributor Author

The green add to home screen popup doesn't appear on iOS Chrome and Safari.

I can't manually add it to home screen using Chrome.

I can add it using Safari, but I have to open site options and add it manually.

Thank you for review.

PWA is not supported in the same way cross browser and OS before commenting pls check PWA standards, and how other PWA apps works on your device and what your device/browser supports.

image

Be aware that there are restrictions about app notifications and permissions, for example if your browser setup doesn't allow home screen shortcuts you will not be able to install PWA app.

In most of the cases green popup will not be visible, and best practice will be open settings and use button like "Add to Home Screen" and still in some case it will just create shortcut

I prepared this app because we get it almost for free and it's using cached requests in case of offline.
It's generally better than nothing and can be base for more improvements.

@clytaemnestra
Copy link
Contributor

Looks great on the first glance! I'll review it on Monday in more detail, please don't merge it by then.

@egeakman
Copy link
Member

egeakman commented Jun 1, 2025

The green add to home screen popup doesn't appear on iOS Chrome and Safari.

I can't manually add it to home screen using Chrome.

I can add it using Safari, but I have to open site options and add it manually.

Thank you for review.

PWA is not supported in the same way cross browser and OS before commenting pls check PWA standards, and how other PWA apps works on your device and what your device/browser supports.

image

Be aware that there are restrictions about app notifications and permissions, for example if your browser setup doesn't allow home screen shortcuts you will not be able to install PWA app.

In most of the cases green popup will not be visible, and best practice will be open settings and use button like "Add to Home Screen" and still in some case it will just create shortcut

I prepared this app because we get it almost for free and it's using cached requests in case of offline.

It's generally better than nothing and can be base for more improvements.

Thank you for the clarification Marcin!

Copy link
Contributor

@clytaemnestra clytaemnestra left a comment

Choose a reason for hiding this comment

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

Great idea! Thank you!

@nikoshell nikoshell merged commit bf8c35e into ep2025 Jun 5, 2025
6 checks passed
@nikoshell nikoshell deleted the ep2025-app branch June 5, 2025 16:35
@hugovk
Copy link
Member

hugovk commented Jun 9, 2025

The "Add to home screen" banner is showing for me at https://ep2025.europython.eu/schedule/talks/ on desktop (Chrome, macOS), at all screen widths:

image

Should it only show for mobile?

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.

7 participants