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
David Taylor
21dad02503
FIX: Correct router service call from some admin controllers ( #22757 )
...
72edb727
updated these to point to the router service, but the method name also needed to be changed from replaceRoute -> replaceWith
2023-07-24 12:32:17 +01:00
Isaac Janzen
72edb7270c
DEV: Upgrade replaceRoute
on Controller ( #22648 )
...
Per https://deprecations.emberjs.com/v3.x/#toc_routing-transition-methods
We are upgrading all `this.replaceRoute` calls on controllers to directly call the router service (`this.router.replaceRoute`)
2023-07-18 15:16:41 -05:00
David Taylor
be354e7950
DEV: Update admin controllers to native class syntax ( #20674 )
...
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
2023-03-15 09:42:12 +00:00
Jarek Radosz
f414d5eace
DEV: Use method definition syntax consistently ( #14915 )
2021-11-13 14:01:55 +01:00
Joe
5ab6ef9765
FEATURE: Adds back button to theme editor ( #11416 )
2020-12-08 10:54:44 +11: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