-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Filtering #112
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
Comments
Maybe we should PR Vuex to modify the Object-Style Dispatch to include a This is where we would start adding that to make it consumable by the devtools: |
I would be happy to have a simple text input that would filter by action names (maybe some regex). My case:
|
@Namek, as a temporary workaround, you can switch to the Object-Style Dispatch and use the silent flag for your Hopefully, we can all pool together to get this implemented soon. |
Hey @dddomin3, sorry for the delay. |
Sure! Sorry for my late response. The mutation filtering improvements are great! Good job there 👍 As for state filtering: Honestly though, from my point of view, though, being able to filter mutations really captures the spirit of my request. I should be a lot more atomic with my suggestions! |
yeah, or even better, writing |
Hey, I think we should close this issue already. Main request has been resolved wasn't it? |
State filtering is implemented in #418. |
Could you please give an example how to use this I'm using
In the end of the day vue devtools just hangs cause it can't handle thousand of messages from progress. Is there a way I just can remove them from displaying in it? p.s. I don't wanna reduce amount of commit messages |
Stop recording by clicking the red dot |
@Deathangel908, I see the Vuex dispatch still has code for the silent prop. Here's the implementation: https://github.com/vuejs/vuex/blob/10be6af/src/index.js#L99-L135 |
@posva but I do wanna record other actions |
Quite weird that when filter is used it filters out mutation section, and because of that I can't see the payload. |
Feel free to open new issue with your concern @alendorff :) |
Uh oh!
There was an error while loading. Please reload this page.
Vue(x) Dev Tools should have a ability to filter both state, and mutation names.
If possible, having the ability to categorize mutations with a string, enum, and/or a log level. Either through special dispatch attributes that are only considered/passed to dev middlewares, or whatever is a better implementation.
I feel as though the vuex dev tools quickly gets filled. When mutations involving many different interactions (API state, page state, component lifecycle state) all end up all in one flat list, it's hard to track an issue in a specific functionality.
The text was updated successfully, but these errors were encountered: