refactor: auto-prompt for notification permission, drop OT alerts button
CI / Lint (push) Successful in 7s
CI / Test (push) Successful in 10s
CI / Build & Push (push) Successful in 19s

Browsers already gate Notification.requestPermission behind a native
prompt, so a dedicated button was redundant UI clutter. Prompting on
load (only when permission state is "default") keeps the flow and
clears space in the banner for future notification types.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 13:12:01 -04:00
parent 4ea6b87326
commit 64b2e4b5e1
3 changed files with 5 additions and 58 deletions
-3
View File
@@ -46,9 +46,6 @@
</div>
<div class="banner-actions">
<a class="banner-bracket-link" href="/bracket">Bracket</a>
<button class="banner-notify" type="button" title="Notify me on playoff OT" aria-label="Enable OT notifications">
<span class="bell-label">OT alerts</span>
</button>
</div>
</section>
<main>