devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

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

Open normal-coder opened this issue 1 year ago • 2 comments

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 :)

normal-coder avatar Jun 23 '24 12:06 normal-coder

Thank you for your feedback, we will improve it.

webfansplz avatar Jun 23 '24 13:06 webfansplz

Let me have a try.

ZKunZhang avatar Sep 15 '25 03:09 ZKunZhang