patternfly / patternfly/react-data-view
DataViewToolbar: Pagination misaligned from rest of toolbar
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hey PatternFly team!😁
I was recently working with the DataViewToolbar component attempting to align the toolbar with the pagination in the same row. Currently, when passing a pagination prop to the component the pagination is not aligned in the same row as the rest of the toolbar. Example (and this same behavior is displayed in the examples in the component's docs):
PatternFly's toolbar design guidelines recommend these be aligned in the same row.
After some investigation, I found the pagination is wrapped in a div that uses flex with a set width of 100%. This causes the pagination to render in its own row distinct from the rest of the toolbar. Link to code referenced
Please implement a fix that aligns the pagination in the same row as the rest of the toolbar. Thank you!😄
Jira Issue: PF-4529
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
packages/module/src/DataViewToolbar/DataViewToolbar.tsx の、issue で参照されている pagination wrapper から始め、コンポーネントの動作を DataViewToolbar のドキュメント例と比較してください。pagination が他の toolbar コンテンツと同じ行にレンダリングされ、toolbar のデザインガイドラインに沿っていることを確認して、修正を検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 78/100