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

Idea: "Log" button for states/actions #42

Closed
gaearon opened this issue Aug 6, 2015 · 6 comments
Closed

Idea: "Log" button for states/actions #42

gaearon opened this issue Aug 6, 2015 · 6 comments

Comments

@gaearon
Copy link
Contributor

gaearon commented Aug 6, 2015

No matter how good UI for object treeview can be, I doubt it'll beat the native UI (and REPL!)
What if we just add a tiny "log" button to every state and action in devtools?
Then you can always dump it to the console when you feel like exploring it in detail.

@sergey-lapin
Copy link

@gaearon I guess so, and it is much simpler to do=)

@calesce
Copy link
Contributor

calesce commented Aug 6, 2015

I mentioned something similar to that idea in the discussion of #39. Copy to clipboard would be very useful to play with state in the console, as well as if you can paste the cumulative state/actions back into devTools (perhaps from a QA tester's debug session).

@sergey-lapin
Copy link

@calesce I used ReactZeroClipboard for copy to clipboard here. https://github.com/lapanoid/redux-devtools-gentest-plugin/blob/master/src/components/TestMonitor.js it is damn simple.

@calesce
Copy link
Contributor

calesce commented Aug 6, 2015

Very cool! I hadn't seen that. No excuse not to write tests now 😃

@sergey-lapin
Copy link

@calesce thanks, there is a room for improvement)

@gaearon
Copy link
Contributor Author

gaearon commented Sep 27, 2015

Things like "log" button are part of this long-term UI overhaul: #74.
Import/Export for current state is tracked in #118.

@gaearon gaearon closed this as completed Sep 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants