Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce system status in WebUI for easier monitoring of tasks #2362

Merged
merged 13 commits into from
Jan 20, 2025
Prev Previous commit
Next Next commit
remove unused system status's
  • Loading branch information
proddy committed Jan 20, 2025
commit 53e587537f123032ab8a48296763e2120bd1611b
6 changes: 2 additions & 4 deletions interface/src/types/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ export enum SystemStatusCodes {
SYSTEM_STATUS_PENDING_UPLOAD = 1,
SYSTEM_STATUS_UPLOADING = 2,
SYSTEM_STATUS_ERROR_UPLOAD = 3,
SYSTEM_STATUS_RESTARTING = 4,
SYSTEM_STATUS_ERROR = 5,
SYSTEM_STATUS_PENDING_RESTART = 6,
SYSTEM_STATUS_RESTART_REQUESTED = 7
SYSTEM_STATUS_PENDING_RESTART = 4,
SYSTEM_STATUS_RESTART_REQUESTED = 5
}

export interface SystemStatus {
Expand Down
6 changes: 2 additions & 4 deletions src/core/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ enum SYSTEM_STATUS : uint8_t {
SYSTEM_STATUS_PENDING_UPLOAD = 1,
SYSTEM_STATUS_UPLOADING = 2,
SYSTEM_STATUS_ERROR_UPLOAD = 3,
SYSTEM_STATUS_RESTARTING = 4,
SYSTEM_STATUS_ERROR = 5,
SYSTEM_STATUS_PENDING_RESTART = 6,
SYSTEM_STATUS_RESTART_REQUESTED = 7
SYSTEM_STATUS_PENDING_RESTART = 4,
SYSTEM_STATUS_RESTART_REQUESTED = 5
};

class System {
Expand Down