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/services
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
..
app-events.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
document-title.js REFACTOR: Move Page title / focus / counts logic to service 2020-08-04 12:02:25 -04:00
emoji-store.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
logs-notice.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
search.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
theme-settings.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00