Godfrey Chan
c34f8b65cb
DEV: Rename I18n imports to discourse-i18n ( #23915 )
...
As of #23867 this is now a real package, so updating the imports to
use the real package name, rather than relying on the alias. The
name change in the package name is because `I18n` is not a valid
name as NPM packages must be all lowercase.
This commit also introduces an eslint rule to prevent importing from
the old I18n path.
For themes/plugins, the old 'i18n' name remains functional.
2023-10-18 11:07:09 +01:00
David Taylor
48193767bf
DEV: Sort imports
...
Automatically generated by `eslint --fix` to satisfy the updated configuration
2023-10-10 21:46:54 +01:00
Peter Wagenet
40cb46631f
DEV: Update /admin/badges
to modern Ember patterns ( #17672 )
...
* Nest admin badges controller and route files
* Use standard file names for admin-badges
* Update resolver to allow standardized file structure for admin
* Add adminBadges.index controller for property tracking
* Modernize admin badges controller
* Modernize admin-badges route
* Add admin-badges index route
* Modernize admin-badges.show controller and route
* Modernize admin-badges.award controller and route
* Convert BadgeButton to a Glimmer component
2022-08-03 10:12:17 +01:00
Martin Brennan
23b7b42acd
DEV: Bump eslint-config-discourse ( #14868 )
...
Changes for 4f7aba06c0
Also fixes all of the object-shorthand violations in our JS code.
2021-11-10 09:31:41 +10:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically ( #11382 )
2020-12-01 15:31:26 -03:00
Robin Ward
ce3fe2f4c4
REFACTOR: Support bundling our admin
section as an ember addon
2020-09-22 15:14:29 -04:00