-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Build a Dart DevTools tab for MobX #215
Comments
Oh, I'll definitely follow that one. |
Depending on what's possible, yes. But that's unrelated to Mobx. |
@pavanpodila have you tried anything or found documentation explaining how to add a custom screen on the devtool? |
I spoke to Jacob, an architect from the Flutter DevTools team, who suggested I start with the Logging screen: https://github.com/flutter/devtools/tree/master/packages/devtools/lib/src/logging. That is an example of adding a new screen/tab to the DevTools interface |
So that means it'd be built in the dev tool? I'm not sure that's a good idea. I don't see how that'd scale as the flutter community grows. What about a browser extension instead? It'd detect that the page is from the devtools, and add a tab manually. |
Ya from what I learnt, there is no extensibility built in for third party. With mobx we will become the first extension 😀 |
@pavanpodila @rrousselGit Instead of trying to link with flutter dev tools, I would suggest another approach, the one that flutter redux uses. Instead, by using redux_remote_devtools, you are able to debug the store in remote dev tools by running your own server. I would like to see the same for mobx since the js version already is kinda supporting this via mobx-remotedev. Please invest some time into this, cause now the mobx is a blackbox in flutter I'm not sure what's going on, I need to put breakpoints and debugPrints in order to see if the action is fired or what I have in the store. |
From the 4.0.0 of provider and onward, providers correctly implement the diagnostic methods needed to see the current value on the devtool Which means if you're using provider to pass your stores (and have a proper toString), you should be able to see their content |
right but how to link providers to the remote dev server? Or you mean the flutter dev tools not the redux one? |
Flutter devtools, yes |
hi there, are you guys currently working on this? is there a specific direction on what approach will be used? e.g. something like redux_remote_devtools, a tab on dart dev tool, a browser extension, or something else? |
Work has not started on this. We want to target the Flutter Dev Tools first. |
Hi one year has passed :) Are there any updates? |
any news? |
Hello I really want to build this tool, but don't have prior experience on building the If the making it PR to the official @fzyzcjy it would be very helpful if you can help with references on how to create a standalone application that would interact with the main application. I remember it from the Would appreciate any help from anyone getting it started! Thanks |
My convenient_test_manager uses Btw, I am curious where do you find me from this issue? |
@fzyzcjy Thanks will check it out. Found from #215 (comment) and I also remember the |
@Rohithgilla12 Haha I see. You are welcome! |
Start by creating a PR in this repo: https://github.com/flutter/devtools
Refer to the Design Doc for the potential features.
The text was updated successfully, but these errors were encountered: