From f8dff3f758e1985b72e6d61fd82cdd6487d8989b Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Mon, 16 Mar 2026 14:52:31 +0000 Subject: [PATCH] fix: improve push notification message shown on subscribe (#23052) Updates push notification message for test notification. --- coderd/webpush/webpush.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coderd/webpush/webpush.go b/coderd/webpush/webpush.go index 201649f268..177730db77 100644 --- a/coderd/webpush/webpush.go +++ b/coderd/webpush/webpush.go @@ -174,8 +174,8 @@ func (n *Webpusher) webpushSend(ctx context.Context, msg []byte, endpoint string func (n *Webpusher) Test(ctx context.Context, req codersdk.WebpushSubscription) error { msgJSON, err := json.Marshal(codersdk.WebpushMessage{ - Title: "Test", - Body: "This is a test Web Push notification", + Title: "It's working!", + Body: "You've subscribed to push notifications.", }) if err != nil { return xerrors.Errorf("marshal webpush notification: %w", err)