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

[Topology] Add ghost node during drag to Figma kit

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
figma

调研方向

Start with the merged react-topology PR #311 and its design-review asset, then inspect the existing topology components and tokens in the Figma kit, especially DefaultNode and DefaultEdge. Add the ghost-node state, document when it appears during drag, and check whether freezeEdgeDuringNodeDrag needs an example update. Done means the visuals, usage notes, token alignment, and relevant release cross-link are present.

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

描述

Patterns & Extensions Library Topology

Summary

@patternfly/react-topology now supports an optional ghost node (non-interactive placeholder) at a node's original position while the real node is being dragged, so edges do not appear to hang in empty space. This work should be reflected in the PatternFly design kit (Figma) so designers can spec and review the interaction consistently with implementation.

Upstream references

Design kit scope (suggested)

  • Add Figma representation(s) for the ghost / placeholder node state used during drag (visual treatment aligned with DefaultNode and existing topology tokens).

  • Document when the ghost appears vs. the live dragged node (interaction note or kit annotation), matching the optional API behavior in code.

  • If applicable, update topology examples or pattern frames so drag scenarios show the ghost for handoff and QA.

Acceptance criteria

  • Ghost-node visuals and usage are documented in the kit in line with the merged react-topology behavior.

  • Any new styles use existing design tokens / library styles where possible.

  • Cross-link or changelog note pointing designers to the react-topology release when this lands in a stable channel (if kit ships before/after stable).

Notes

Upstream also notes a related change in DefaultEdge around freezeEdgeDuringNodeDrag (see PR #311). Confirm whether kit edge documentation or examples need a small alignment pass.


Jira Issue: PF-3924

主要语言
没有语言数据
星标
50
派生
40
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

patternfly/patternfly-design-kit 的其他 Issue

查看 patternfly/patternfly-design-kit 的全部 Issue

相似的 Issue

更多 Design Issue

把新 issue 发到你的邮箱

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