Jarek Radosz
b2b32d6af8
DEV: Replace period mixin with a component ( #25292 )
2024-01-18 13:06:42 +01:00
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
Arpit Jalan
b39f823fd3
FEATURE: add custom date range filter for admin dashboard reports ( #23702 )
...
* FEATURE: add custom date range filter for admin dashboard reports
* Improvements per David's review
2023-09-29 14:44:17 +05:30
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
51b360916c
DEV: Use import { inject as controller}
Ember idiom ( #13140 )
2021-05-25 18:37:32 +02:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically ( #11382 )
2020-12-01 15:31:26 -03:00
Roman Rizzi
1c2358ba16
DEV: Tidy up imports. ( #11364 )
...
Only allow one import definition per file and add a new eslint rule to enforce it.
2020-11-27 11:30:16 -03:00
Robin Ward
ce3fe2f4c4
REFACTOR: Support bundling our admin
section as an ember addon
2020-09-22 15:14:29 -04:00