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/templates
Martin Brennan 6261339da9
Improving bookmarks part 1 (#8466)
Note: All of this functionality is hidden behind a hidden, default false, site setting called `enable_bookmarks_with_reminders`. Also, any feedback on Ember code would be greatly appreciated!

This is part 1 of the bookmark improvements. The next PR will address the backend logic to send reminder notifications for bookmarked posts to users. This PR adds the following functionality:

* We are adding a new `bookmarks` table and `Bookmark` model to make the bookmarks a first-class citizen and to allow attaching reminders to them.
* Posts now have a new button in their actions menu that has the icon of an actual book
* Clicking the button opens the new bookmark modal.
* Both name and the reminder type are optional.
* If you close the modal without doing anything, the bookmark is saved with no reminder.
* If you click the Cancel button, no bookmark is saved at all.
* All of the reminder type tiles are dynamic and the times they show will be based on your user timezone set in your profile (this should already be set for you).
* If for some reason a user does not have their timezone set they will not be able to set a reminder, but they will still be able to create a bookmark.
* A bookmark can be deleted by clicking on the book icon again which will be red if the post is bookmarked.

This PR does NOT do anything to migrate or change existing bookmarks in the form of `PostActions`, the two features live side-by-side here. Also this does nothing to the topic bookmarking.
2019-12-11 14:04:02 +10:00
..
account-created DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
badges DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
components FEATURE: Featured topic for user profile & card (#8461) 2019-12-09 11:15:47 -08:00
composer icons deprecations fixes (#6920) 2019-01-22 12:02:02 +01:00
discovery DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
group FEATURE: add support for group members visibility level (#8004) 2019-08-14 19:00:04 +05:30
groups FIX: Loading more broken on groups page. 2019-04-30 10:35:17 +08:00
invites DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
list UX: Adds +n indicator in PM topic list (#8353) 2019-11-14 14:14:23 -05:00
mobile DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
modal Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
navigation DEV: Prevent setting filterMode where it can be already be computed 2019-11-21 14:07:10 +00:00
post PERF: optimise rendering of posts 2014-12-10 18:05:04 +11:00
preferences FEATURE: Featured topic for user profile & card (#8461) 2019-12-09 11:15:47 -08:00
tags REFACTOR: changes from tag synonym feedback 2019-12-06 15:42:22 -05:00
user DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
about.hbs PERF: speed up about page render time and limit category mods (#8112) 2019-10-03 21:48:56 +03:00
account-created.hbs FEATURE: Allow users to resend/update email from confirmation page 2017-05-03 11:18:01 -04:00
application.hbs FEATURE: Incorporate PWA install prompt into Discourse UI (#8013) 2019-08-19 14:09:21 -03:00
badge-selector-autocomplete.raw.hbs UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
bulk-tag.hbs FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00
category-selector-autocomplete.raw.hbs UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
category-tag-autocomplete.raw.hbs UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
composer.hbs FEATURE: wiki editors are allowed edit tags for wiki topics. 2019-10-23 23:35:38 +05:30
discovery.hbs FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
email-login.hbs FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
emoji-picker-recent.raw.hbs replaces links/imgs by buttons in the emoji-picker 2017-07-21 19:42:50 +02:00
emoji-picker.raw.hbs.erb FIX: use autocomplete="discourse" to disable Chrome address autofill 2019-02-20 10:15:59 +11:00
emoji-selector-autocomplete.raw.hbs UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
exception.hbs REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
flat-button.raw.hbs Rename {{fa-icon}} to {{d-icon}} so it can be more generic 2017-07-27 14:55:41 -04:00
full-page-search.hbs FEATURE: Allow scoping search to tag (#8345) 2019-11-14 10:40:26 +10:00
group-activity-posts.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
group-activity-topics.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
group-index.hbs FEATURE: add support for group members visibility level (#8004) 2019-08-14 19:00:04 +05:30
group-requests.hbs FIX: Group requests page missing wrapper 2019-04-15 14:16:02 -04:00
group-selector-autocomplete.raw.hbs UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
group.hbs DEV: uses private API for currentPath (#7911) 2019-07-18 17:00:39 -04:00
hide-modal.hbs FIX: Remove more of those pesky View classes 2016-11-11 17:03:15 -05:00
invites.hbs FEATURE: new invite acceptance page, where username can be chosen and password can be set 2017-02-15 16:51:57 -05:00
loading.hbs FIX: Remove more of those pesky View classes 2016-11-11 17:03:15 -05:00
login-preferences.hbs FIX: Login page that redirects to preferences was broken 2019-12-05 22:36:11 +01:00
modal.hbs [WIP] FEATURE: merge share and invite actions together (#7021) 2019-02-20 15:42:44 +01:00
outlet-list.hbs Enable newer version of Ember 2016-11-25 10:09:58 -05:00
password-reset.hbs FIX: Enter key should submit password reset form, not refresh the page 2019-11-18 11:54:41 +00:00
preferences-email.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
preferences-second-factor.hbs DEV: Submit forms via type=submit button, not explicit form action (#8368) 2019-11-18 13:26:26 +00:00
preferences-username.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
preferences.hbs pass model to above-user-preferences outlet (#8084) 2019-09-11 10:24:22 -04:00
review-index.hbs FEATURE: New API to apply custom filters to the review queue (#8392) 2019-11-22 16:33:10 -03:00
review-settings.hbs REFACTOR: Replace score bonuses with low/med/high priorities 2019-05-23 11:54:45 -04:00
review-show.hbs FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
review-topics.hbs FEATURE: Claim Reviewables by Topic 2019-05-09 13:40:36 -04:00
review.hbs FEATURE: Allow users to customize bonuses for reviewable types 2019-04-03 11:18:34 -04:00
selected-posts.hbs UX: Minor button icon color fixes 2019-02-04 12:46:12 -05:00
static.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
tag-groups-edit.hbs DEV: Tag group improvements (#8252) 2019-10-30 16:57:13 +01:00
tag-groups-index.hbs FEATURE: tag groups 2016-06-06 14:18:48 -04:00
tag-groups-new.hbs DEV: Tag group improvements (#8252) 2019-10-30 16:57:13 +01:00
tag-groups.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
tags.hbs Fixing HTML structure of tag filtered topic list 2018-08-15 19:45:37 -04:00
topic-list-header-column.raw.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
topic-list-header.raw.hbs clean up unused code 2019-01-25 20:13:54 +05:30
topic-post-badges.raw.hbs Topic badges line break (#5775) 2018-04-20 14:38:26 -04:00
topic-status.raw.hbs Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
topic.hbs Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
unknown.hbs Start converting modal views to components 2016-11-14 14:15:48 -05:00
user-card.hbs DEV: uses private API for currentPath (#7911) 2019-07-18 17:00:39 -04:00
user-invited-show.hbs FIX: show updated_at for invite sent date. 2019-11-26 13:22:48 +05:30
user-private-messages-tags.hbs UX: indicate active tag sorting method 2018-03-21 00:35:16 +05:30
user-selector-autocomplete.raw.hbs Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
user-topics-list.hbs FEATURE: Remember scroll position in private message lists (#8212) 2019-10-18 13:16:52 -05:00
user.hbs FEATURE: Featured topic for user profile & card (#8461) 2019-12-09 11:15:47 -08:00
users.hbs UX: Move total user count 2019-04-19 00:35:50 -04:00