VisActor / VisActor/VTable

[Feature] 刷新数据不会保持旧的状态,希望新增功能批量获取展开的节点、批量展开、批量收起指定节点集合

Open
#4,422 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

What problem does this feature solve?

在树形结构的列表中, 刷新数据不会保持旧的状态, 导致已展开的内容,在刷新后被收起。

What does the proposed API look like?

希望新增功能批量获取展开的节点、批量展开、批量收起指定节点集合。用户可以自定义在刷新前获取展开的节点id,刷新后自行控制展开收起项

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tree-table refresh flow and identify where expanded node state is lost. Review the proposed batch APIs for retrieving expanded node IDs and expanding or collapsing specified node sets; done means the refresh scenario supports user-controlled restoration of expanded nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.