mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
6261339da9
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. |
||
---|---|---|
.. | ||
client.ar.yml | ||
client.be.yml | ||
client.bg.yml | ||
client.bs_BA.yml | ||
client.ca.yml | ||
client.cs.yml | ||
client.da.yml | ||
client.de.yml | ||
client.el.yml | ||
client.en_US.yml | ||
client.en.yml | ||
client.es.yml | ||
client.et.yml | ||
client.fa_IR.yml | ||
client.fi.yml | ||
client.fr.yml | ||
client.gl.yml | ||
client.he.yml | ||
client.hu.yml | ||
client.hy.yml | ||
client.id.yml | ||
client.it.yml | ||
client.ja.yml | ||
client.ko.yml | ||
client.lt.yml | ||
client.lv.yml | ||
client.nb_NO.yml | ||
client.nl.yml | ||
client.pl_PL.yml | ||
client.pt_BR.yml | ||
client.pt.yml | ||
client.ro.yml | ||
client.ru.yml | ||
client.sk.yml | ||
client.sl.yml | ||
client.sq.yml | ||
client.sr.yml | ||
client.sv.yml | ||
client.sw.yml | ||
client.te.yml | ||
client.th.yml | ||
client.tr_TR.yml | ||
client.uk.yml | ||
client.ur.yml | ||
client.vi.yml | ||
client.zh_CN.yml | ||
client.zh_TW.yml | ||
names.yml | ||
plurals.rb | ||
server.ar.yml | ||
server.be.yml | ||
server.bg.yml | ||
server.bs_BA.yml | ||
server.ca.yml | ||
server.cs.yml | ||
server.da.yml | ||
server.de.yml | ||
server.el.yml | ||
server.en_US.yml | ||
server.en.yml | ||
server.es.yml | ||
server.et.yml | ||
server.fa_IR.yml | ||
server.fi.yml | ||
server.fr.yml | ||
server.gl.yml | ||
server.he.yml | ||
server.hu.yml | ||
server.hy.yml | ||
server.id.yml | ||
server.it.yml | ||
server.ja.yml | ||
server.ko.yml | ||
server.lt.yml | ||
server.lv.yml | ||
server.nb_NO.yml | ||
server.nl.yml | ||
server.pl_PL.yml | ||
server.pt_BR.yml | ||
server.pt.yml | ||
server.ro.yml | ||
server.ru.yml | ||
server.sk.yml | ||
server.sl.yml | ||
server.sq.yml | ||
server.sr.yml | ||
server.sv.yml | ||
server.sw.yml | ||
server.te.yml | ||
server.th.yml | ||
server.tr_TR.yml | ||
server.uk.yml | ||
server.ur.yml | ||
server.vi.yml | ||
server.zh_CN.yml | ||
server.zh_TW.yml | ||
transliterate.ar.yml | ||
transliterate.bg.yml | ||
transliterate.de.yml | ||
transliterate.el.yml | ||
transliterate.en.yml | ||
transliterate.ru.yml | ||
transliterate.vi.yml |