SQL Queries for admins in Discourse
Go to file
Isaac Janzen 556d12ac50
FIX: Maintain editing state after saving query changes (#223)
In the widget version of the data-explorer we would maintain the `editing` state after saving query changes. This was lost in upgrade to glimmer. 

# Current State
https://user-images.githubusercontent.com/50783505/217622464-79adaab6-84ed-4b64-93ae-c889aa8fb1bd.mp4

# Updated State
https://user-images.githubusercontent.com/50783505/217623475-1998fab6-0b70-42d2-923d-574efb9d5601.mov

# Other Changes
- `createProperties` was added back to the `query` model as it is being utilized in the creation of a new data explorer query. This was accidentally removed and was causing errors when trying to create a new query.
- Add new-query test
2023-02-08 13:40:53 -06:00
.github/workflows DEV: Update CI workflows (#216) 2023-01-10 18:11:40 +00:00
app DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
assets FIX: Maintain editing state after saving query changes (#223) 2023-02-08 13:40:53 -06:00
config Update translations (#217) 2023-01-18 11:42:21 +01:00
db/migrate DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
lib DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
spec DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
test/javascripts FIX: Maintain editing state after saving query changes (#223) 2023-02-08 13:40:53 -06:00
.discourse-compatibility DEV: Replace bootbox alert dialogs (#190) 2022-10-18 14:13:00 -04:00
.eslintrc DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
.gitignore DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00
.prettierrc DEV: Minor clean-up (#119) 2021-07-02 10:31:16 +02:00
.rubocop.yml DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
.streerc DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
.template-lintrc.js DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
Gemfile DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
Gemfile.lock DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
LICENSE Initial commit as a clone of discourse-tagging 2015-06-25 09:25:15 -07:00
README.md DEV: Update README.md (#164) 2022-02-21 20:59:32 +01:00
package.json DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00
plugin.rb DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
translator.yml DEV: Upgrade `admin-plugins-explorer` to Octane (#209) 2023-01-05 09:27:10 -06:00
yarn.lock DEV: Update eslint-config-discourse, use prettier for hbs (#212) 2023-01-04 13:36:14 +01: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