Skip to content

Comments

fix: PWA install prompt only on admin screen#224

Merged
mholzi merged 1 commit intomainfrom
fix/166-pwa-admin-only
Feb 20, 2026
Merged

fix: PWA install prompt only on admin screen#224
mholzi merged 1 commit intomainfrom
fix/166-pwa-admin-only

Conversation

@mholzi
Copy link
Owner

@mholzi mholzi commented Feb 20, 2026

Change

Per Markus: Das PWA "Add to Homescreen" soll ausschließlich auf dem Admin-Screen (Playlist-Auswahl) erscheinen — nicht auf dem Player-Join-Screen oder Launcher.

Changes

File Change
admin.html ✅ PWA meta tags + manifest link hinzugefügt
player.html ❌ PWA meta tags entfernt
launcher.html ❌ PWA meta tags entfernt
site.webmanifest start_url/beatify/admin, orientationany

Result

Nur der Admin-Browser zeigt den Install-Prompt. Nach Installation öffnet das App-Icon direkt den Admin-Screen mit Playlist-Auswahl und Spielsteuerung.

Refs #166

Per Markus: PWA Install-Prompt soll nur auf dem Admin-Screen erscheinen
(Playlist-Auswahl), nicht auf dem Player-Join-Screen.

- Add PWA meta tags + manifest link to admin.html
- Remove PWA meta tags from player.html + launcher.html
- Update site.webmanifest: start_url → /beatify/admin, orientation → any

Admin kann Beatify zum Homescreen hinzufügen für schnellen Zugriff
auf die Spielsteuerung.

Refs #166
@gemini-code-assist
Copy link

Summary of Changes

Hello @mholzi, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Dieser Pull Request stellt sicher, dass die Installationsaufforderung für die Progressive Web App (PWA) von Beatify ausschließlich auf dem Admin-Bildschirm angezeigt wird. Dadurch wird gewährleistet, dass Benutzer, die die PWA installieren, direkt zur Playlist-Auswahl und Spielsteuerung gelangen, anstatt zu den Player- oder Launcher-Bildschirmen. Dies verbessert die Benutzererfahrung für Administratoren, die die App auf ihrem Homescreen verwalten möchten.

Highlights

  • PWA-Installation auf Admin-Bildschirm beschränkt: Die PWA-Installationsaufforderung wird nun ausschließlich auf dem Admin-Bildschirm angezeigt, um eine gezielte Installation zu ermöglichen.
  • PWA-Metatags in admin.html hinzugefügt: Die notwendigen PWA-Metatags und der Manifest-Link wurden in die admin.html integriert.
  • PWA-Metatags aus player.html und launcher.html entfernt: Die PWA-Metatags wurden aus den Dateien player.html und launcher.html entfernt, um die PWA-Installation auf diesen Seiten zu unterbinden.
  • Web App Manifest aktualisiert: Die site.webmanifest wurde angepasst, um die start_url auf den Admin-Bildschirm zu setzen und die orientation auf 'any' zu ändern.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • custom_components/beatify/www/admin.html
    • PWA-Metatags und Manifest-Link für die PWA-Installation hinzugefügt.
  • custom_components/beatify/www/launcher.html
    • PWA-Metatags entfernt, um die PWA-Installation auf diesem Bildschirm zu verhindern.
  • custom_components/beatify/www/player.html
    • PWA-Metatags entfernt, um die PWA-Installation auf diesem Bildschirm zu verhindern.
  • custom_components/beatify/www/site.webmanifest
    • Die Start-URL auf den Admin-Bildschirm geändert.
    • Die Bildschirmausrichtung auf 'any' gesetzt.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mholzi mholzi merged commit 31e894b into main Feb 20, 2026
5 checks passed
@mholzi mholzi deleted the fix/166-pwa-admin-only branch February 20, 2026 10:13
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.

1 participant