mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
3b87271647
If you click on a bookmark in the post stream you get an Edit Bookmark modal. This does not happen if you click the topic bookmark button. We want to open the Edit modal too if there is only one bookmark on a topic (it doesn't matter on the first post or not). The other behaviour if there are > 1 bookmarks in the topic is to prompt the user to confirm delete of all the bookmarks in the topic. This behaviour will stay as-is. I have done some refactoring in this PR, and still, there is a place for improvement. For example, we don't call post.deleteBookmark() method when deleting several bookmarks. I just don't want to refactor too much in one PR. |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
truth-helpers | ||
wizard | ||
activate-account.js | ||
admin.js.erb | ||
app-boot.js | ||
application.js | ||
auto-redirect.js | ||
browser-detect.js | ||
browser-update.js | ||
discourse-loader.js | ||
discourse-shims.js | ||
embed-application.js | ||
ember_include.js.erb | ||
ember_jquery.js | ||
env.js | ||
google-tag-manager.js | ||
google-universal-analytics-v3.js | ||
google-universal-analytics-v4.js | ||
handlebars-shim.js | ||
main_include_admin.js | ||
markdown-it-bundle.js | ||
onpopstate-handler.js | ||
package.json | ||
polyfills.js | ||
pretty-text-bundle.js | ||
print-page.js | ||
service-worker.js.erb | ||
set-prototype-polyfill.js | ||
start-discourse.js | ||
template_include.js | ||
test-shims.js | ||
vendor.js | ||
widget-runtime.js | ||
wizard-application.js | ||
wizard-shims.js | ||
wizard-start.js | ||
wizard-vendor.js | ||
yarn.lock |