Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tolerate quotes #92

Open
kachkaev opened this issue Oct 7, 2016 · 1 comment
Open

Tolerate quotes #92

kachkaev opened this issue Oct 7, 2016 · 1 comment

Comments

@kachkaev
Copy link

kachkaev commented Oct 7, 2016

I'm really glad to discover Wicket and I would like to use it as a little tool for verifying the output of some chained ST_xxx transformations. I'm running my queries in PgAdmin and then copy the result to a text editor, making a quick confirming stop at your app.

When I select a cell in PgAdmin results and press ctrl+c, the buffer is populated with a quoted string, e.g. "POLYGON(???)". Pasting this string to Wicket as is does not work because the quotes are not expected by the parser. It would be nice if the algorithm was a bit more tolerant to these symbols and saved users from a need to remove them manually every time. My guess is that it is safe to trim both " and '.

What do you guys think?

@arthur-e
Copy link
Owner

arthur-e commented Oct 7, 2016

Hi @kachkaev I'm glad you found the Wicket sandbox useful. The functionality you're describing, just as with #93 that you raised, would be limited to the sandbox's front-end. I'll see if I have time in the next few days to implement these changes (should be straightforward); anyone with HTML + JS experience is welcome to contribute these changes as a Pull Request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants