This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Martin Brennan e1e74abd4f
FEATURE: Improving bookmarks part 2 -- Topic Bookmarking (#8954)
### UI Changes

If `SiteSetting.enable_bookmarks_with_reminders` is enabled:

* Clicking "Bookmark" on a topic will create a new Bookmark record instead of a post + user action
* Clicking "Clear Bookmarks" on a topic will delete all the new Bookmark records on a topic
* The topic bookmark buttons control the post bookmark flags correctly and vice-versa
Disabled selecting the "reminder type" for bookmarks in the UI because the backend functionality is not done yet (of sending users notifications etc.)

### Other Changes

* Added delete bookmark route (but no UI yet)
* Added a rake task to sync the old PostAction bookmarks to the new Bookmark table, which can be run as many times as we want for a site (it will not create duplicates).
2020-02-13 16:26:02 +10:00
..
adapters FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
components FIX: use plain text if available instead of image upload. 2020-02-12 23:13:51 +05:30
controllers FEATURE: Improving bookmarks part 2 -- Topic Bookmarking (#8954) 2020-02-13 16:26:02 +10:00
helpers UX: Prevent category-drop topic count from wrapping to new line (#8943) 2020-02-12 14:34:16 -05:00
initializers FEATURE: Use new Badging API 2020-01-10 13:41:35 -03:00
lib FEATURE: export defaultRenderTag function (#8941) 2020-02-12 14:26:04 -05:00
mixins DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
models FEATURE: Improving bookmarks part 2 -- Topic Bookmarking (#8954) 2020-02-13 16:26:02 +10:00
pre-initializers FEATURE: Add Tactile feedback on likes 2020-01-30 12:01:52 -03:00
raw-views DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
routes FEATURE: Improving bookmarks part 2 -- Topic Bookmarking (#8954) 2020-02-13 16:26:02 +10:00
services DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
templates FEATURE: Improving bookmarks part 2 -- Topic Bookmarking (#8954) 2020-02-13 16:26:02 +10:00
widgets DEV: Use scheduleOnce correctly (#8865) 2020-02-05 21:21:00 +03:00
mapping-router.js.es6 DEV: Remove Discourse.Site in favor of import (#8344) 2019-11-13 12:13:47 -05:00