mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-29 15:45:23 +08:00
Replaces deprecated computed macros and custom decorators with explicit `@computed` getters across ~170 files in core and plugins. **Removed macro usage:** - `@ember/object/computed`: `@equal`, `@alias`, `@reads`, `@not`, `@notEmpty`, `@empty`, `@and`, `@or`, `@gt`, `@gte`, `@lt`, `@lte`, `@match`, `@collect`, `@sort`, `@filterBy`, `@mapBy` - `discourse/lib/computed`: `@setting`, `@fmt`, `@propertyEqual`, `@propertyNotEqual`, `@i18n`, `@url` **Replaced with:** - Explicit `@computed` getters with dependent keys - `@dependentKeyCompat` where needed for classic component interop - `@tracked` properties where appropriate - New `arraySortedByProperties` utility for Ember-style sorting - `deepEqual` from `discourse/lib/object` for property comparisons Covers admin, core components, controllers, models, services, select-kit, and plugins (chat, poll, adplugin, assign, cakeday, local-dates, subscriptions, automation). |
||
|---|---|---|
| .. | ||
| javascripts | ||
| stylesheets | ||