dharders opened a new issue #957: Feature Request: Auto quote Query keys if 
quotes missing
URL: https://github.com/apache/couchdb-fauxton/issues/957
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   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
   <!--- If you're describing a bug, tell us what should happen -->
   <!--- If you're suggesting a change/improvement, tell us how it should work 
-->
   Add surrounding quotes to Query Key strings if missing
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected 
behavior -->
   <!--- If suggesting a change/improvement, explain the difference from 
current behavior -->
   No results returned if quotes missing (which is technically correct, but not 
the best user experience)
   ## Possible Solution
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   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
   <!--- Include as many relevant details about the environment you experienced 
the bug in -->
   * 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
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to