mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-16 16:36:10 +08:00
Refactors ResultSet handling to use tracked arrays and native array APIs, removing ArrayProxy semantics. - Access items via .content across controllers, routes, components, and templates (conditionals, #each, find, map) - Replace Ember array mutators on ResultSets: * removeObject → removeValueFromArray * addObjects → addUniqueValuesToArray * setObjects → content.splice(...) * unshiftObjects → content.unshift(...) - Use modern native APIs on ResultSets: * toSorted for non-mutating sort * .at(-1) for last element access - Update adapter/util logic to iterate results.content (e.g., theme afterFindAll, default theme lookup) - Initialize tracked collections where needed (e.g., themes list via TrackedArray) to maintain reactivity |
||
|---|---|---|
| .. | ||
| asset-processor | ||
| custom-proxy | ||
| deprecation-silencer | ||
| dialog-holder | ||
| discourse | ||
| discourse-i18n | ||
| discourse-markdown-it | ||
| discourse-plugins | ||
| discourse-widget-hbs | ||
| ember-cli-progress-ci | ||
| float-kit | ||
| pretty-text | ||
| select-kit | ||
| truth-helpers | ||
| .npmrc | ||
| polyfills.js | ||