vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 121 forks source link

feat: filter tree/states for custom inspectors #664

Closed alexzhang1030 closed 3 weeks ago

alexzhang1030 commented 3 weeks ago

closes #657

Leave a Todo here, The pinia applet is very similar to the custom inspector applet, we should extract the common logic into a composable.

netlify[bot] commented 3 weeks ago

Deploy Preview for vue-devtools-docs canceled.

Name Link
Latest commit 4a08343b388b4b2f491e5b70b20747d826774908
Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/6723a73c5da65700087e799e
pkg-pr-new[bot] commented 3 weeks ago

Open in Stackblitz

@vue/devtools-applet

``` pnpm add https://pkg.pr.new/@vue/devtools-applet@664 ```

@vue/devtools-core

``` pnpm add https://pkg.pr.new/@vue/devtools-core@664 ```

@vue/devtools

``` pnpm add https://pkg.pr.new/@vue/devtools@664 ```

@vue/devtools-api

``` pnpm add https://pkg.pr.new/@vue/devtools-api@664 ```

@vue/devtools-kit

``` pnpm add https://pkg.pr.new/@vue/devtools-kit@664 ```

vite-plugin-vue-devtools

``` pnpm add https://pkg.pr.new/vite-plugin-vue-devtools@664 ```

commit: 4a08343

webfansplz commented 3 weeks ago

Great work. But when I tested it, I found that it caused the custom inspector state don't display as expected.

alexzhang1030 commented 3 weeks ago

curious about that, I did not update any core logic

webfansplz commented 3 weeks ago

curious about that, I did not update any core logic

You can reproduce it in the basic playground's Vuex and Vue Query panel

alexzhang1030 commented 3 weeks ago

curious about that, I did not update any core logic

You can reproduce it in the basic playground's Vuex and Vue Query panel

@webfansplz fixed, missed something... bad js 😅

webfansplz commented 3 weeks ago

LGTM 🔥. Great work, bro.