0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-data-explorer/spec
Natalie Tay 2598983e02
UX: Data explorer improvements (#40605)
Small updates to data explorer:

For `/new` (AI query creation)
- Auto-runs the generated query and shows the result first, mirroring
/edit
- New admin-only POST queries/preview endpoint runs unsaved SQL so
results can be previewed before creating a query
- Chart / table / SQL segmented control similar to /edit
  - SQL with a resizable grippie
- "Save query" is now the primary button
- added a "Run" button.
- Saving transitions to /edit and auto-runs (?run=true).
- More breathing room between SQL and the name/description fields.

For `/edit`
- Disables Run / Save-and-run / Undo / Help / Delete while a query is
running or AI is generating.

Charts & tables (shared QueryResult)
- Smarter default view: falls back to table when a chart would silently
drop columns (e.g. user / username / reason / sum) pure-numeric series
still chart.
- long tables now cap at chart height with a chevron expand button, so
action buttons stay reachable (this was done before)
- /g/x/reports also have memory over which option (chart/table) was
chosen before

Copy (i18n)
- "Re-generate" to "Update prompt".
2026-06-05 19:31:37 +08:00
..
automation DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
fabricators
integration DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
jobs DEV: Switch DE agent to use tools for structure and accuracy (#40315) 2026-06-03 22:08:44 +08:00
lib DEV: Switch DE agent to use tools for structure and accuracy (#40315) 2026-06-03 22:08:44 +08:00
models
requests UX: Data explorer improvements (#40605) 2026-06-05 19:31:37 +08:00
system DEV: Persist dashboard configuration in table and *not* on closure of the dialog (#40546) 2026-06-04 10:53:59 +08:00
tasks DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
data_explorer_spec.rb FIX: Data Explorer post relations expose private post excerpts to group report users (#39819) 2026-05-07 14:41:16 +10:00
guardian_spec.rb PERF: Add Users to Group Pt. 1 (#38737) 2026-03-26 09:11:22 -05:00
report_generator_spec.rb SECURITY: Check for no group assignments in data-explorer queries 2026-02-26 12:22:54 +00:00
result_format_converter_spec.rb
result_to_markdown_spec.rb