couchdb-fauxton
couchdb-fauxton copied to clipboard
Feature Request: Auto quote Query keys if quotes missing
When querying database documents through the Fauxton interface, i.e. Clicking Options -> By Keys or Between Keys
, it should be possible to enter a string without having to surround it with quotes.
I've lost count of how many times I have entered key values, returning 0 results, even though the documents exist. I then have to go back and surround the values for the query to execute correctly. It's a jarring experience that could be easily solved by Fauxton doing a simple check for surrounding quotes and if not present add them.
Expected Behavior
Add surrounding quotes to Query Key strings if missing
Current Behavior
No results returned if quotes missing (which is technically correct, but not the best user experience)
Possible Solution
Simple string check for surrounding quotes and if not present add them on submit. Could also make an option to 'Auto quote' etc, which is off by default.
Your Environment
- Version used: 2.1.0
- Browser Name and version: Chrome 59.0.3071.115
- Operating System and version (desktop or mobile): Win10 x64 client, Debian (Jessie) x64 Server