vuejs/devtools

feat: Pinia panel Store optimization (support one-click expand/collapse, search)

Open

#467 opened on Jun 23, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (24,286 stars) (4,095 forks)batch import
enhancementgood first issue

Description

Description of the problem

The current Pinia Store management interface is always put away by default every time you enter it, which is not convenient for users to debug, or to quickly view Pinia Stores, and this situation becomes more and more obvious with the increase of layers and Stores, so I hope it can be improved.

Expected results

  • Support for expanding/collapsing Pinia Store data structures with a single click.
    • One-click operation for all Stores
    • Expand/collapse operations for a specific Store node (with interaction provided by the current node Hover).
  • Provide Pinia Store key-value pair retrieval (at the top of the Store panel).

Other

Compared to the management of Compoments Tree, Pinia Store doesn't have similar ability to “locate Compoments based on DOM”, so providing easy and flexible interactions seems to be an effective way to improve it. If you have better ideas, please feel free to discuss them :)

Contributor guide