Commit Graph

16 Commits

Author SHA1 Message Date
Dmitry Yankowski
21c6c07b39 Save GraphQL schema and response in state
Allows the user to go to the settings page, and back to the GraphQL page, without having to re-request the schema or response.
2020-02-24 16:12:02 -05:00
Dmitry Yankowski
7022ef5f7e Fix variables JSON string
I don't have any variables set, and when running a mutation; I get the following error:

```
Error SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at VueComponent._callee$ (graphql.vue?f047:505)
    at tryCatch (runtime.js?96cf:45)
    at Generator.invoke [as _invoke] (runtime.js?96cf:271)
    at Generator.prototype.<computed> [as next] (runtime.js?96cf:97)
    at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
    at _next (asyncToGenerator.js?1da1:25)
    at eval (asyncToGenerator.js?1da1:32)
    at new Promise (<anonymous>)
    at VueComponent.eval (asyncToGenerator.js?1da1:21)
```

Setting the `variablesJSONString` variable to the correct default (`{}`) fixes this issue :)
2020-02-23 19:42:59 -05:00
Liyas Thomas
04feb3cdbe Support for Formdata 2020-02-05 23:04:46 +05:30
Andrew Bastin
94c2440832 Hooked the new variable editor to the persistent store 2020-01-29 20:35:54 -05:00
Abdul Rifqi Al Abqary
161c0b7b88 added token request management 2020-01-07 18:46:16 +09:00
Abdul Rifqi Al Abqary
df48e85de5 added token managements 2020-01-06 18:17:50 +09:00
Abdul Rifqi Al Abqary
5377c69b40 add oauth handler 2020-01-06 15:06:50 +09:00
Abdul Rifqi Al Abqary
d24b917c17 added oauth token ui 2020-01-06 14:51:47 +09:00
pushrbx
1ac144e3a7 🎉 Added variables to graphql page (w/ lame type validation). 2019-12-31 13:09:26 +00:00
Liyas Thomas
b10a209daf Improving performance 2019-11-28 20:41:52 +05:30
Andrew Bastin
7fab6f4732 Added query field to the GQL state 2019-11-26 15:43:06 -05:00
Andrew Bastin Kalloor Biju
122782f244 Added headers field to state and added mutations to handle header list updates 2019-11-25 22:25:22 -05:00
Andrew Bastin
2c139c2a65 Added GQL object to global store 2019-11-21 00:00:15 -05:00
Liyas Thomas
d290b25f8a 🐛 Fixed a critical bug, clear cookies to take effect 2019-11-06 08:35:56 +05:30
liyasthomas
5db9ca9786 Minor tweaks 2019-11-03 01:20:40 +05:30
breno-pereira
36ec17a06c add vuex-persist 2019-10-24 20:28:08 -03:00