Quick-add behavior when called from context menu
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- javascript
- 領域
- frontend
研究方向
首先在 Node-RED 編輯器中重現內容選單流程,並將其與 issue 中描述的 cmd/ctrl-click 流程進行比較。追蹤內容選單中的 Insert > Node 項目,以及 quick-add 對話框對 workspace 點擊的處理。完成的標準是:點擊其他位置時,對話框能一致地關閉,而不是移動對話框並讓它保持開啟狀態。
由索引模型根據 Issue 內容生成。
描述
Current Behavior
I'm not sure whether this should be considered a bug or a feature, since it could help with the node positioning.
If you right-click on the workspace to open the context menu, select Insert > Node, the quick-add dialog will open. Then, if you click elsewhere on the workspace, the quick-add dialog will "be moved" there. And this will repeat until you close the quick-add dialog.
This doesn't happen when opening the quick-add dialog using cmd/ctrl + click. The quick-add dialog will be closed if you click elsewhere.
https://github.com/user-attachments/assets/11a7bd53-281f-40ff-a59d-b61d5dada700
Expected Behavior
No response
Steps To Reproduce
- Right-click on the workspace to open the context menu
- Select
Insert>Node - Click elsewhere on the workspace
Example flow
No response
Environment
- Node-RED version: current dev branch (also happens in v4)
- Node.js version: 26.0.0
- npm version: 11.12.1
- Platform/OS: macOS Tahoe 26.5
- Browser: Chrome, Safari, Firefox
- 主要語言
- JavaScript
- 星號
- 23.8k
- 分支
- 3.9k
- 平均合併
- 2 天 16 小時
- 30 天內合併 PR
- 31
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
node-red/node-red 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 2 天內回覆
-
removeModule(): `module.usedBy > 0` guard never fires (array compared with number) — removing a module another module depends on fully unregisters it可能已有人在做 @cestercian 於 7 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
node-red/node-red#6010 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 2 天內回覆
-
Split node: msg.parts.count overcounts for Buffer payloads that end with the delimiter (Split->Join stalls)可能已有人在做 @Yash121l 於 6 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 2 天內回覆
查看 node-red/node-red 的全部 Issue
相似的 Issue
-
area: apple-music area: build-release bug effort: small priority: high
難度 2/5 1-3 小時 新手友好度 82/100
ChristianTabor/Argon#32 ·
維護者通常 1 天內回覆
-
0️⃣ phase/new
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
-
automated issue report
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
good first issue tests
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆