feat(admin): vocab curation queue

Đang mở
#1,958 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Lĩnh vực
full-stack

Hướng nghiên cứu

Read the foundation work in #1956 and the organization-merge pattern, then turn the requirements into a spec under docs/superpowers/specs/. Trace the existing vocabulary tables, status fields, dossier loader, and canApproveVocab policy before implementing the /admin/vocab routes and views. Done means the four queues, detail actions, audit visibility, merge behavior, and gated bulk approval work as specified.

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

Mô tả

Summary

Approve / reject / merge interface for the four controlled vocabularies — disciplines, skills, languages, organizations — that members can propose via inline editors on their dossier.

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • /admin/vocab — unified queue across the four tables, showing pending rows with proposer, proposed-on date, and current usage count.
  • Per-table list views: /admin/vocab/disciplines, /admin/vocab/skills, /admin/vocab/languages, /admin/vocab/organizations.
  • Detail view per term: accept / reject / merge-into-canonical actions, name + slug edit before approval, audit log inline.
  • Merge action mirrors the organization-merge pattern (set merged_into_id, repoint user_x rows, mark merged source as rejected).
  • Bulk-approve action for high-confidence batches (e.g., "approve all programming languages added in the last week"), super_admin gate.

Context

Foundation must ship first (#1956). Existing schema already supports status: pending | approved | rejected on every vocab table and merged_into_id on organizations.

Implementation Notes

  • Policy: canApproveVocab requires staff+.
  • The proposer (suggestedBy) should see status changes on their own dossier next time they load it (already works via dossier loader).
  • Merge UX should highlight near-duplicates (normalized-form match) so admins can resolve obvious dupes in one click.
Ngôn ngữ chính
HTML
Star
33
Fork
107
Merge trung bình
14 giờ 6 phút
Pull request đã merge (30 ngày)
19

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

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 USRSE/usrse.github.io

Tất cả issue của USRSE/usrse.github.io

Issue tương tự

Thêm issue về Web Dev

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.