patternfly / patternfly/patternfly-react
Bug - [ToolbarFilter] - [the "clear all filters" button is not on the same row as filter labels]
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 862
- Fork
- 392
- Merge trung bình
- 4 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 9
Mô tả
Describe the problem
A clear and concise description of the problem. Which components are affected?
https://www.patternfly.org/components/toolbar
Toolbar component
How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.
When the filters from ToolbarFilter are created and added to the toolbar, they automatically create "Clear all filters" button. This button is pushed down below the filter labels. It should be on the same row.
The documentation show this issue
https://www.patternfly.org/components/toolbar#with-custom-label-group-content
Expected behavior
Clear all filters button is on the same row as filter labels
Is this issue blocking you?
I have a UI I am working on, and it's a requirement in my UX mocks.
Screenshots
If applicable, add screenshots to help explain the issue.
What is your environment?
-
OS: [e.g. iOS]
-
Browser [e.g. chrome, safari]
-
Version [e.g. 22]
What is your product and what release date are you targeting?
Any other information?
Jira Issue: PF-2594
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với component ToolbarFilter và ví dụ về nội dung nhóm nhãn tùy chỉnh trong tài liệu PatternFly được liên kết, sau đó tái tạo bố cục bằng CodeSandbox được cung cấp. Kiểm tra cách các bộ lọc và nút "Clear all filters" được sắp xếp, đồng thời xác minh rằng nút vẫn nằm trên cùng một hàng với các nhãn bộ lọc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100