update url uploads

This commit is contained in:
2026-07-12 18:46:09 +02:00
parent 06ced46db1
commit 6adfb55581
4 changed files with 589 additions and 17 deletions

View File

@@ -7200,6 +7200,12 @@ class NotificationSystem {
// Render the active tab
this._renderActiveTab();
// Notify URL upload tracker widget about completed/failed background uploads
const bgUploads = notifications.filter(n => n.type === 'upload_success' || n.type === 'upload_error');
if (bgUploads.length > 0) {
document.dispatchEvent(new CustomEvent('f0ck:upload_bg_update', { detail: bgUploads }));
}
// Live update for History Page
const historyContainer = document.querySelector('.notifications-list-full');
if (historyContainer) {