discourse/plugins/chat/admin/assets/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
..
admin/components DEV: moves field type on the field (#38552) 2026-03-12 20:03:01 +01:00
discourse DEV: Migrate to @ember/reactive/collections (#38221) 2026-03-23 17:44:41 -03:00