DataViewToolbar: Pagination misaligned from rest of toolbar
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start in packages/module/src/DataViewToolbar/DataViewToolbar.tsx at the pagination wrapper referenced in the issue, then compare the component behavior with the DataViewToolbar documentation examples. Confirm the fix by checking that pagination renders in the same row as the other toolbar content, matching the toolbar design guidelines.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from patternfly/react-data-view
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
patternfly/react-data-view#680 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
patternfly/react-data-view#671 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
patternfly/react-data-view#662 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
patternfly/react-data-view#676 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
patternfly/react-data-view#646 · 1 comment ·
All issues in patternfly/react-data-view
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·