I’ve had a little go at a client-side only version of the datastore query builder:
http://please.treadsoft.ly/query/
I’ll probably keep tinkering with it, so feedback welcome.
Features:
- inline preview
- nicer multiselects (as suggested by Dale Potter )
- bootstrap (for Mark Brough ’s benefit)
Tagging Yohanna Loucheur because this includes some of the things our table discussed in the query builder session at TAG.
NB probably doesn’t work on Internet Explorer.
Thanks very much for this feedback, Yohanna Loucheur !
All suggestions re. preview / submit / reset / hide preview are great – I’ll make those changes.
YohannaLoucheur:What sort of thing did you have in mind? This depends a bit on the datastore
YohannaLoucheur:Yes very good point. I’ll fix that.
YohannaLoucheur:Hmm… The export comes straight from the datastore, so this would require a change to the datastore. Were you thinking of restricting columns, or adding new columns?
Yeah, that may be beyond the scope of this specific exercize. My comment about adding field was based on the fact that I wasn’t getting all the data elements in the download (eg planned disbursements). I also wasn’t seeing them in your preview but wasn’t sure if it was your design choice or missing in the data itself (now I know).
I think I’m talking about 3 different things, which isn’t helpful…:
1 - filters
2 - elements included in the download
3 - elements visible in the preview
On #1, adding or removing filters from the Q Builder itself, that’s probably better discussed in a different post?
On #2, as a data user, I assume all the elements will be in the downloaded file. This assumption isn’t correct, as I found out. I would also like to be able to select (ie remove) elements from the download, if I know I won’t need them and want to limit the size of the file or something. Is this also better discussed in a different post? (same post as #1 or different one?)
On #3: irrespective of #2, a user may want to exclude specific columns from the preview, for instance to focus on those that are affected by a change in the selection (ie to see them all at once on the screen). In other words, the user wants to download a given dataset, but doesn’t want to see the full range of elements in the preview.
Hope that makes sense, and sorry for the confusion.
Which filters are available