discourse/app
Martin Brennan 0c42a1e5f3
FEATURE: Topic-level bookmarks (#14353)
Allows creating a bookmark with the `for_topic` flag introduced in d1d2298a4c set to true. This happens when clicking on the Bookmark button in the topic footer when no other posts are bookmarked. In a later PR, when clicking on these topic-level bookmarks the user will be taken to the last unread post in the topic, not the OP. Only the OP can have a topic level bookmark, and users can also make a post-level bookmark on the OP of the topic.

I had to do some pretty heavy refactors because most of the bookmark code in the JS topics controller was centred around instances of Post JS models, but the topic level bookmark is not centred around a post. Some refactors were just for readability as well.

Also removes some missed reminderType code from the purge in 41e19adb0d
2021-09-21 08:45:47 +10:00
..
assets FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
controllers FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
helpers FIX: Offer site_logo_dark_url as an option for dark mode themes (#14361) 2021-09-16 17:47:51 -04:00
jobs DEV: use upload id to save in theme setting instead of URL. (#14341) 2021-09-16 07:58:53 +05:30
mailers UX: suspend forever time period messages (#13776) 2021-07-20 14:42:08 +04:00
models FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
serializers FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
services DEV: Add `post_alerter_after_save_post` event (#14388) 2021-09-20 21:18:38 +03:00
views FIX: Offer site_logo_dark_url as an option for dark mode themes (#14361) 2021-09-16 17:47:51 -04:00