discourse/plugins/discourse-narrative-bot
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
autoload/jobs FIX: TL2 promotion message and advance training (#10679) 2020-09-22 10:17:52 +10:00
config Update translations (#14336) 2021-09-14 16:21:00 +02:00
db DEV: Promote historic post_deploy migrations 2021-06-23 17:43:38 +01:00
lib/discourse_narrative_bot FIX: Missing iframe closing tag in discobot certificate (#13052) 2021-05-13 15:51:12 +10:00
public/images remove unnecessary symlink 2019-11-29 22:23:43 +01:00
spec DEV: Clean up the spec 2021-06-08 09:28:40 +08:00
plugin.rb discourse/discourse change from 'master' to 'main' 2021-07-19 11:46:15 -04:00