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

Restructure flow nodes components

未关闭
#562 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
冷清
技术栈
typescript
领域
frontend

调研方向

首先定位现有的父节点和子节点组件,然后跟踪它们的标头、属性、子节点、画布位置、连接和拖动是如何实现的。在决定基础节点和画布包装器之前,比较它们共有的职责和各自独有的职责。完成的标准是组件共享通用的节点结构,同时不破坏连接、定位或拖动功能。

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

描述

Conceptually I think the parent and child nodes are the same, both have a title, both have attributes and both (can) have children. Then shouldn't the components also be the same?

I thought about it and it might be possible to create a "base node" that includes the simple stuff:

  • Header
  • Attributes
  • Children

If any deviation should be made (not sure for what) it could be extended.

To solve the connections, a position on the canvas and being drag-able, there could be made a wrapper, not necessarily as parent, but it would have the extra elements that the parent would normally have.

If it is not clear, I'll happily explain it in more detail.

主要语言
TypeScript
星标
3
派生
0
平均合并
16 小时 33 分钟
30 天内合并 PR
1

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

frankframework/flow 的其他 Issue

查看 frankframework/flow 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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