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
Robin Ward 92b26ecbfb REFACTOR: Move Page title / focus / counts logic to service
We had a handful of methods attached to the root `Discourse` object
related to focus and notification counts.

This patch pulls them out into a service called `document-title` for
updating the title, and a component called `d-document` to attach
and listen for browser events related to focus.

It also removes some computed properties and observers in favor of plain
old Javascript objects.
2020-08-04 12:02:25 -04:00
..
asset-version.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
auth-complete.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
auto-load-modules.js REFACTOR: Allow helpers to access site settings 2020-07-22 14:14:38 -04:00
avatar-select.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
badging.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
banner.js DEV: Move preload-store to discourse/lib/preload-store 2020-05-06 15:28:06 -04:00
click-interceptor.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
copy-codeblocks.js DEV: Drop unsupported-browser plugin (#10261) 2020-07-17 15:04:06 +01:00
csrf-token.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
d-popover.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
ember-events.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
enable-emoji.js DEV: Move preload-store to discourse/lib/preload-store 2020-05-06 15:28:06 -04:00
ensure-max-image-dimensions.js REFACTOR: Remove Discourse.SiteSettings from initializers 2020-07-21 13:51:28 -04:00
inject-objects.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
jquery-plugins.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
keyboard-shortcuts.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
live-development.js Remove discourse constants (#9958) 2020-06-01 16:33:43 -04:00
localization.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
logout.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
logs-notice.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
message-bus.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
mobile.js UX: Send background color to iPad app too 2020-06-11 23:20:25 -04:00
page-tracking.js REFACTOR: Move Page title / focus / counts logic to service 2020-08-04 12:02:25 -04:00
post-decorations.js REFACTOR: Remove Discourse.SiteSettings from highlightSyntax 2020-07-24 09:45:55 -04:00
read-only.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
register-service-worker.js FIX: Service Worker URL was broken 2020-06-04 14:49:39 -03:00
relative-ages.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
sharing-sources.js REFACTOR: Remove Discourse.SiteSettings from initializers 2020-07-21 13:51:28 -04:00
show-footer.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
signup-cta.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
strip-mobile-app-url-params.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
subscribe-user-notifications.js REFACTOR: Remove Discourse.SiteSettings from desktop notifications 2020-07-22 13:27:57 -04:00
topic-footer-buttons.js UX: remove edit PM button 2020-05-28 15:15:27 +10:00
url-redirects.js FIX: Add back group redirects 2020-07-28 10:59:42 -04:00
webview-background.js UX: Send background color to iPad app too 2020-06-11 23:20:25 -04:00