Further refactor modifier classnames
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
Review the modifier class names and the CSS class naming rules linked in the issue. Check how modifier classes are defined and used across the components, then assess the scope of renaming them to the proposed patterns. Done means the affected class names follow the agreed patterns and part 4 of the contribution guide documents the rules.
由索引模型根据 Issue 内容生成。
描述
Looking at the modifier classes, I think we could further unify their names instead of attempting to build sentence-like names: .isToolbarAlignedToTop ➡️ .isToolbarAlignTop, etc. The pattern would be:
.is<ELEMENT><PROP-NAME><PROP-VALUE>foroneOfprop types, e.g..isRootColorPrimary,.is<ELEMENT><PROP-NAME>for truthy boolean prop types, e.g..isRootBlock.
If you agree, I'd do it in a separate PR (or a commit at least) and also document it in part 4.
Originally posted by @adamkudrna in https://github.com/react-ui-org/react-ui/pull/424#discussion_r974374485
- 主要语言
- TypeScript
- 星标
- 23
- 派生
- 10
- 平均合并
- 5 天 12 小时
- 30 天内合并 PR
- 9
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-ui-org/react-ui 的其他 Issue
-
maintenance
难度 2/5 1-3 小时 新手友好度 78/100
react-ui-org/react-ui#784 ·
维护者通常 1 天内回复
-
accessibility bug
难度 2/5 1-3 小时 新手友好度 68/100
react-ui-org/react-ui#775 ·
维护者通常 1 天内回复
-
maintenance
难度 2/5 1-3 小时 新手友好度 63/100
react-ui-org/react-ui#753 · 1 条评论 ·
维护者通常 1 天内回复
-
bug maintenance
难度 4/5 1-2 天 新手友好度 25/100
react-ui-org/react-ui#782 ·
维护者通常 1 天内回复
-
maintenance
难度 4/5 3-5 天 新手友好度 42/100
react-ui-org/react-ui#780 ·
维护者通常 1 天内回复
查看 react-ui-org/react-ui 的全部 Issue
相似的 Issue
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
egonSchiele/agency-lang#1377 ·
维护者通常 1 天内回复
-
normalizePath removes the Windows device namespace prefix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
caprover/caprover-frontend#273 ·
维护者通常 1 天内回复