insomnia/packages/insomnia-app/app/ui/components
Walter Barbagallo 29d13ce096 Run GraphQL query based on cursor position. (#990)
* Run GraphQL query based on cursor position.

If there are multiple operations in the GraphQL query it automatically choose
which operation to run based on the cursor position.

* Highlight current operation

* Refactor. Prevent some query change issues.

If the current operation name gets deleted the new current operation
is set as fallback to the first operation name.
This refactor includes a `_documentAST` property on GraphQLEditor component,
so it is locally available (it avoids multiple graphql `parse` function calls).
Also a _queryEditor reference is added to the component.
2018-06-27 12:31:32 -07:00
..
base Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
codemirror Run GraphQL query based on cursor position. (#990) 2018-06-27 12:31:32 -07:00
dropdowns Add Prettier 2018-06-25 13:42:50 -04:00
editors Run GraphQL query based on cursor position. (#990) 2018-06-27 12:31:32 -07:00
key-value-editor Add Prettier 2018-06-25 13:42:50 -04:00
modals Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
settings Add Prettier 2018-06-25 13:42:50 -04:00
sidebar Add Prettier 2018-06-25 13:42:50 -04:00
tags Add Prettier 2018-06-25 13:42:50 -04:00
templating Add folder index to request tag (Closes #1011) 2018-06-26 17:26:44 -04:00
viewers Add Prettier 2018-06-25 13:42:50 -04:00
check-for-updates-button.js Add Prettier 2018-06-25 13:42:50 -04:00
cookie-list.js Add Prettier 2018-06-25 13:42:50 -04:00
error-boundary.js Add Prettier 2018-06-25 13:42:50 -04:00
gravatar-img.js Add Prettier 2018-06-25 13:42:50 -04:00
help-tooltip.js Add Prettier 2018-06-25 13:42:50 -04:00
hotkey.js Add Prettier 2018-06-25 13:42:50 -04:00
keydown-binder.js Add Prettier 2018-06-25 13:42:50 -04:00
markdown-editor.js Add Prettier 2018-06-25 13:42:50 -04:00
markdown-preview.js Add Prettier 2018-06-25 13:42:50 -04:00
rendered-query-string.js Add Prettier 2018-06-25 13:42:50 -04:00
rendered-text.js Add Prettier 2018-06-25 13:42:50 -04:00
request-pane.js Add Prettier 2018-06-25 13:42:50 -04:00
request-url-bar.js Add Prettier 2018-06-25 13:42:50 -04:00
response-pane.js Add Prettier 2018-06-25 13:42:50 -04:00
response-timer.js Add Prettier 2018-06-25 13:42:50 -04:00
time-from-now.js Add Prettier 2018-06-25 13:42:50 -04:00
toast.js Add Prettier 2018-06-25 13:42:50 -04:00
tooltip.js Add Prettier 2018-06-25 13:42:50 -04:00
wrap.js Add Prettier 2018-06-25 13:42:50 -04:00
wrapper.js Add Prettier 2018-06-25 13:42:50 -04:00