mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
The profile-button red dot now lights when the logged-in user has either unseen DMs or (if they can edit admin lists) pending submissions to review. The Messages-nav dot stays DM-only. - applicationBootstrap.js: split indicator state into _dmUnread and _submissionsPending; applyProfileNotificationDot() ORs them for the profile dot. Added refreshSubmissionsIndicator (gated on FEATURE_SUBMISSIONS + canEditAdminLists), a bitvid:submissions-changed listener, a 180s poll, and a startup refresh. - authSessionCoordinator.js: refresh the submissions indicator on auth-login and auth-logout alongside the DM refresh. - submissionsSection.js: emit bitvid:submissions-changed after approve/deny so the dot recomputes for all admins. - check-file-size.mjs: bump authSessionCoordinator grandfather baseline. Co-Authored-By: Claude Opus 4.8 <[email protected]>