flarum / issue-archive

0 stars 0 forks source link

Alert refresh does not show likes if already in discussion. #220

Open katosdev opened 4 years ago

katosdev commented 4 years ago

Bug Report

Current Behavior If you're in a discussion and select a notification that relates to said discussion, this does not update - for instance, a like on the discussion does not show when I am in the discussion and click on this like notification.

Steps to Reproduce

  1. Go to any discussion, and be active in this.
  2. Receive a like on the discussion post.
  3. Click the notification alert that a post has been liked.
  4. Page "refreshes" but the like indication does not show up on the post.

Expected Behavior Page refreshes and shows the like.

katosdev commented 4 years ago

Confirmed by @jordanjay29 Thanks for the assist! :)

dsevillamartin commented 4 years ago

In other words, flarum/pusher does not trigger a discussion/post data refresh or send the data of the like to the forum, so the like itself isn't updated in real time.

katosdev commented 4 years ago

In other words, flarum/pusher does not trigger a discussion/post data refresh or send the data of the like to the forum, so the like itself isn't updated in real time.

Thanks for the clarification, didn't know how best to describe! 🤦‍♂