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/app
Andrei Prigorshnev 3b87271647
FEATURE: Open the edit bookmark modal when clicking on the topic level bookmark button (#13407)
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.
2021-06-17 19:24:06 +04:00
..
adapters DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
components DEV: Plugin API to allow creation of directory columns with item query (#13402) 2021-06-17 09:06:18 -05:00
controllers FEATURE: Open the edit bookmark modal when clicking on the topic level bookmark button (#13407) 2021-06-17 19:24:06 +04:00
helpers DEV: Plugin API to allow creation of directory columns with item query (#13402) 2021-06-17 09:06:18 -05:00
initializers FEATURE: Open the edit bookmark modal when clicking on the topic level bookmark button (#13407) 2021-06-17 19:24:06 +04:00
lib FIX: Make avatar-flair component fail gracefully group info missing (#13398) 2021-06-16 11:22:11 +01:00
mixins PERF: Animate request animation frame (#13337) 2021-06-09 04:26:52 -10:00
models FEATURE: Open the edit bookmark modal when clicking on the topic level bookmark button (#13407) 2021-06-17 19:24:06 +04:00
pre-initializers DEV: Remove cache option from ajax() (#13142) 2021-05-31 14:41:35 +02:00
raw-views A11Y: makes replies count a button and not a link (#12570) 2021-04-06 08:27:43 +02:00
routes DEV: Add plugin API to extend search results (#12966) 2021-06-15 15:32:41 +10:00
services FEATURE: Introduce theme/component QUnit tests (take 2) (#12661) 2021-04-12 15:02:58 +03:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates DEV: Plugin API to allow creation of directory columns with item query (#13402) 2021-06-17 09:06:18 -05:00
widgets DEV: Add plugin API to extend search results (#12966) 2021-06-15 15:32:41 +10:00
app.js FEATURE: Introduce theme/component QUnit tests (take 2) (#12661) 2021-04-12 15:02:58 +03:00
index.html DEV: Remove unused offscreen-content (#13133) 2021-05-25 18:39:06 +02:00
mapping-router.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00