discourse/app/assets/javascripts/select-kit/addon/components
Joffrey JAFFEUX c197daa04c
DEV: allows to alter category name/description (#28263)
This commit adds two new getters to the category model:
- `displayName`
- `descriptionText`

These getters are used instead of `name` and `description_text` where appropriate.

On top of this two transformers have been added to allow plugins to alter these getters:

```javascript
api.registerValueTransformer(
  "category-display-name",
  ({ value, context }) =>
    value + "-" + context.category.id + "-transformed"
);
```

```javascript
api.registerValueTransformer(
  "category-description-text",
  ({ value, context }) =>
    value + "-" + context.category.id + "-transformed"
);
```
2024-08-08 17:33:23 +02:00
..
category-drop FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
color-palettes DEV: Sort imports 2023-10-10 21:46:54 +01:00
combo-box DEV: Sort imports 2023-10-10 21:46:54 +01:00
dropdown-select-box DEV: Sort imports 2023-10-10 21:46:54 +01:00
future-date-input-selector
mini-tag-chooser DEV: Sort imports 2023-10-10 21:46:54 +01:00
multi-select DEV: Sort imports 2023-10-10 21:46:54 +01:00
notifications-button DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
notifications-filter UX: adjust various button classes (#24121) 2023-10-27 10:26:59 -04:00
period-chooser DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
select-kit FIX: tweaks of select-kit on mobile (#26401) 2024-03-27 17:26:24 +01:00
tag-drop UX: Add "filter for more" to icon picker (#25263) 2024-01-23 21:53:13 +01:00
toolbar-popup-menu-options
user-chooser
bulk-select-bookmarks-dropdown.js FIX: Bulk clear reminders when the reminder is expired (#27220) 2024-05-28 10:21:33 -03:00
categories-admin-dropdown.js UX: minor categories reorder fixes (#27249) 2024-05-29 18:58:25 -04:00
category-chooser.js DEV: Make CategoryChooser optionally provide the category (#26420) 2024-03-28 11:16:39 -05:00
category-drop-more-collection.gjs DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
category-drop.js DEV: allows to alter category name/description (#28263) 2024-08-08 17:33:23 +02:00
category-notifications-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
category-row.gjs DEV: allows to alter category name/description (#28263) 2024-08-08 17:33:23 +02:00
category-selector.js FIX: Fetch categories for "+subcategories" option (#26622) 2024-04-25 16:47:45 +03:00
color-palettes.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
combo-box.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
composer-actions.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
create-color-row.hbs
create-color-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
dropdown-select-box.js DEV: update a couple button classes (#23127) 2023-09-25 16:45:57 -04:00
email-group-user-chooser-filter.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
email-group-user-chooser-row.hbs
email-group-user-chooser-row.js
email-group-user-chooser.js
filter-for-more.gjs UX: Add "filter for more" to icon picker (#25263) 2024-01-23 21:53:13 +01:00
flair-chooser.js
flair-row.hbs
flair-row.js
form-template-chooser.js FIX: Adding form template to category dropdown can some times be empty (#25066) 2023-12-29 14:15:56 +08:00
future-date-input-selector.js DEV: Don't use attrs (#24323) 2023-11-27 12:16:31 +01:00
group-chooser.js
group-dropdown.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
group-notifications-button.js
icon-picker.js UX: Add "filter for more" to icon picker (#25263) 2024-01-23 21:53:13 +01:00
list-setting.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
mini-tag-chooser.js FIX: Show max tag error and prevent search (#26233) 2024-03-19 12:47:18 +08:00
multi-select.hbs FEATURE: mandatory fields for group site setting (#26612) 2024-04-18 08:53:52 +10:00
multi-select.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
none-category-row.hbs
none-category-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
notifications-button.js UX: Add missing title to notifications-button (#27837) 2024-07-11 08:37:53 +08:00
notifications-filter.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
period-chooser.js DEV: Don't use attrs (#24323) 2023-11-27 12:16:31 +01:00
pinned-button.hbs
pinned-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
pinned-options.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
search-advanced-category-chooser.js
select-kit.js FIX: prevents open to happen too early (#26649) 2024-04-16 13:58:06 +02:00
selected-choice-category.hbs
selected-choice-category.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-choice-color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-choice.hbs FEATURE: mandatory fields for group site setting (#26612) 2024-04-18 08:53:52 +10:00
selected-choice.js FEATURE: mandatory fields for group site setting (#26612) 2024-04-18 08:53:52 +10:00
selected-color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-flair.hbs
selected-flair.js
selected-name.hbs
selected-name.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
single-select.hbs FIX: wait for the end of search requests (#26240) 2024-03-19 12:25:25 +01:00
single-select.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
tag-chooser-row.hbs
tag-chooser-row.js
tag-chooser.js FIX: update tag-chooser & category-selector action (#24318) 2023-11-10 00:05:02 +01:00
tag-drop.js UX: replace "all subcategories" with "remove filter", reorder tag dropdown (#27473) 2024-06-13 17:10:25 -04:00
tag-group-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
tag-notifications-button.js
tag-row.hbs DEV: add description parameter to discourse-tag component (#28213) 2024-08-05 12:04:54 -04:00
tag-row.js FEATURE: Show remaining count in category-drop (#25938) 2024-03-07 16:14:50 +02:00
tags-intersection-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
timezone-input.js
toolbar-popup-menu-options.js DEV: Add appEvents for composer / DEditor toolbar events (#26517) 2024-04-05 08:35:25 -05:00
topic-chooser.js
topic-footer-mobile-dropdown.js
topic-notifications-button.hbs
topic-notifications-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
topic-notifications-options.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
topic-row.hbs DEV: Always pass ancestors to category-link (#26638) 2024-04-16 15:28:36 -05:00
topic-row.js
user-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
user-notifications-dropdown.js UX:minor tweaks to user notifications dropdown (#26754) 2024-04-25 15:22:41 +02:00
watched-words.js FEATURE: Allow watched words to be created as a group (#26632) 2024-04-29 15:50:55 +05:30