discourse/plugins/poll/test/javascripts
Sérgio Saquetim 375581ed98
DEV: Migrate to @ember/reactive/collections (#38221)
Replaces `@ember-compat/tracked-built-ins` with Ember's native
`@ember/reactive/collections` module (available since Ember 6.8) across
~80 files in core and plugins.

Changes:
- Replace `TrackedArray`/`TrackedObject`/`TrackedSet`/`TrackedMap` class
constructors with
`trackedArray()`/`trackedObject()`/`trackedSet()`/`trackedMap()` factory
functions
- Replace `instanceof TrackedArray` checks with new `isTrackedArray()`
utility (factory returns a Proxy, not a class instance)
- Add `trackedObjectWithComputedSupport()` wrapper for site settings and
other objects observed via `@computed` dependent key chains -- registers
`setCustomTagFor` to bypass `setupMandatorySetter` and intercepts `set`
to call `dirtyTagFor()`
- Add `@ember/reactive/collections` loader shim for theme/plugin
compatibility
- Patch `ember-source` to fix `TrackedMap`/`TrackedWeakMap` `set()`
truthiness bug, `entries()`/`values()`/`forEach()` tag consumption,
`delete()` return values, and missing `[Symbol.iterator]()` on iterators
- Bump `@discourse/lint-configs` to `2.44.0`

Depends on #38220.
2026-03-23 17:44:41 -03:00
..
acceptance DEV: Move and fix incorrectly named tests (#37488) 2026-02-03 19:10:06 +01:00
component DEV: Migrate to @ember/reactive/collections (#38221) 2026-03-23 17:44:41 -03:00
helpers DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
unit FEATURE: allow pie chart colors to be overridden with CSS (#36495) 2025-12-05 16:51:26 -05:00