mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-16 11:03:02 +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 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| plugin.rb | ||
| README.md | ||
Data Explorer Plugin
This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.
For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566