Skip to content

Notifications on Watch offer inappropriate actions #6644

Open

Description

@skeltoac

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.

Activity

  1. added this to the Someday milestone on Feb 10, 2017
  2. dangermattic commented on Mar 5, 2026

    @dangermattic
    Collaborator

    Thanks for reporting! 👍

  3. jkmassel commented on Oct 27, 2026

    @jkmassel
    Contributor

    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.

  4. added
    [Status] Needs Testing
    on Oct 27, 2026
  5. jkmassel commented on Oct 27, 2026

    @jkmassel
    Contributor

    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.

  6. added
    [Status] Close Candidate
    on Oct 31, 2026
  7. jkmassel commented on Oct 31, 2026

    @jkmassel
    Contributor

    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.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Notifications[Pri] Medium[Status] Close Candidate[Status] Needs Testing[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions