discourse/plugins/poll/test/javascripts/acceptance
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
..
poll-breakdown-test.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
poll-builder-disabled-test.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
poll-builder-enabled-test.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
poll-in-reply-history-test.js.es6 FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
poll-pie-chart-test.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
poll-quote-test.js.es6 FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
poll-results-test.js.es6 FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
polls-bar-chart-test-desktop.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
polls-bar-chart-test-mobile.js.es6 FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00