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/initializers
Martin Brennan 93c38cc175
FEATURE: Bookmark keyboard shortcuts (#9318)
Adds keyboard bindings and associated help menu for selecting reminder type in bookmark modal, and pressing Enter to save.

Introduce the following APIs for `KeyboardShortcuts`:

* `pause` - Uses the provided array of combinations and unbinds them using `Mousetrap`.
* `unpause` - Uses the provided combinations and rebinds them to their default shortcuts listed in `KeyboardShortcuts`.
* `addBindings` - Adds the array of keyboard shortcut bindings and calls the provided callback when a binding is fired with Mousetrap.
* `unbind` - Takes an object literal of a binding map and unbinds all of them e.g. `{ enter: { handler: saveAndClose" } };`
2020-04-07 14:03:15 +10:00
..
asset-version.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
auth-complete.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
auto-load-modules.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
avatar-select.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
badging.js FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
banner.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
click-interceptor.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
csrf-token.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
d-popover.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
ember-events.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
enable-emoji.js FEATURE: allows multiple custom emoji groups (#9308) 2020-03-30 20:16:10 +02:00
ensure-max-image-dimensions.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
inject-objects.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
jquery-plugins.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
keyboard-shortcuts.js FEATURE: Bookmark keyboard shortcuts (#9318) 2020-04-07 14:03:15 +10:00
live-development.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
localization.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
logout.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
logs-notice.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
message-bus.js DEV: long poll for 20 extra minutes when user stops interacting 2020-03-27 10:14:13 +11:00
mobile.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
page-tracking.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
post-decorations.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
read-only.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
register-discourse-location.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
register-service-worker.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
relative-ages.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
sharing-sources.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
show-footer.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
signup-cta.js DEV: prefer Date.now() over new Date().getTime() 2020-03-26 17:36:53 +11:00
strip-mobile-app-url-params.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
subscribe-user-notifications.js FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
title-notifications.js FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
topic-footer-buttons.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
url-redirects.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00