Repository navigation
通知の送り先にこのブラウザを足せるようにする - #443
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
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.
追加で、Webhookとこのブラウザを選ぶ段を出すようにした。許可して追加を押したときだけ通知の許可を尋ね、購読を作って Carina のPOST /api/notifications/push/subscriptionsに送る。Carina が断ったときは作った購読を取り消す。この端末の札を付け、そのブラウザを二度追加できなくした。この端末の行を削除すると、そのブラウザの購読も取り消す。PUT /api/notifications/push/subscriptions/{destinationId}で同じ行に差し替える。許可は尋ねず、画面にも何も出さない。/sw.jsを置き、Cache-Control: no-cacheで配る。リンク先は/で始まる Vela の中のパスだけを受ける。pushを画面のWeb Pushにそろえ、OpenAPI の文書と生成した型を更新した。🤖 Generated with Claude Code