diff --git a/API.md b/API.md index 078a42fc..c2169f3b 100644 --- a/API.md +++ b/API.md @@ -117,7 +117,6 @@ This document describes the available endpoints and their usage. All endpoints r - [Connection Events](#connection-events) - [`config_update`](#config_update) - [`connected`](#connected) - - [`active_queue`](#active_queue) - [Logging Events](#logging-events) - [`log_info`](#log_info) - [`log_success`](#log_success) @@ -2742,29 +2741,6 @@ Emitted when a client successfully connects to the WebSocket. --- -##### `active_queue` - -Emitted periodically with the current active queue status. - -**Event**: -```json -{ - "event": "active_queue", - "data": { - "queue": [ - { - "id": "abc123", - "status": "downloading", - "progress": 45.6, - ... - } - ] - } -} -``` - ---- - #### Logging Events ##### `log_info` diff --git a/app/library/Events.py b/app/library/Events.py index 2cef42a2..e6f5353f 100644 --- a/app/library/Events.py +++ b/app/library/Events.py @@ -25,9 +25,7 @@ class Events: CONNECTED: str = "connected" - CONFIGURATION: str = "configuration" CONFIG_UPDATE: str = "config_update" - ACTIVE_QUEUE: str = "active_queue" LOG_INFO: str = "log_info" LOG_WARNING: str = "log_warning" @@ -79,10 +77,8 @@ class Events: """ return [ - Events.CONFIGURATION, Events.CONFIG_UPDATE, Events.CONNECTED, - Events.ACTIVE_QUEUE, Events.LOG_INFO, Events.LOG_WARNING, Events.LOG_ERROR, diff --git a/ui/app/layouts/default.vue b/ui/app/layouts/default.vue index c15cac81..e02f7e14 100644 --- a/ui/app/layouts/default.vue +++ b/ui/app/layouts/default.vue @@ -135,10 +135,20 @@
- -

This usually takes less than a second. If this is taking too long, - reload configuration. + +

+ This usually takes less than a few seconds. If this is taking too long, + click here to reload the + page. +

+

+ Failed to load the application configuration. This likely indicates a problem with the backend. Try to + reload + configuration or reload the page + .