discourse/plugins/discourse-reactions/assets/javascripts/discourse
David Taylor 6081bc2249
DEV: Standardize Ember route, controller and template naming (#34417)
For historical reasons, Discourse has a customized Ember resolver. This
had a much more fuzzy implementation of 'normalize' and 'findTemplate'
functions. This leniency meant that our file naming hasn't always
matched Ember conventions.

Standardizing our naming will make things easier to understand for
developers, and will make adoption of newer ecosystem tooling easier
(e.g. route-based bundle splitting in Embroider/vite)

This commit adds deprecations to the resolver when this leniency is
used, and uses a fully bespoke codemod to rename all of the affected
routes/controllers/templates in the Discourse core repository.
Backwards-compatibility is maintained for anyone looking up the old
names in the resolver.
2025-09-25 11:27:45 +01:00
..
adapters
components DEV: Deprecate Site.mobileView/desktopView during initialization (#34122) 2025-08-25 16:49:52 -03:00
connectors DEV: Enable ember/no-classic-components (#33978) 2025-07-30 14:54:24 +02:00
controllers/user-activity DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
initializers DEV: Replace the use of Ember's .findBy for native methods on arrays (#34557) 2025-09-24 15:32:13 -03:00
models DEV: Improve user handling and access in post components (#34013) 2025-08-06 17:00:34 -03:00
routes DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
templates/user-activity DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
discourse-reactions-user-activity-route-map.js
discourse-reactions-user-notifications-route-map.js