vuejs/devtools

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

Open

#467 建立於 2024年6月23日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)TypeScript (24,286 star) (4,095 fork)batch import
enhancementgood first issue

描述

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

貢獻者指南

feat: Pinia panel Store optimization (support one-click expand/collapse, search) · vuejs/devtools#467 | Good First Issue