0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 12:09:27 +08:00
discourse/plugins/discourse-data-explorer/assets
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
..
javascripts/discourse FEAT: Remember the last used editor mode in Data Explorer (#41765) 2026-07-17 10:16:11 +08:00
stylesheets UI: Add the DE search table hiding mechanism back per before (#41278) 2026-06-30 13:48:33 +08:00