Skip to content

Conversation

@jleandroperez
Copy link
Contributor

@jleandroperez jleandroperez commented Nov 13, 2018

Details:

  • Pull to Refresh support in the Notification Details interface
  • Updated Notification isReadOnlyRepresentation: Not considering the hash
  • New synchronize(noteId:) Notification Action

Ref. #19

Note:

I've been struggling with the backend, trying to get a Product Review Notification updated. Bottom line is: i've been unsuccessful at doing so!!. In order to test this PR, we'll rely on a "local hack", to ensure a given notification is effectively updated.

Testing:

  1. Checkout commit f8b2361
  2. Launch WooCommerce
  3. Open the Notifications Tab. Wait for a second until it synchronizes
  4. Open the Details for a Product Review Notification
  5. Verify the Navbar's Title reads HACK Product Review
  6. Pull to Refresh
  7. Verify the "HACK" word goes away

cc @bummytime
Thanks in advance Matt!!!

@jleandroperez jleandroperez added the feature: notifications Related to notifications or notifs. label Nov 13, 2018
@jleandroperez jleandroperez added this to the 0.11 milestone Nov 13, 2018
@jleandroperez jleandroperez self-assigned this Nov 13, 2018
@astralbodies astralbodies mentioned this pull request Nov 13, 2018
39 tasks
Copy link
Contributor

@bummytime bummytime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jleandroperez your testing steps worked like a champ 🥊 . Code is square. :shipit: !

}

return storageNote.noteID == noteId &&
storageNote.noteHash == hash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why I even included this here originally 🤷‍♂️ 😆 !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries!!! I've noticed because the "EntityListener" wasn't picking up the changes!

@jleandroperez
Copy link
Contributor Author

Thank you sir!!

@jleandroperez jleandroperez merged commit 9e9d7d9 into develop Nov 14, 2018
@jleandroperez jleandroperez deleted the issue/19-notification-details-pull-to-refresh branch November 14, 2018 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: notifications Related to notifications or notifs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants