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/widgets
Martin Brennan 628ba9d1e2
FEATURE: Promote bookmarks with reminders to core functionality (#9369)
The main thrust of this PR is to take all the conditional checks based on the `enable_bookmarks_with_reminders` away and only keep the code from the `true` path, making bookmarks with reminders the core bookmarks feature. There is also a migration to create `Bookmark` records out of `PostAction` bookmarks for a site.

### Summary

* Remove logic based on whether enable_bookmarks_with_reminders is true. This site setting is now obsolete, the old bookmark functionality is being removed. Retain the setting and set the value to `true` in a migration.
* Use the code from the rake task to create a database migration that creates bookmarks from post actions.
* Change the bookmark report to read from the new table.
* Get rid of old endpoints for bookmarks
* Link to the new bookmarks list from the user summary page
2020-04-22 13:44:19 +10:00
..
actions-summary.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
avatar-flair.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
bookmark-reminder-notification-item.js FIX: Show topic level bookmark with reminder modal (#9336) 2020-04-07 15:43:00 +10:00
button.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
category-link.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
component-connector.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
connector.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
custom-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
decorator-helper.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
default-notification-item.js FIX: middle click was reading every notifications (#9252) 2020-03-23 13:28:16 +02:00
discourse-tags.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
embedded-post.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
emoji.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
footer-nav.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
glue.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
group-message-summary-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
hamburger-categories.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
hamburger-menu.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
hbs-compiler.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
header-contents.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
header-topic-info.js FIX: properly add 'two-rows' class to header-topic-info container (#9497) 2020-04-21 13:01:57 -05:00
header.js FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
home-logo.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
hooks.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
invitee-accepted-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
liked-consolidated-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
liked-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
link.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
membership-request-accepted-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
membership-request-consolidated-notification-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
menu-panel.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post-admin-menu.js FEATURE: Support for publishing topics as pages (#9364) 2020-04-08 12:52:36 -04:00
post-cooked.js FIX: remove word boundary regex (\b) for search result highlights. (#9338) 2020-04-15 11:11:00 +05:30
post-edits-indicator.js DEV: prefer Date.now() over new Date().getTime() 2020-03-26 17:36:53 +11:00
post-gap.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post-links.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post-menu.js FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
post-placeholder.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post-small-action.js UX: Replaced locked topic "lock" icon with "comment-slash" icon 2020-04-21 17:34:59 -04:00
post-stream.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post.js DEV: prefer Date.now() over new Date().getTime() 2020-03-26 17:36:53 +11:00
poster-name.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
private-message-map.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
quick-access-bookmarks.js FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
quick-access-item.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
quick-access-messages.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
quick-access-notifications.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
quick-access-panel.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
quick-access-profile.js UX: Larger tap areas for profile panel in user menu on mobile devices 2020-03-23 13:25:33 -04:00
raw-html.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
search-menu-controls.js FIX: race conditions in search menu (#9262) 2020-03-24 15:16:42 +01:00
search-menu-results.js FIX: topic title in search contains data-topic-id (#9435) 2020-04-17 09:35:26 +10:00
search-menu.js FIX: ensures search-menu is not briefly showing previous results (#9272) 2020-03-25 10:00:48 +01:00
time-gap.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
toggle-topic-summary.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
topic-admin-menu.js UX: Replaced locked topic "lock" icon with "comment-slash" icon 2020-04-21 17:34:59 -04:00
topic-map.js Add additional classes to topic-map stats 2020-03-25 21:40:51 -04:00
topic-status.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
topic-timeline.js FIX: prevents registering multiple topic-notifications-button:changed (#9356) 2020-04-06 15:06:26 +02:00
user-menu.js FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
user-notifications-large.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
widget-dropdown.js DEV: adds a new dropdown widget usable in any widget (#9297) 2020-03-31 09:13:16 +02:00
widget.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00