discourse/plugins/discourse-data-explorer
Sérgio Saquetim 6f06709643
DEV: Replace ArrayProxy with tracked array for ResultSets (#35527)
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
2025-10-28 16:04:09 -03:00
..
app DEV: Allow query parameters to be sent without JSON-encoding them. (#35314) 2025-10-13 14:12:29 +11:00
assets DEV: Replace ArrayProxy with tracked array for ResultSets (#35527) 2025-10-28 16:04:09 -03:00
config Update translations (#34976) 2025-09-25 16:05:27 +02:00
db/migrate
lib DEV: Improve validity checking of JSON param values. (#35401) 2025-10-15 14:31:12 +11:00
spec DEV: Improve validity checking of JSON param values. (#35401) 2025-10-15 14:31:12 +11:00
test/javascripts DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
plugin.rb DEV: new API endpoint for data explorer query running (#34561) 2025-08-27 15:52:08 +10:00
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