alibaba/lowcode-engine
Voir sur GitHub通过 project.currentDocument?.selection.select(id) 选中节点打开大纲树面板后,大纲树节点未选中对应的节点?
Open
#2 805 ouverte le 28 déc. 2023
2 commentaires (2 commentaires)0 réactions (0 réactions)1 assigné (1 assigné)TypeScript12 714 stars (12 714 stars)2 228 forks (2 228 forks)batch import
bughelp wanted
Description
如图所示:
- 如果节点是 Modal 类型,是否也支持选中Modal 节点并展开?
Guide contributeur
- Stack technique
- typescriptreact
- Domaine
- frontend
- Type d'issue
- bug
- DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
- 3
- Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
- 1-3 hours
- Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
- needs maintainer response
- ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
- mostly clear
- Prérequis
- understanding of lowcode engine selection APIfamiliarity with React component hierarchy
- Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
- 40
- Direction de recherche
- 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.