mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 09:31:40 +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). |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib/discourse_cakeday | ||
| spec | ||
| test/javascripts | ||
| example.png | ||
| example2.png | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Cakeday!
Official Plugin Topic & Documentation: https://meta.discourse.org/t/cakeday-celebrating-birthdays-and-anniversaries/38447/
Installing
See https://meta.discourse.org/t/install-a-plugin/19157/14
License
MIT

