From 81a299830394db016c0edf52a9d042cb4c51cf18 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sat, 15 Nov 2025 19:38:52 +0300 Subject: [PATCH 1/3] Refactor: Use tab design for index page --- app/routes/socket/connection.py | 2 +- ui/app/components/History.vue | 967 +++++++++++++++----------------- ui/app/components/Queue.vue | 521 +++++++++-------- ui/app/components/Simple.vue | 89 ++- ui/app/layouts/default.vue | 19 +- ui/app/pages/index.vue | 82 ++- ui/app/pages/settings.vue | 5 +- ui/app/stores/ConfigStore.ts | 2 +- ui/app/stores/SocketStore.ts | 6 +- ui/app/stores/StateStore.ts | 24 +- 10 files changed, 906 insertions(+), 811 deletions(-) diff --git a/app/routes/socket/connection.py b/app/routes/socket/connection.py index d7a51c61..d16a5e95 100644 --- a/app/routes/socket/connection.py +++ b/app/routes/socket/connection.py @@ -45,7 +45,7 @@ async def connect(config: Config, queue: DownloadQueue, notify: EventBus, sid: s depth_limit=config.download_path_depth - 1, ), "history_count": queue.done.get_total_count(), - **queue.get()["queue"], + "queue": queue.get()["queue"], }, title="Sending initial download data", message=f"Sending initial download data to client '{sid}'.", diff --git a/ui/app/components/History.vue b/ui/app/components/History.vue index 0831f571..0cc0c0fa 100644 --- a/ui/app/components/History.vue +++ b/ui/app/components/History.vue @@ -1,493 +1,466 @@ +