jakobw / wd-query-builder

Prototype of the Wikidata Query Builder for generating lists from Wikidata
https://tools.wmflabs.org/wd-query-builder/
GNU General Public License v2.0
8 stars 0 forks source link

Add option to clear current query #6

Open hay opened 4 years ago

hay commented 4 years ago

There's no easy way currently to clear the current query. I think there would be two options to make this possible:

1) An easy way: make the title of the query builder link to the root (wd-query-builder.toolforge.org) so you can just click it and it will automatically clear the query (this is how i do it in VizQuery) 2) A more advanced way with a button somewhere near the 'Share Query' button that clears the current query. This should probably give a warning / alert to confirm the deletion of the current query.