patternfly / patternfly/patternfly-react
[Spike] - investigate friendly names for all icon sets
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 862
- フォーク
- 392
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 9
説明
Instead of needing to have prefixed icons e.g. "RhUiArrowDownIcon" and "RhMicronArrowDownIcon" and "ArrowDownIcon", see how feasible it is to create a single "ArrowDownIcon" that has an additional "set" property to control which source path data is rendered.
Should be possible in the writeIcons script before exporting everything, just need to be careful in mapping everything and ensure that icons are named consistently (no arrow-down and down-arrow icons because they would be mapped differently). Need to determine a fallback order for sets (pf/fa > rh-ui > rh-microns > etc?) and default set. Need to figure out documentation because not all icons will have support or data for all sets, and icons may have different default sets.
Jira Issue: PF-3403
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue で指定されている writeIcons スクリプトから始め、エクスポート前にアイコン名とソースパスがどのようにマッピングされているかを追跡します。一貫した名前のマッピング、セットの選択、フォールバックの順序、デフォルトの動作を評価し、そのうえで実現可能性、サポートされていないセットの組み合わせ、およびそこから導かれる API の判断を文書化します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100