discourse/app
Martin Brennan 56f42d89c5
FIX: Post menu bookmark icon and attributes not refreshing on notification click (#10214)
When creating a bookmark reminder that deletes the bookmark on reminder, if the user clicked on the notification and got taken to the post in the topic the bookmark icon still showed as blue with the reminder clock indicator. This was because the response JSON for reloading a topic post was not including the bookmark attributes, not even the bookmarked boolean.

We now return the correct attributes in the serializer, and if bookmarked is false we clear all the bookmark related attributes on the post for the notification to make sure nothing of the old bookmark remains in the UI.

This was only a problem if the user did not refresh the app completely inbetween setting the reminder and receiving the notification.
2020-07-10 14:35:53 +10:00
..
assets FIX: Post menu bookmark icon and attributes not refreshing on notification click (#10214) 2020-07-10 14:35:53 +10:00
controllers FEATURE: Add global rate limit for anon searches (#10208) 2020-07-10 09:08:34 +10:00
helpers New bootstrap.json endpoint for starting up Discourse 2020-06-03 14:45:23 -04:00
jobs FIX: Do not send system emails to suspended users (#10192) 2020-07-08 13:30:32 -04:00
mailers FIX: Use correct URL for unsubscribe (#10077) 2020-06-24 09:31:20 +02:00
models Revert "FIX: Delete related search data when record has been deleted." 2020-07-09 10:08:35 +08:00
serializers FIX: Post menu bookmark icon and attributes not refreshing on notification click (#10214) 2020-07-10 14:35:53 +10:00
services FEATURE: Parse images in email signatures (#10137) 2020-07-08 15:50:30 +10:00
views UX: Add Login button on 403 error page if user is not logged in (#10154) 2020-07-01 18:27:42 +03:00