[Feature] 刷新数据不会保持旧的状态,希望新增功能批量获取展开的节点、批量展开、批量收起指定节点集合
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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