You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Notifications on Watch offer inappropriate actions #6644
When I get a notification of a new comment, it appears on the Apple Watch like this:
"So-and-so replied to your comment [excerpt of my comment]... [Like] [Dismiss]"
The notification doesn't show me any part of the new comment, then it asks me to like something I haven't seen. The Like action should not be shown when the thing being liked is not shown.
This likely no longer happens, but it needs a check on a real device before we close it.
What changed since 2017: the apps now include a notification extension (added in 2018). When a comment push arrives, it loads the full notification from WordPress.com using note_id and replaces the push's text: the title becomes the note's subject, and the body becomes the comment itself, up to 256 characters (NotificationService.swift, RichNotificationContentFormatter). The Watch shows whatever the iPhone delivers, so a reply notification should show the reply's text, not an excerpt of your own comment.
When the old text could still show up: if the extension can't load the note (no token, a failed request, or the ~30-second limit runs out), iOS shows the push exactly as the server sent it.
Why we haven't checked it: a command-line push to the simulator (simctl push) doesn't run notification extensions. We confirmed this on an iOS 27 simulator: the banner showed the payload text unchanged, and no extension process started. There's also no Watch simulator to try. So this needs a real push on a real device.
To check: with the phone locked and a paired Watch, have another account reply to one of your comments. The notification should show the reply's text, with Reply and Like actions. If it does, this can be closed. If it shows your own comment's text, the extension is falling back, and the fallback reason is worth tracking down.
The Like action is still offered by design (replyto-like-comment → Reply + Like). Once the reply's text shows, Like refers to something visible, which was the original complaint.
The refactor in #26247 adds a unit test that checks whether a comment push shows the comment's text, which answers the main question here without a device. A real-device check is still needed to confirm iOS runs the extension.
This may no longer happen. Since 2018, the notification service extension has replaced the push text with the comment itself (NotificationService.swift, RichNotificationContentFormatter.swift), so the Like action should now appear next to the comment. If the extension fails to load the note, the server's text and the Like action still appear.
To verify: this needs a real device with a paired Watch, because simctl push doesn't run notification extensions. #26247, which adds a unit test for this, is still open.
Activity
dangermattic commentedon Mar 5, 2026
Thanks for reporting! 👍
jkmassel commentedon Oct 27, 2026
This likely no longer happens, but it needs a check on a real device before we close it.
What changed since 2017: the apps now include a notification extension (added in 2018). When a comment push arrives, it loads the full notification from WordPress.com using
note_idand replaces the push's text: the title becomes the note's subject, and the body becomes the comment itself, up to 256 characters (NotificationService.swift,RichNotificationContentFormatter). The Watch shows whatever the iPhone delivers, so a reply notification should show the reply's text, not an excerpt of your own comment.When the old text could still show up: if the extension can't load the note (no token, a failed request, or the ~30-second limit runs out), iOS shows the push exactly as the server sent it.
Why we haven't checked it: a command-line push to the simulator (
simctl push) doesn't run notification extensions. We confirmed this on an iOS 27 simulator: the banner showed the payload text unchanged, and no extension process started. There's also no Watch simulator to try. So this needs a real push on a real device.To check: with the phone locked and a paired Watch, have another account reply to one of your comments. The notification should show the reply's text, with Reply and Like actions. If it does, this can be closed. If it shows your own comment's text, the extension is falling back, and the fallback reason is worth tracking down.
The Like action is still offered by design (
replyto-like-comment→ Reply + Like). Once the reply's text shows, Like refers to something visible, which was the original complaint.jkmassel commentedon Oct 27, 2026
The refactor in #26247 adds a unit test that checks whether a comment push shows the comment's text, which answers the main question here without a device. A real-device check is still needed to confirm iOS runs the extension.
jkmassel commentedon Oct 31, 2026
This may no longer happen. Since 2018, the notification service extension has replaced the push text with the comment itself (
NotificationService.swift,RichNotificationContentFormatter.swift), so the Like action should now appear next to the comment. If the extension fails to load the note, the server's text and the Like action still appear.To verify: this needs a real device with a paired Watch, because
simctl pushdoesn't run notification extensions. #26247, which adds a unit test for this, is still open.Generated by Claude Code