discourse/app/assets/javascripts
Martin Brennan 56f42d89c5
FIX: Post menu bookmark icon and attributes not refreshing on notification click (#10214)
When creating a bookmark reminder that deletes the bookmark on reminder, if the user clicked on the notification and got taken to the post in the topic the bookmark icon still showed as blue with the reminder clock indicator. This was because the response JSON for reloading a topic post was not including the bookmark attributes, not even the bookmarked boolean.

We now return the correct attributes in the serializer, and if bookmarked is false we clear all the bookmark related attributes on the post for the notification to make sure nothing of the old bookmark remains in the UI.

This was only a problem if the user did not refresh the app completely inbetween setting the reminder and receiving the notification.
2020-07-10 14:35:53 +10:00
..
admin DEV: Classes and plugin-outlet in admin user-list nav (#10204) 2020-07-09 15:10:25 -05:00
confirm-new-email Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
discourse/app FIX: Post menu bookmark icon and attributes not refreshing on notification click (#10214) 2020-07-10 14:35:53 +10:00
discourse-common FIX: (getURL "") was not working with the i18n helper 2020-06-05 09:53:43 -04:00
docs
ember-addons DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
locales REFACTOR: removes various assignments and superfluous params (#9699) 2020-05-08 09:19:48 +02:00
pretty-text UX: Remove extra space added by img resize controls in composer preview 2020-07-06 19:11:58 -04:00
select-kit FEATURE: Add reply_as_new_group_message composer action (#10168) 2020-07-07 18:30:48 +03:00
wizard Remove discourse constants (#9958) 2020-06-01 16:33:43 -04:00
activate-account.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
admin.js.erb
app-boot.js DEV: Have app/app export a class not an instance. 2020-05-05 14:54:13 -04:00
application.js Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
auto-redirect.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
browser-detect.js Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00
discourse-loader.js Start Discourse in an initializer (#9930) 2020-05-29 14:37:02 -04:00
discourse-objects.js
discourse-shims.js Revert "Revert "DEV: Import MessageBus from message-bus-client instead of globals"" 2020-05-28 08:42:36 -04:00
embed-application.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
ember_include.js.erb
ember_jquery.js Revert "Revert "DEV: Import MessageBus from message-bus-client instead of globals"" 2020-05-28 08:42:36 -04:00
env.js
google-tag-manager.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
google-universal-analytics.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
handlebars-shim.js DEV: Remove global Handlebars 2020-05-01 14:12:09 -04:00
main_include_admin.js DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
markdown-it-bundle.js DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
onpopstate-handler.js More JS files 2020-03-24 16:18:56 -04:00
polyfills.js FEATURE: More improvements to crawler and old browsers view 2020-04-30 12:07:51 +03:00
pretty-text-bundle.js DEV: Remove INLINE_ONEBOX_* constants 2020-05-07 16:14:38 -04:00
print-page.js
service-worker.js.erb FIX: Bypass serviceworker cache for auth routes 2020-03-31 14:24:02 -03:00
set-prototype-polyfill.js
start-discourse.js Start Discourse in an initializer (#9930) 2020-05-29 14:37:02 -04:00
template_include.js DEV: Support for import Handlebars from 'handlebars'; (#9600) 2020-04-30 16:41:02 -04:00
vendor.js Revert "Revert "DEV: Import MessageBus from message-bus-client instead of globals"" 2020-05-28 08:42:36 -04:00
wizard-application.js Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
wizard-start.js Rename more es6 files to js 2020-03-24 16:32:56 -04:00
wizard-vendor.js FIX: ensure s2 is working with wizard (#8886) 2020-02-07 10:00:39 +01:00