patternfly / patternfly/patternfly-react

TableComposable: refactor Draggable example to use a data-driven rather than config-driven approach, and possibly new DragDrop abstraction

未关闭
#6,531 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Pinned
主要语言
TypeScript
星标
862
派生
392
平均合并
4 天 8 小时
30 天内合并 PR
9

描述

Followup from #6168. In converting that example to TypeScript + Hooks, I left its logic mostly unmodified because it's possible we will need to rewrite it to use the new DragDrop components anyway. Just opening this so we remember to follow up, because that example is left using a different paradigm than the others rewritten in #6168.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先检查 #6168 中 Draggable 示例的更改以及当前的 DragDrop 组件。确定该示例应改用数据驱动的方法,还是使用新的 DragDrop 抽象;当其方法与其他已重写的示例保持一致,并且所选方向明确时,即表示完成。

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

评估

技术栈
react, typescript
领域
frontend
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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