patternfly / patternfly/patternfly-react
Tooltip- rename trigger prop
未关闭
还没有人认领这个 Issue。
Breaking change :boom:
PF Team
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Currently the trigger prop is very similar to Popper's trigger prop, can it's purpose can be confused with triggerRef that will exist for Popper. Since it's an action trigger for the tooltip, maybe it can be renamed to triggerEvent instead.
Jira Issue: PF-139
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 Tooltip 组件的 trigger prop,并在仓库中搜索其使用位置,包括测试和文档。将 action prop 统一重命名为 triggerEvent,更新所有引用,使 Tooltip API 及其测试使用新名称。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100