Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Comments and nodes moved together cause incorrect Action Stack description

未关闭 适合新手
#248 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
frontend

调研方向

Payload 未指定任何文件,因此,首先找到 Action Stack 面板从正在移动的选择中构建其 "Move N Nodes" 和 "Move N Comments" 标签的位置。通过同时选择一个节点和一个评论、拖动它们并读取面板条目来重现。当混合类型移动显示通用标签(如 "Move 2 Items")而单一类型移动保持其当前措辞时,即完成。维护者尚未确认确切的措辞,因此在最终确定之前请检查该选择。

由索引模型根据 Issue 内容生成。

描述

bug

If a comment and a node are both selected and dragged, the action displayed in the Action Stack panel will be inaccurate:

  • If the user drags the node, the item will read "Move 2 Nodes".
  • If the user drags the comment, it will read "Move 2 Comments".

Both of these labels are incorrect because it is one node and one comment. When objects of multiple types are moved together, the action stack item should probably read more generically, like "Move 2 Items".

Additionally, in some of my testing when I dragged the items together and the node was a start state, the start state indicator arrow would not follow the node. However with further testing, I'm having trouble reproducing this behavior.

主要语言
TypeScript
星标
1
派生
23
平均合并
3 天 7 小时
30 天内合并 PR
7

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AutomatonBuilderGUI/AutomatonBuilderGUI 的其他 Issue

查看 AutomatonBuilderGUI/AutomatonBuilderGUI 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。