The Done group toggle sits off the left edge and shows no chevron
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 84/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- playwright, react, typescript, wordpress
- Lĩnh vực
- accessibility, frontend, testing
Hướng nghiên cứu
Bắt đầu tại frontend/src/tasks/TasksScreen.tsx, ở DoneGroup, rồi đọc các quy tắc .alphone-tasks__* gần đó trong frontend/src/index.css; kiểm tra mẫu khoảng cách hiện có của .alphone-tasks__open-contact. Cập nhật trigger và phần xuất icon thông qua sdk/frontend/index.ts, sau đó chạy kiểm thử route và kiểm thử tasks Playwright được nêu trong issue. Công việc hoàn tất khi nhãn căn chỉnh ở 1280 và 390 pixel, chevron phản ánh trạng thái mở và aria-expanded được xác minh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
Under the day task list at /tasks, the Done toggle ("Done (1)") starts 13 pixels to the right of the left edge that the Overdue heading, the quick add fields and the task list card share. It does this at 1920, 1280 and 390 pixels wide. DoneGroup renders the Collapsible.Trigger as a Button with variant="minimal" and size="compact". That button keeps its 12 pixel inline padding and its 1 pixel border. No rule in index.css pulls it back to the edge.
The toggle also has no chevron. Nothing tells you it opens a list, so it reads like a plain label. Only the hover background gives it away, and a phone has no hover.
WordPress marks a group that opens and closes with a chevron. PanelBody in the block editor shows chevronDown while closed and chevronUp while open. CollapsibleCard.Header in @wordpress/ui shows chevronDown and turns it half a turn while open.
What should happen
The toggle's text starts on the same left edge as the Overdue heading and the list card, at every width. The hover and focus background can still reach past the text. .alphone-tasks__open-contact already does this on a phone with a negative start margin of padding plus border.
A chevron sits after the label. It points down while the group is closed and up while it is open. A CSS rule on the data-panel-open attribute that Base UI sets on the trigger turns it, as CollapsibleCard does. The icon is hidden from screen readers, because the button already carries aria-expanded.
A new Playwright check in test/e2e/tests/tasks.spec.ts proves at 1280 and 390 that the left of the toggle's text equals the left of the Open tasks list. A test in frontend/src/test/tasks-route.test.tsx checks that the toggle holds the chevron and that aria-expanded turns true when it opens.
Where
frontend/src/tasks/TasksScreen.tsx, theCollapsible.TriggerinDoneGroupfrontend/src/index.css, a new.alphone-tasks__done-togglerule beside the other.alphone-tasks__*rulessdk/frontend/index.ts, exportchevronDownfrom@wordpress/iconstest/e2e/tests/tasks.spec.tsandfrontend/src/test/tasks-route.test.tsx
- Ngôn ngữ chính
- Go
- Star
- 287
- Fork
- 64
- Merge trung bình
- 13 giờ 19 phút
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có 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.
Issue khác của gopherium/AlphOne
-
good first issue help wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của gopherium/AlphOne
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
[BUG] deploy.restart_policy without condition drops the restart policyCó thể đã có người làm @akshat-lakhera đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
docker/compose#14383 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Azure/azure-storage-fuse#2429 ·
Maintainer thường phản hồi trong vòng 1 ngày