Comments (14)
I am pretty sure this is do-able, and I plan on taking a crack at it very soon!
from apollo-client-devtools.
Yes like the mutations attached to components. Yes like the query panel.
Right now in apollo devtools you can only view a list of Watched queries run. Mutations are not included. I am not talking about graphiql, I am talking about the apollo devtools chrome application.
Not sure what more information I can give. Happy to try though :) Would dig this functionality.
from apollo-client-devtools.
PR is merged 😄 I'll close this when the feature is released
from apollo-client-devtools.
You mean the mutations that are currently attached to components in the UI, like the query panel?
Or a log of mutations?
Right now, you can already do mutations via GraphiQL, it would be good to get some more info about what you would like to know about mutations.
from apollo-client-devtools.
Yeah, being able to easily get the mutations from your code and see when they are called, and maybe call them yourself (even triggering the optimistic updates, etc) would be pretty sweet!
from apollo-client-devtools.
Hey guys I have made this change. Check it out and let me know what you think :)
from apollo-client-devtools.
@ryannealmes where can we check this out?! Nice work!
from apollo-client-devtools.
You can pull down the repo and follow the readme to install the chrome extension
After cloning this repo, compile the extension bundle:
cd apollo-client-devtools
npm install
npm run build
Install the extension in Chrome:
Open chrome://extensions
Enable the 'Developer Mode' checkbox
Click 'Load unpacked extensions...'
Select the apollo-client-devtools/extension folder
Note there is a dependency on the latest version of the apollo-client. This unfortunately couldn't be avoided. If you don't have the latest version, the mutations tab will not display.
Ping me with any feedback :)
from apollo-client-devtools.
I'm not seeing the mutations tab after following the above instructions.. I have what I believe is the latest apollo version "apollo-client": "1.2.2"
Anything you think I might be doing wrong?
from apollo-client-devtools.
Sorry looking at the apollo-client, they haven't released a new version yet. You can always modify your node_modules apollo-client directly if you just want to see it working. You can get the PR here apollographql/apollo-client#1699
I just changed timezones so my responses may be a bit delayed.
from apollo-client-devtools.
@ryannealmes did they release a new version? I saw they released this 4 days ago: https://github.com/apollographql/apollo-client/releases/tag/v1.3.0
from apollo-client-devtools.
There are some changes they want done which I need to do. Haven't had enough time to get to it. You can see the changes and add any comments on the PR.
#36
from apollo-client-devtools.
Looks like this has been released?! Anyone want to verify that?
from apollo-client-devtools.
It has been released!
from apollo-client-devtools.
Related Issues (20)
- Scroll not working in Queries and Cache tabs. HOT 3
- Display scroll bars in Webkit browsers
- Update screenshots in extension/addon stores HOT 2
- Finish Tailwind migration HOT 1
- Active queries disappear when used with RedwoodJS
- Dependency Dashboard
- Extension prevents websites (tested on atlassian.com) from loading styles HOT 9
- Not working! Apollo Client Devtools on Chrome latest HOT 17
- Doesn't work in latest Chromium-based MS Edge HOT 6
- Server side mutation errors are not reported in the explorer HOT 2
- Looking for client... No longer working after recent update HOT 16
- Impossible to track newly-created ApolloClients HOT 3
- Reactive Var Tab HOT 1
- Cache tab explodes causing the devtools to crash
- DevTools does not show any data for my app HOT 11
- Intermittent connection issues when first opening dev tools HOT 5
- unable to load devtool properly. Failed to execute 'postMessage' on 'Window' HOT 5
- v4.8.1 breaks Google Cloud Console on Arc & Chrome for Mac HOT 4
- Provide development apps that contains irregular cache data
- not show any data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-client-devtools.