feat(admin): vocab curation queue

オープン
#1,958 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
領域
full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
HTML
スター
33
フォーク
107
平均マージ
14時間 6分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

USRSE/usrse.github.io のほかの issue

USRSE/usrse.github.io の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。