Show a possible-duplicates count on the admin home Dedupers box

Đang mở
#2,724 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ruby
Lĩnh vực
backend, frontend

Hướng nghiên cứu

Start with DataHealth::Worklists#duplicates, which already counts duplicate groups for the listed record types, and the admin home Dedupers box that should display the badges. Follow the lazy Turbo frame pattern used by the other admin home badges from #2720. Done means each dedupe card, or the box as a whole, shows the available count while keeping duplicate loading out of the main page render.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

🤖 From Claude:

Admin home doesn't show how many possible duplicates are waiting, though the Data health page counts them under "Review queues".

  • Add count badges to the Dedupers box on admin home: one per dedupe card, or a total on the box.
  • Reuse DataHealth::Worklists#duplicates, which already counts groups for people, organizations, workshops, event registrations, categories, and sectors.
  • Load it in a lazy Turbo frame, like the other admin home badges (#2720). The duplicate finders load records in Ruby, so the count is too slow to run during the main page render.
  • Addresses and users have dedupe pages but aren't counted in Worklists#duplicates yet.
Ngôn ngữ chính
Ruby
Star
15
Fork
28
Merge trung bình
14 giờ 29 phút
Pull request đã merge (30 ngày)
292

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rubyforgood/awbw

Tất cả issue của rubyforgood/awbw

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.