discourse/test/javascripts
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
..
acceptance REFACTOR: use rest serializer for tag-info categories 2019-12-10 14:58:11 -05:00
admin FEATURE: Overhaul of admin API key system (#8284) 2019-11-05 14:10:23 +00:00
components FIX: alphabetical tag sorting in mini-tag-chooser 2019-12-10 12:36:49 -05:00
controllers Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures Improving bookmarks part 1 (#8466) 2019-12-11 14:04:02 +10:00
helpers FIX: Don't try to create an empty tag when updating a topic (#8481) 2019-12-09 19:55:08 +01:00
initializers FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00
lib DEV: Extend plugin API for uploads (#8440) 2019-12-09 16:20:03 +02:00
mixins DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
models DEV: Don't allow Promise unless imported from "rsvp" 2019-11-20 15:24:59 -05:00
widgets Revert "Revert Ember.run refactors" 2019-10-30 09:48:24 -04:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js FIX: Failing tests 2019-11-13 15:34:30 -05:00