File tree Expand file tree Collapse file tree 7 files changed +750
-594
lines changed
connectors/before-list-area Expand file tree Collapse file tree 7 files changed +750
-594
lines changed Original file line number Diff line number Diff line change 11import { service } from "@ember/service" ;
2- import discourseComputed from "discourse-common/utils /decorators" ;
2+ import discourseComputed from "discourse/lib /decorators" ;
33
44export default {
55 setupComponent ( ) {
Original file line number Diff line number Diff line change 11import Component from "@glimmer/component" ;
22import Category from "discourse/models/category" ;
3- import I18n from "I18n " ;
3+ import { i18n } from "discourse-i18n " ;
44
55export default class CategoryList extends Component {
66 constructor ( ) {
77 super ( ...arguments ) ;
88 this . blockTitle =
9- this . args ?. params ?. title || I18n . t ( themePrefix ( "category_list.heading" ) ) ;
9+ this . args ?. params ?. title || i18n ( themePrefix ( "category_list.heading" ) ) ;
1010
1111 this . categoryList = this . args ?. params ?. id . split ( "," ) ;
1212 if ( ! this . categoryList ) {
Original file line number Diff line number Diff line change 11import Component from "@glimmer/component" ;
22import { tracked } from "@glimmer/tracking" ;
33import { service } from "@ember/service" ;
4+ import getURL from "discourse/lib/get-url" ;
45import Category from "discourse/models/category" ;
5- import getURL from "discourse-common/lib/get-url" ;
66
77export default class CategoryTopics extends Component {
88 @service store ;
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "devDependencies" : {
4- "@discourse/lint-configs" : " 2.2.2 " ,
5- "ember-template-lint" : " 6.0 .0" ,
6- "eslint" : " 9.15 .0" ,
4+ "@discourse/lint-configs" : " 2.4.0 " ,
5+ "ember-template-lint" : " 6.1 .0" ,
6+ "eslint" : " 9.19 .0" ,
77 "prettier" : " 2.8.8"
88 },
99 "engines" : {
10- "node" : " >= 18 " ,
10+ "node" : " >= 22 " ,
1111 "npm" : " please-use-pnpm" ,
1212 "yarn" : " please-use-pnpm" ,
13- "pnpm" : " >= 9"
14- }
13+ "pnpm" : " 9.x"
14+ },
15+ "packageManager" :
" [email protected] " 1516}
Original file line number Diff line number Diff line change 11import { visit } from "@ember/test-helpers" ;
22import { test } from "qunit" ;
3+ import { cloneJSON } from "discourse/lib/object" ;
34import discoveryFixture from "discourse/tests/fixtures/discovery-fixtures" ;
45import { acceptance , visible } from "discourse/tests/helpers/qunit-helpers" ;
5- import { cloneJSON } from "discourse-common/lib/object" ;
66
77acceptance ( "Right Sidebar - Category Topics" , function ( needs ) {
88 const blocksJSON = [
Original file line number Diff line number Diff line change 11import { visit } from "@ember/test-helpers" ;
22import { test } from "qunit" ;
3+ import { cloneJSON } from "discourse/lib/object" ;
34import discoveryFixture from "discourse/tests/fixtures/discovery-fixtures" ;
45import { acceptance , visible } from "discourse/tests/helpers/qunit-helpers" ;
5- import { cloneJSON } from "discourse-common/lib/object" ;
66
77acceptance ( "Right Sidebar" , function ( ) {
88 test ( "Viewing latest" , async function ( assert ) {
You can’t perform that action at this time.
0 commit comments