alibaba/lowcode-engine
View on GitHub通过 project.currentDocument?.selection.select(id) 选中节点打开大纲树面板后,大纲树节点未选中对应的节点?
Open
#2805 opened on Dec 28, 2023
2 comments (2 comments)0 reactions (0 reactions)1 assignee (1 assignee)TypeScript12,714 stars (12,714 stars)2,228 forks (2,228 forks)batch import
bughelp wanted
Description
如图所示:
- 如果节点是 Modal 类型,是否也支持选中Modal 节点并展开?
Contributor guide
- Tech stack
- typescriptreact
- Domain
- frontend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- needs maintainer response
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- understanding of lowcode engine selection APIfamiliarity with React component hierarchy
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- The issue involves the selection functionality in the outline tree panel. Look at the selection implementation in packages/engine and the outline tree component (likely in packages/outline). Check if the project.currentDocument?.selection.select(id) call updates the outline tree's selected state. Also, the issue asks whether Modal nodes are supported; this requires investigation into how Modal components are handled in the tree. The assignee may have insights; consider reviewing comments or asking for clarification.