Skip to content

fix(push): resolve enable-button hang, move card to profile page - #443

Merged
CropWatchDevelopment merged 1 commit into
masterfrom
develop
Aug 25, 2026
Merged

CropWatchDevelopment merged 1 commit into
masterfrom
develop

Conversation

@CropWatchDevelopment

Copy link
Copy Markdown
Owner
  • enablePush hung forever awaiting navigator.serviceWorker.ready, which only settles when a worker controls the page; the push worker's /push-sw/ scope controls none. Wait for the registration's own worker to activate instead.
  • notificationclick: client.navigate() rejects for uncontrolled pages, so focus a tab only when it already shows the target URL, else openWindow.
  • Move PushNotificationsCard from /settings to /account/profile beneath the LINE card.

- enablePush hung forever awaiting navigator.serviceWorker.ready, which
  only settles when a worker controls the page; the push worker's
  /push-sw/ scope controls none. Wait for the registration's own worker
  to activate instead.
- notificationclick: client.navigate() rejects for uncontrolled pages,
  so focus a tab only when it already shows the target URL, else
  openWindow.
- Move PushNotificationsCard from /settings to /account/profile beneath
  the LINE card.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crop-watch Ready Ready Preview Aug 25, 2026 5:12am

Request Review

@CropWatchDevelopment
CropWatchDevelopment merged commit 6e53d83 into master Aug 25, 2026
11 checks passed
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