discourse/plugins/discourse-gamification
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
..
admin/assets/javascripts DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
app FIX: Suspended and deleted users from showing on Leaderboards (#33627) 2025-07-23 09:39:28 -05:00
assets DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
config Update translations (#34804) 2025-09-15 10:47:22 +02:00
db
jobs
lib FIX: Suspended and deleted users from showing on Leaderboards (#33627) 2025-07-23 09:39:28 -05:00
spec DEV: Clean up js: true from recently bundled plugin specs (#33873) 2025-07-27 12:59:00 +02:00
test/javascripts DEV: Deprecate the widgets rendering system (#33684) 2025-07-23 16:05:35 -03:00
plugin.rb
README.md

Discourse Gamification Plugin

User Card

Screen Shot 2022-03-18 at 9 33 24 AM

User Metadata

Screen Shot 2022-03-18 at 10 48 25 AM

Directory

Screen Shot 2022-03-18 at 10 48 54 AM