0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 07:23:30 +08:00
discourse/plugins/discourse-data-explorer/spec
Krzysztof Kotlarek 7ccc75eca7
FEAT: Remember the last used editor mode in Data Explorer (#41765)
Previously, Data Explorer opened every query in a fixed editor mode
("Generate with AI" whenever AI queries were enabled), so admins who
prefer writing SQL had to switch modes on every query they opened or
created.

This change stores the last used "Write SQL"/"Generate with AI" choice
in localStorage and applies it as the default when opening or creating
queries, following the same mechanism the plugin already uses to
remember the per-query results view.

Demo





https://github.com/user-attachments/assets/8bfc6e4d-efd8-4d87-be99-00198824ab7a
2026-07-17 10:16:11 +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: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
models DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
requests DEV: Turn on AI data explorer queries by default (#41581) 2026-07-09 13:49:10 +08:00
system FEAT: Remember the last used editor mode in Data Explorer (#41765) 2026-07-17 10:16:11 +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: render JSONB results as JSON (#41255) 2026-06-29 15:43:31 +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