From ebd7c84a24a7972d87e4020767b209b330ab3060 Mon Sep 17 00:00:00 2001 From: Linrador <68631622+Linrador@users.noreply.github.com> Date: Thu, 9 Apr 2026 14:00:37 +0200 Subject: [PATCH] ui updated --- .../data/pending-autostart/__global__.json | 84 +++++++++ backend/data/pending-autostart/admin.json | 3 + frontend/src/App.tsx | 177 ++++++++++++------ .../src/components/ui/FinishedDownloads.tsx | 6 +- .../src/components/ui/PerformanceMonitor.tsx | 118 +++++++++++- 5 files changed, 317 insertions(+), 71 deletions(-) create mode 100644 backend/data/pending-autostart/__global__.json create mode 100644 backend/data/pending-autostart/admin.json diff --git a/backend/data/pending-autostart/__global__.json b/backend/data/pending-autostart/__global__.json new file mode 100644 index 0000000..03328a2 --- /dev/null +++ b/backend/data/pending-autostart/__global__.json @@ -0,0 +1,84 @@ +{ + "items": [ + { + "modelKey": "sw33t_g1rl", + "url": "https://www.myfreecams.com/#sw33t_g1rl", + "mode": "probe_retry", + "nextProbeAtMs": 1775732773528, + "currentShow": "offline", + "source": "watched" + }, + { + "modelKey": "sunshinegirlx", + "url": "https://chaturbate.com/sunshinegirlx/", + "mode": "wait_public", + "currentShow": "private", + "imageUrl": "https://thumb.live.mmcdn.com/ri/sunshinegirlx.jpg", + "source": "watched" + }, + { + "modelKey": "yourhanna", + "url": "https://chaturbate.com/yourhanna/", + "mode": "wait_public", + "currentShow": "hidden", + "imageUrl": "https://thumb.live.mmcdn.com/ri/yourhanna.jpg", + "source": "watched" + }, + { + "modelKey": "nataliecroft", + "url": "https://chaturbate.com/nataliecroft/", + "mode": "wait_public", + "currentShow": "hidden", + "imageUrl": "https://thumb.live.mmcdn.com/ri/nataliecroft.jpg", + "source": "watched" + }, + { + "modelKey": "wasianbby", + "url": "https://chaturbate.com/wasianbby/", + "mode": "wait_public", + "currentShow": "private", + "imageUrl": "https://thumb.live.mmcdn.com/ri/wasianbby.jpg", + "source": "watched" + }, + { + "modelKey": "love_vibe", + "url": "https://chaturbate.com/love_vibe/", + "mode": "wait_public", + "currentShow": "private", + "imageUrl": "https://thumb.live.mmcdn.com/ri/love_vibe.jpg", + "source": "watched" + }, + { + "modelKey": "georgiannahearn", + "url": "https://chaturbate.com/georgiannahearn/", + "mode": "wait_public", + "currentShow": "private", + "imageUrl": "https://thumb.live.mmcdn.com/ri/georgiannahearn.jpg", + "source": "watched" + }, + { + "modelKey": "libbyshepard", + "url": "https://chaturbate.com/libbyshepard/", + "mode": "wait_public", + "currentShow": "away", + "imageUrl": "https://thumb.live.mmcdn.com/ri/libbyshepard.jpg", + "source": "watched" + }, + { + "modelKey": "minions_", + "url": "https://chaturbate.com/minions_/", + "mode": "wait_public", + "currentShow": "hidden", + "imageUrl": "https://thumb.live.mmcdn.com/ri/minions_.jpg", + "source": "watched" + }, + { + "modelKey": "amanda_sayhey", + "url": "https://chaturbate.com/amanda_sayhey/", + "mode": "probe_retry", + "nextProbeAtMs": 1775734021567, + "currentShow": "unknown", + "source": "watched" + } + ] +} \ No newline at end of file diff --git a/backend/data/pending-autostart/admin.json b/backend/data/pending-autostart/admin.json new file mode 100644 index 0000000..fc69ce2 --- /dev/null +++ b/backend/data/pending-autostart/admin.json @@ -0,0 +1,3 @@ +{ + "items": [] +} \ No newline at end of file diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a8d5ea4..bed0424 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -3580,6 +3580,12 @@ export default function App() { return } + const headerInfoPanelClass = + 'rounded-lg border border-gray-200/70 bg-white/45 px-2.5 py-1.5 shadow-sm backdrop-blur dark:border-white/10 dark:bg-white/5 sm:rounded-xl sm:px-3 sm:py-2' + + const headerStatBadgeClass = + 'inline-flex h-7 items-center gap-1 rounded-full border border-gray-200/70 bg-white/70 px-2 text-[10px] font-semibold text-gray-900 shadow-sm backdrop-blur dark:border-white/10 dark:bg-white/10 dark:text-gray-100 sm:h-8 sm:gap-1.5 sm:px-2.5 sm:text-[11px]' + return (