mozilla / active-data-recipes

A repository of various activedata queries and recipes
Mozilla Public License 2.0
9 stars 24 forks source link

Implement a query tool as part of the web app #94

Open ahal opened 5 years ago

ahal commented 5 years ago

ActiveData has a very basic query tool that lives here: https://activedata.allizom.org/tools/query.html

But it leaves a lot to be desired. I'd like to have a similar query tool integrated into the webapp. Probably it would be a new template that you can get to by clicking a link from the main page. It should use a proper embedable editor. My vote would be "ace" as it's developed/supported by Cloud9: https://ace.c9.io/

Though there are many other alternatives such as codemirror that we could investigate as well.

In the long run, I'd like to be able to create/edit both recipes and queries directly from the web UI. So we should try to design this layout to be flexible/extensible.

For now though, it will be easiest to simply focus on a query editor similar to the one that currently exists in ActiveData.