From d216ccb00335b88d490a006b8ce9fb947c141e5a Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 1 Jul 2026 10:56:57 -0400 Subject: [PATCH] [docs] Mark #25 per-event blocklist admin-UI follow-up done Co-Authored-By: Claude Opus 4.8 --- todo/TODO_2026-06-20_pre-launch.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/todo/TODO_2026-06-20_pre-launch.md b/todo/TODO_2026-06-20_pre-launch.md index e2cb65dc..82477719 100644 --- a/todo/TODO_2026-06-20_pre-launch.md +++ b/todo/TODO_2026-06-20_pre-launch.md @@ -768,8 +768,16 @@ toward freshness and looked identical. Gave each a structural identity: `tests/admin-event-blacklist.test.mjs` (9 — record helpers + editor-gated action, fallbacks, refusal, publish-failure). Build + lint clean; admin/access/moderation suites 56/56. -- [ ] **Follow-up:** surface the per-event list (view/unblock) in the Admin pane / - future #23 admin tab; today removal is via `removeFromEventBlacklist` (no UI yet). +- [x] **Follow-up DONE 2026-07-01.** The admin pane is now organized into a sub-tab + toolbar (Whitelist / Blacklist / Blocked videos / Moderators — Moderators tab + super-admin-only) and a **Blocked videos** tool surfaces the per-event list: + view every blocked video (title+author when cached, else shortened id), **unblock** + per row (confirm → `removeFromEventBlacklist`), and **add by nevent/hex id**. Reuses + the existing accessControl event-blacklist API + `onEventBlacklistChange` (live + re-render) and refreshes the grids on change; no backend changes. Row logic in + `js/ui/profileModal/blockedVideosSection.js`; wiring in `ProfileAdminController`. + Tests: `tests/profile-blocked-videos.test.mjs` (7) + updated profile-modal-controller + admin test for the sub-tab layout. ### 26. Video popularity / view-count chart (public, three-dots menu) — DONE 2026-06-24 - [x] **Shipped.** A "Popularity" item in the ⋯ menu opens a public views-over-time