question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pinia Devtools Wishlist

See original GitHub issue

I think it would be nice to gather feedback about how to improve the existing devtools or reporting bugs.

If you find something that you think can be improved, a screenshot is usually enough to help describe the improvement. I want to use this issue to track those improvements.

  • Display all getters in the Inspector View (🍍 Pinia (root))
  • Allow calling $reset() directly from the devtools (Using actions + adding this in formatStoreForInspectorState(). This should only appear in the inspector view, next to the state property.
  • Add a settings panel (https://devtools.vuejs.org/plugin/plugins-guide.html#plugin-settings)
  • Time travelling
    • Changing the current state from the timeline (should not add new events)
    • Use a patch-driven approach like in Vue Devtools for perf reasons
  • Clear ans concise information about single mutations
  • Allow prod devtools (with less information because events might not be there)
  • Clicking on a store in pinia devtools should make it available as a global variable

Please do not use the issue to report bugs, use the Discussions for help or open an issue with a boiled down reproduction for bugs.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:16
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
EmmanuelQcommented, Aug 30, 2022

Would be great to show the actual state property being modified eg here we know the store is pokedex but i’d like to know the state property that “set” is targeting.

Screenshot 2022-08-31 at 00 22 11
3reactions
Carukicommented, Jun 3, 2022

When using the Vue Devtools in production mode with the provided flag VUE_PROD_DEVTOOLS the pinia plugin is not showing up. Even though other plugins (i18n or router) are. Is this a known issue with pinia?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugins - Pinia
Plugins ¶. Pinia stores can be fully extended thanks to a low level API. Here is a list of things you can do:...
Read more >
Pinia Crash Course #7 - Pinia with Vue Devtools - YouTube
Watch the whole course now (without ads) on Net Ninja Pro:https://netninja.dev/p/ pinia -crash-course ‍ ‍ Access the course...
Read more >
Front-End Development Projects with Vue.js 3 - Barnes & Noble
Add to Wishlist ... You'll also work with Vite and Vue DevTools, and learn how to handle transition and animation effects to create...
Read more >
Using IndexedDB with Vue.js - Raymond Camden
productionTip = false; Vue.config.devtools = false; const DB_NAME = 'catdb'; const DB_VERSION = 1; const app = new Vue({ el:'#app', ...
Read more >
Pinia mutations
Pinia example Example of using Pinia , a store using the composition API, support for Devtools, automatically type safe and compatible with Vue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found