[Playgrounds P5c] Admin moderation queue for community videos (frontend) #338

Closed
opened 2026-07-02 15:15:12 +00:00 by spikerj · 1 comment
Owner

Sub-ticket of P5 (#328), epic #323. Depends on #336 (moderation endpoints).

What: staff/admin moderation UI for community lesson videos, mirroring the existing /admin/blog-moderation page.

Scope:

  • Admin route + page: list pending videos (GET /api/Lessons/videos/pending), inline preview/player, approve / reject-with-note actions (POST .../approve|reject)
  • Management menu entry with a pending-count badge, reusing the existing issue-badge pattern in menu-bar.component.html
  • Role-gated route (staff/admin), consistent with the blog-moderation guard
  • i18n chrome (en/es), empty state, optimistic list update after approve/reject
  • Unit tests for the queue component (list, approve, reject)

Acceptance: staff see a pending-video queue with a menu badge, can preview and approve/reject with an audit note, and the list updates without a full reload.

Sub-ticket of P5 (#328), epic #323. Depends on #336 (moderation endpoints). **What:** staff/admin moderation UI for community lesson videos, mirroring the existing `/admin/blog-moderation` page. **Scope:** - [ ] Admin route + page: list pending videos (`GET /api/Lessons/videos/pending`), inline preview/player, approve / reject-with-note actions (`POST .../approve|reject`) - [ ] Management menu entry with a pending-count badge, reusing the existing `issue-badge` pattern in `menu-bar.component.html` - [ ] Role-gated route (staff/admin), consistent with the blog-moderation guard - [ ] i18n chrome (en/es), empty state, optimistic list update after approve/reject - [ ] Unit tests for the queue component (list, approve, reject) **Acceptance:** staff see a pending-video queue with a menu badge, can preview and approve/reject with an audit note, and the list updates without a full reload.
Author
Owner

Done — merged via spikersoft-angular PR #101. /admin/lesson-video-moderation queue (role-gated), LessonVideoModerationService with pending-count badge in the Management menu (mobile + desktop), inline preview, approve/reject-with-reason, optimistic list update, en/es i18n, and 12 unit tests. Closing.

Done — merged via spikersoft-angular PR #101. `/admin/lesson-video-moderation` queue (role-gated), `LessonVideoModerationService` with pending-count badge in the Management menu (mobile + desktop), inline preview, approve/reject-with-reason, optimistic list update, en/es i18n, and 12 unit tests. Closing.
Sign in to join this conversation.