discourse/app/assets/javascripts
Joffrey JAFFEUX a5980ea637
FIX: access correct name and description (#28353)
`defaultCategoryLinkRenderer` is using a fake category object which doesn’t have access to the functions and getters of category model.

This had been incorrectly set in c197daa04c

As we don't get a real category object, we have to call the transformers manually and also pass the fake category object as context, this is not ideal as people might try to access properties in the transformer which are not available on the category object given they will be different based on the context. Hopefully one day this helper and all the chain can be refactored to use a real category model.

This commit also adds tests for these two properties in the category-link helper.

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. -->
2024-08-14 00:04:55 +02:00
..
admin DEV: Convert admin-watched-word to glimmer/gjs/dbutton (#28340) 2024-08-13 15:45:44 +02:00
custom-proxy Build(deps-dev): Bump glob from 10.4.2 to 10.4.3 (#27751) 2024-07-08 08:40:31 +08:00
deprecation-silencer DEV: Silence whitespace-eating-comment warnings (#27129) 2024-05-22 16:21:51 +02:00
dialog-holder Build(deps-dev): Bump webpack from 5.92.1 to 5.93.0 (#27882) 2024-07-12 01:30:31 +02:00
discourse FIX: access correct name and description (#28353) 2024-08-14 00:04:55 +02:00
discourse-common DEV: Promote modifyClass warning to error (#28300) 2024-08-09 16:45:33 +01:00
discourse-hbr DEV: Convert discourse-hbr to a regular package (#26562) 2024-04-08 20:00:34 +01:00
discourse-i18n UX: respect current locale on topic map views date format (#28199) 2024-08-05 13:18:48 -03:00
discourse-markdown-it SECURITY: Fixes for main (#28137) 2024-07-30 14:19:01 +08:00
discourse-plugins DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208) 2024-08-05 10:35:26 +01:00
discourse-widget-hbs DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208) 2024-08-05 10:35:26 +01:00
docs
ember-addons
ember-cli-progress-ci PERF: Improve production JS build in low-memory environments (#26849) 2024-05-02 11:43:59 +01:00
ember-production-deprecations DEV: Update ember-cli-deprecation-workflow from 2.2.0 to 3.0.1 (#28226) 2024-08-07 17:59:42 +02:00
float-kit DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208) 2024-08-05 10:35:26 +01:00
locales FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
pretty-text DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208) 2024-08-05 10:35:26 +01:00
select-kit DEV: allows to alter category name/description (#28263) 2024-08-08 17:33:23 +02:00
theme-transpiler Build(deps): Bump terser from 5.31.4 to 5.31.5 (#28289) 2024-08-09 11:51:03 +08:00
truth-helpers Build(deps): Bump ember-auto-import from 2.7.3 to 2.7.4 (#27615) 2024-06-26 01:35:06 +02:00
.npmrc
handlebars-shim.js
polyfills.js
run-patch-package
service-worker.js.erb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00