Repository navigation
feat: installable PWA with push notifications for new pull request diffs - #131
Merged
Merged
Conversation
Remote server only. Followed GitHub pull requests notify subscribed devices when a webhook-announced PR opens or its head changes. Intents commit with CompleteRefresh; a delivery worker sends after ingestion succeeds. - webpush: VAPID wire adapter (webpush-go) - pushservice: subscriptions, keys, outbox delivery worker - githubsync: head-change trigger rule, per-repo mutes - reviewstore: schema 15 additive push and PR head tables - web: manifest, icons, service worker, Settings Notifications, repo bells
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
githubsyncowns the trigger rule:pull_requestopened/reopened/ready_for_reviewwebhook requested the refresh, so first follow, startup reconcile and Resync import silently.CompleteRefreshtransaction as each follower's ingestion job.pushservice(remote only) owns:webpushwire adapter wrapswebpush-go./sw.js). The worker always shows the notification; on click it focuses a window already on that stream, otherwise opens a new one, so it never navigates an open review.GET /api/v2/push.PUT /api/v2/push/subscriptions.DELETE /api/v2/push/subscriptions/{id}.POST /api/v2/push/subscriptions/{id}/test.PATCH /api/v2/github/follows/{id}{notify}.GitHubRepository.notify.push_keys,push_subscriptions,push_notifications,push_deliveries.github_pr_heads,github_follow_mutes.--public-url, or a loopback http public URL in development. Plain-http endpoints are accepted only to loopback hosts and only when the public URL is itself loopback.mise run checkpasses.go test -racepasses on webpush, pushservice, githubsync, remoteserver and reviewstore.openedwebhook → fetcher → ingestion → fake push endpoint, which decrypts exactly one RFC 8291 payload.diffx-serverbinary serves:manifest.webmanifestasapplication/manifest+json./sw.jsastext/javascriptwithno-cache./api/v2/pushas 401 without a session.docs/github-live-testing.mditem 10.webpushandpushservice, classified incheck-boundaries.docs/system.md,docs/architecture.md,docs/development.md.DESIGN.md: settings section, bell, 44px touch toggles, app icons.PRODUCT.md.aria-pressedwith the name "Notify for owner/repo".