discourse/plugins/poll
Sérgio Saquetim 4b2c45376d
DEV: Convert @decorated macros to getters (#37955)
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).
2026-04-09 22:38:55 -03:00
..
app FIX: match ActiveRecord#reload signature in overrides (#38639) 2026-03-17 09:10:34 +11:00
assets DEV: Convert @decorated macros to getters (#37955) 2026-04-09 22:38:55 -03:00
config I18N: Update translations (#39112) 2026-04-08 12:04:11 +02:00
db/migrate FEATURE: dynamic poll support (#34368) 2025-08-19 16:43:36 +10:00
jobs/regular DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
lib SECURITY: Check topic visibility before allowing poll interactions 2026-03-31 15:12:45 +01:00
spec SECURITY: Check topic visibility before allowing poll interactions 2026-03-31 15:12:45 +01:00
test/javascripts DEV: Migrate to @ember/reactive/collections (#38221) 2026-03-23 17:44:41 -03:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb FIX: Include poll options in HTML email notifications (#37812) 2026-02-17 11:39:42 +01:00
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00