discourse/plugins
Martin Brennan df4197c8b8
FIX: Show deleted bookmark reminders in user bookmarks menu (#25905)
When we send a bookmark reminder, there is an option to delete
the underlying bookmark. The Notification record stays around.
However, if you want to filter your notifications user menu
to only bookmark-based notifications, we were not showing unread
bookmark notifications for deleted bookmarks.

This commit fixes the issue _going forward_ by adding the
bookmarkable_id and bookmarkable_type to the Notification data,
so we can look up the underlying Post/Topic/Chat::Message
for a deleted bookmark and check user access in this way. Then,
it doesn't matter if the bookmark was deleted.
2024-02-29 09:03:49 +10:00
..
chat FIX: Show deleted bookmark reminders in user bookmarks menu (#25905) 2024-02-29 09:03:49 +10:00
checklist DEV: Use service: lookups instead of :main (#25402) 2024-01-24 15:59:44 +01:00
discourse-details Update translations (#25659) 2024-02-13 16:11:30 +01:00
discourse-lazy-videos DEV: Use service: lookups instead of :main (#25402) 2024-01-24 15:59:44 +01:00
discourse-local-dates Update translations (#25914) 2024-02-27 20:50:30 +01:00
discourse-narrative-bot Update translations (#25914) 2024-02-27 20:50:30 +01:00
discourse-presence DEV: Convert min_trust_to_edit_wiki_post to groups (#24766) 2023-12-12 15:20:37 +11:00
footnote DEV: Use service: lookups instead of :main (#25402) 2024-01-24 15:59:44 +01:00
poll Update translations (#25914) 2024-02-27 20:50:30 +01:00
spoiler-alert DEV: Use service: lookups instead of :main (#25402) 2024-01-24 15:59:44 +01:00
styleguide DEV: Introduce a helper for handling events (#25433) 2024-02-28 14:00:53 +01:00