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/initializers
Martin Brennan 0c42a1e5f3
FEATURE: Topic-level bookmarks (#14353)
Allows creating a bookmark with the `for_topic` flag introduced in d1d2298a4c set to true. This happens when clicking on the Bookmark button in the topic footer when no other posts are bookmarked. In a later PR, when clicking on these topic-level bookmarks the user will be taken to the last unread post in the topic, not the OP. Only the OP can have a topic level bookmark, and users can also make a post-level bookmark on the OP of the topic.

I had to do some pretty heavy refactors because most of the bookmark code in the JS topics controller was centred around instances of Post JS models, but the topic level bookmark is not centred around a post. Some refactors were just for readability as well.

Also removes some missed reminderType code from the purge in 41e19adb0d
2021-09-21 08:45:47 +10:00
..
animated-images.js FIX: Support pausing inline animated images (#13033) 2021-05-12 09:49:04 -04:00
auth-complete.js FEATURE: Allow invites redemption with Omniauth providers. 2021-03-09 09:27:18 +08:00
auto-load-modules.js FEATURE: Introduce theme/component QUnit tests (take 2) (#12661) 2021-04-12 15:02:58 +03:00
badging.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
banner.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
click-interceptor.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
copy-codeblocks.js FIX: whitespaces when copying code blocks (#12730) 2021-04-16 10:28:47 +02:00
csrf-token.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
d-popover.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
edit-notification-clicks-tracker.js FIX: Consistently show history modal when clicking edit notifications (#13912) 2021-08-03 19:06:23 +03:00
ember-events.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
ember-input-component-extension.js A11Y: Improve create account modal for screen readers (#14234) 2021-09-03 13:04:24 +10:00
ember-link-component-extension.js A11Y: makes edit username and avatar accessible (#12162) 2021-02-22 12:10:44 +01:00
enable-emoji.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
inject-objects.js DEV: Sync up more Ember CLI features (#11790) 2021-01-21 15:55:39 -05:00
jquery-plugins.js Quite a few Ember-CLI / Upgrade related changes (#11867) 2021-01-29 10:19:54 -05:00
keyboard-shortcuts.js DEV: uses forked Mousetrap to avoid leaking listeners (#14198) 2021-09-08 14:48:13 +02:00
live-development.js DEV: Refactor stylesheet live-reloading (#13755) 2021-07-16 13:43:31 +10:00
localization.js REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
logout.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
logs-notice.js Revert "FIX: The LogsNotice service was never unsubscribing from the mbus" 2021-08-25 17:04:59 -04:00
message-bus.js FIX: Long poll if window becomes active (#13825) 2021-07-23 15:52:10 +03:00
mobile.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
moment.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
onebox-decorators.js DEV: updates to onebox 2.2.14 (#12713) 2021-04-15 10:58:39 +02:00
opengraph-tag-updater.js FIX: Safari iOS page title and url regression when sharing (#11699) 2021-01-13 11:10:43 -05:00
page-tracking.js DEV: Don't transition miniprofiler on first page load. (#14265) 2021-09-07 13:44:49 +08:00
post-decorations.js FEATURE: Use responsive image sizes in post stream (#13343) 2021-06-18 09:15:03 -04:00
read-only.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
register-media-optimization-upload-processor.js DEV: Add addComposerUploadPreProcessor to plugin-api (#14222) 2021-09-06 08:22:50 +10:00
register-service-worker.js DEV: Do not install service workers in development (#12708) 2021-04-14 18:21:28 -03:00
relative-ages.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
sharing-sources.js UX: Improve share modal consistency (#13689) 2021-07-12 20:55:59 -04:00
show-footer.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
signup-cta.js DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
strip-mobile-app-url-params.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
subscribe-user-changes.js FEATURE: Show draft count in user menu and activity (#13812) 2021-07-27 14:05:33 +03:00
subscribe-user-notifications.js FIX: Maintain order when updating notifications (#13643) 2021-07-06 13:33:56 +03:00
topic-footer-buttons.js FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
url-redirects.js FIX: Escape periods in current user's username before generating RegExp (#13247) 2021-06-03 14:15:38 +10:00
webview-background.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00