
thePR0M3TH3ANandClaude Opus 4.8
2a21756842
submissions(#23): admin "Submissions" sub-tab (approve/deny)
The headline: an admin surface to triage the structured submissions.
- profile-modal.html: "Submissions" sub-tab button + #adminSubmissionsSection
(refresh + loading/empty + list), alongside Whitelist/Blacklist/Blocked
videos/Moderators.
- ProfileAdminController: adds "submissions" to the sub-tab machinery (button +
section maps, selectAdminSubtab dispatch, refreshAdminPaneState populate), gates
the tab on FEATURE_SUBMISSIONS, and wires the list/refresh listeners.
- js/ui/profileModal/submissionsSection.js (extracted to keep the controller under
the 1200-line cap, like blockedVideosSection.js): populate/render + approve/deny.
Approve (applications only) → accessControl.addToWhitelist(actor, applicant) +
markSubmissionResolved(approved) + refresh the whitelist; Deny/Dismiss →
markSubmissionResolved(denied). Optimistic remove; re-sync on failure. Cards show
the type badge + claimed applicant + body.
- tailwind.source.css: .submission-card* (token-only).
Gated by FEATURE_SUBMISSIONS (tab hidden when off). Lint + build clean;
profile-modal-controller tests 26/26.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-07-06 20:40:06 -04:00
..
2026-07-06 13:57:09 -04:00
2026-02-10 02:35:24 +00:00
2026-06-30 15:19:34 -04:00
2026-07-02 22:50:46 -04:00
2026-06-23 14:53:38 -04:00
2026-07-06 20:40:06 -04:00
2026-07-04 14:43:22 -04:00
2026-02-27 02:32:53 +00:00
2026-01-19 14:57:10 -05:00
2026-07-03 21:38:53 -04:00
2026-06-30 16:49:42 -04:00
2026-06-30 16:49:42 -04:00
2026-02-10 03:15:11 +00:00
2026-07-03 21:01:31 -04:00
2026-02-12 23:10:37 +00:00
2026-06-30 15:50:27 -04:00
2025-10-22 22:13:23 -04:00
2026-07-03 21:01:20 -04:00
2026-07-03 21:01:20 -04:00
2026-02-17 04:55:45 +00:00
2026-07-04 23:38:44 -04:00
2026-01-29 20:29:42 +00:00
2025-10-26 11:13:37 -04:00
2026-07-06 13:57:09 -04:00
2026-02-12 03:43:03 +00:00
2026-07-06 14:09:58 -04:00
2025-10-26 16:28:41 -04:00
2026-02-10 04:04:55 +00:00
2026-07-06 15:16:06 -04:00
2026-07-06 15:16:06 -04:00
2026-07-01 19:23:04 -04:00
2026-07-03 21:01:31 -04:00
2026-02-11 19:41:53 +00:00
2026-01-20 12:32:16 +00:00
2026-06-30 16:49:42 -04:00
2026-02-03 01:55:21 +00:00
2026-02-23 01:16:32 +00:00
2026-01-30 09:30:55 -05:00
2026-06-22 21:48:51 -04:00
2026-01-29 15:43:34 -05:00
2026-01-06 22:30:23 -05:00
2026-02-16 03:57:09 +00:00
2026-01-29 03:19:06 +00:00
2026-06-20 19:00:51 -04:00
2026-07-04 23:41:25 -04:00