alibaba/lowcode-engine
Ver no GitHub通过 project.currentDocument?.selection.select(id) 选中节点打开大纲树面板后,大纲树节点未选中对应的节点?
Open
#2.805 aberto em 28 de dez. de 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 节点并展开?
Guia do colaborador
- Pilha de tecnologia
- typescriptreact
- Domain
- frontend
- Tipo Issue
- bug
- DifficultyDificuldade de implementação estimada para um novo contribuidor, de 1 para alterações muito pequenas a 5 para trabalho de nível especializado.
- 3
- Tempo estimadoUm intervalo de tempo aproximado para um colaborador experiente investigar, implementar, testar e preparar um pull request.
- 1-3 hours
- Status da atividadeQuão disponível o issue aparece agora: novo, ativo, obsoleto, bloqueado ou aguardando entrada do mantenedor.
- needs maintainer response
- ClarityCom que clareza o issue explica a mudança esperada, os critérios de aceitação e a próxima etapa.
- mostly clear
- Prerequisites
- understanding of lowcode engine selection APIfamiliarity with React component hierarchy
- Simpatia para novatosUma pontuação de 1 a 100 que estima o quão acessível este issue é para colaboradores iniciantes.
- 40
- Direção de pesquisa
- 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.