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/modal
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
..
activation-edit.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
activation-resent.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
add-post-notice.hbs FEATURE: Let staff add custom post notices. (#7377) 2019-04-19 17:53:58 +03:00
associate-account-confirm.hbs UX: Improve account association when account description is missing 2019-07-27 16:37:21 +01:00
auth-token.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
avatar-selector.hbs IE11 fix for b73bd7f 2019-07-19 11:46:20 -04:00
bookmark.hbs Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
bulk-actions-buttons.hbs FIX: calling action with a string is deprecated (#7807) 2019-06-26 12:42:46 +02:00
bulk-change-category.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
bulk-notification-level.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
change-owner.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
change-timestamp.hbs UX: improves change-timestamp modal datepicker (#7771) 2019-06-24 10:24:54 +02:00
convert-to-public-topic.hbs FEATURE: Allow choice of category when making a PM public (#7907) 2019-07-19 11:52:50 -04:00
create-account.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
delete-topic-disallowed.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
dismiss-read.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
edit-category.hbs UX: Show a warning when admin clicks save without adding group when changing category permissions (#7947) 2019-07-29 21:53:31 +03:00
edit-topic-timer.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
explain-reviewable.hbs FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
feature-topic.hbs FIX: s/thumb-tack/thumbtack (#7718) 2019-06-06 14:43:16 +02:00
flag.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
forgot-password.hbs DEV: Submit forms via type=submit button, not explicit form action (#8368) 2019-11-18 13:26:26 +00:00
grant-badge.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
group-add-members.hbs REFACTOR: remove disallowEmails option from user-selector 2019-02-21 16:37:26 +11:00
group-bulk-add.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
history.hbs UX: rearrange controls in edit modals 2019-07-15 13:44:44 -04:00
ignore-duration-with-username.hbs FEATURE: Ignoring users from the preferences page in a cleaner way (#7289) 2019-04-25 09:26:49 +01:00
ignore-duration.hbs FEATURE: Introduce ignore duration selection (#7266) 2019-03-29 10:14:53 +00:00
insert-hyperlink.hbs UX: Include metadata in composer link modal search results 2019-10-16 10:17:27 -04:00
jump-to-post.hbs Fix typo 2019-07-18 12:44:35 -04:00
keyboard-shortcuts-help.hbs UX: add shortcut for deferring topics (#7798) 2019-06-25 07:20:55 +03:00
login.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
move-to-topic.hbs FIX: do not show "move to new PM" option to moderators 2019-02-18 11:35:00 +05:30
not-activated.hbs FEATURE: Allow users to resend/update email from confirmation page 2017-05-03 11:18:01 -04:00
post-enqueued.hbs FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
raw-email.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
rename-tag.hbs FIX: javascript error when opening rename tag modal 2019-01-25 17:34:05 -05:00
reorder-categories.hbs UX: Indent category badges to indicate sub-categories. 2019-03-25 10:36:29 +08:00
request-group-membership-form.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
search-help.hbs Remove the last of the ModalBodyView uses 2016-11-18 12:13:21 -05:00
second-factor-add-security-key.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
second-factor-add-totp.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
second-factor-backup-edit.hbs DEV: Convert <button> tags to {{d-button}} components (#8224) 2019-11-04 11:23:54 +01:00
second-factor-edit-security-key.hbs [FIX] Webauthn security key fixes after real-world usage (#8135) 2019-10-02 11:47:29 -07:00
second-factor-edit.hbs FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
share-and-invite.hbs [WIP] FEATURE: merge share and invite actions together (#7021) 2019-02-20 15:42:44 +01:00
tag-upload.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
topic-bulk-actions.hbs FIX: bulk change tags works with category tag settings 2017-01-26 16:36:53 -05:00
upload-selector.hbs UX: Remove 'show more' from upload modals (#8470) 2019-12-09 12:57:43 +02:00