discourse/app/assets/javascripts/admin/addon/templates/admin-config
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
..
color-palettes
content
customize
developer
experimental
files
flags
group-permissions
interface
legal
localization
login-and-authentication
navigation
notifications
onebox
rate-limits
search
security
site-admin
spam
trust-levels
user-defaults
about.gjs
color-palettes.gjs
content.gjs
customize.gjs
flags.gjs
fonts.gjs
logo.gjs