discourse/app/assets/javascripts/select-kit/addon/components/multi-select
Kelv 6cda3c728a
DEV: refactor select-kit utils mixin to property-utils lib (#32665)
Follow up to refactoring the generic utils mixin used in select-kit
components in https://github.com/discourse/discourse/pull/32594.

This PR follows a different approach as the util functions related to
properties here aren't easily extracted without a major change to the
interface due to the dependency on `this.selectKit`. These util
functions are instead declared on the prototype with a class decorator
which ensures the same behaviour is maintained without relying on a
mixin.

It's largely a lift-and-shift with some minor refactoring of the
conditional logic to reduce nesting and improve readability of the
functions.
2025-05-23 09:03:10 +08:00
..
format-selected-content.gjs DEV: refactor select-kit utils mixin to property-utils lib (#32665) 2025-05-23 09:03:10 +08:00
multi-select-filter.gjs DEV: Remove final {{action uses and enable lint rule (#32348) 2025-04-25 21:25:06 +01:00
multi-select-header.gjs DEV: [gjs-codemod] Convert final core components/routes to gjs 2025-04-25 11:06:24 +01:00
selected-category.gjs DEV: [gjs-codemod] Convert automation/styleguide/other to gjs 2025-04-14 15:36:16 +01:00
selected-color.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00