discourse/app/assets/javascripts
Kelv 50ac0a5702
DEV: refactor singleton mixin to class decorator (#30498)
Refactors the Singleton mixin into a class decorator that directly mutates target classes with the same static property & functions as the mixin. This maintains the public interface of such singleton classes.

Classes refactored to use the singleton class decorator:

Session
User
Site
I removed singleton functionality from LogsNotice since services are already singletons and what we had previously defined in its customized createCurrent method could be replaced by directly injecting the relevant services into the class. This also allowed us to get rid of the logs-notice initializer.

We are adding a deprecation warning to the Singleton mixin instead of deleting since there are plugins that could still be using it.
2025-01-02 12:57:48 +08:00
..
admin UX: Move first settings admin route to config page (#30510) 2025-01-02 09:13:37 +10:00
custom-proxy Build(deps-dev): Bump express from 4.21.1 to 4.21.2 (#30167) 2024-12-08 23:35:23 +01:00
deprecation-silencer
dialog-holder Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse DEV: refactor singleton mixin to class decorator (#30498) 2025-01-02 12:57:48 +08:00
discourse-common DEV: Use object spread instead of Object.assign (#30407) 2024-12-23 08:44:29 +01:00
discourse-hbr DEV: Detect hbr topic list customizations (#29793) 2024-11-21 16:00:49 +01:00
discourse-i18n DEV: Fixup verbose localization method name (#30208) 2024-12-10 17:30:36 +00:00
discourse-markdown-it FIX: properly quote videos (#30099) 2024-12-04 12:39:38 +01:00
discourse-plugins Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse-widget-hbs DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
docs
ember-addons
ember-cli-progress-ci
float-kit UX: refactor IP lookup using DMenu to improve layout and positioning (#30374) 2024-12-19 14:49:36 -05:00
locales
pretty-text DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
select-kit FEATURE: Improve wizard quality and rearrange steps (#30055) 2025-01-02 09:28:23 +10:00
theme-transpiler DEV: Update content-tag to 3.1.0 (#30339) 2024-12-18 12:59:27 +01:00
truth-helpers Build(deps): Bump ember-auto-import from 2.9.0 to 2.10.0 (#29606) 2024-11-06 01:06:08 +01:00
.npmrc
handlebars-shim.js
polyfills.js DEV: Bump eslint, lint-configs, and move to flat config (#29661) 2024-11-12 12:33:17 +00:00
service-worker.js.erb DEV: allow non focused tab to be primary tab in service worker (#29516) 2024-11-01 09:42:33 +04:00