patternfly / patternfly/react-component-groups
Provide a ContextMenu component
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 10
- 派生
- 40
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 4
描述
In Cockpit we currently have our own ContextMenu component , currently not really re-usable. Now that we are working on a plugin that also needs a ContextMenu, I've been thinking about making it re-usable.
In today's PF community meeting I noticed that the react-topology package also includes a contextmenu component.
Maybe it would be beneficial if that was moved here? I haven't looked into the re-usability of the react-topology's contextmenu for our use case but I can imagine there might be more projects using PF which could use it.
Jira Issue: PF-2017
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先比较 Cockpit 的 pkg/lib/cockpit-components-context-menu.jsx 与 react-topology 的 packages/module/src/components/contextmenu 下的 contextmenu 组件。确定 react-topology 组件是否支持所述的 Cockpit 及其他 PatternFly 使用场景,然后定义可复用组件的范围和集成点。当用于插件场景的共享 ContextMenu 组件可用时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100