From d5f2ada8f7e483db76ec27f900e8f1f8f0fbc7d3 Mon Sep 17 00:00:00 2001 From: Evan Song <52982404+ferothefox@users.noreply.github.com> Date: Mon, 6 Jan 2025 23:06:34 -0700 Subject: [PATCH 1/4] Fix server suspension statuses (#3100) * chore: correctly type suspension reason Signed-off-by: Evan Song * fix: faulty suspension condition allowing for fallthrough Signed-off-by: Evan Song * fix: here as well Signed-off-by: Evan Song * chore: add support suspension reason Signed-off-by: Evan Song * feat: handle support suspensions Signed-off-by: Evan Song * chore: patch pyroservers to handle 503 Signed-off-by: Evan Song * feat: handle 503 in server root Signed-off-by: Evan Song * chore: dont make pyroservers errors scream at me anymore Signed-off-by: Evan Song --------- Signed-off-by: Evan Song --- .../components/ui/servers/ServerListing.vue | 12 ++- apps/frontend/src/composables/pyroServers.ts | 21 ++++-- .../src/pages/servers/manage/[id].vue | 74 ++++++++++++++++++- 3 files changed, 98 insertions(+), 9 deletions(-) diff --git a/apps/frontend/src/components/ui/servers/ServerListing.vue b/apps/frontend/src/components/ui/servers/ServerListing.vue index 9d97e4d35..4e9567ae3 100644 --- a/apps/frontend/src/components/ui/servers/ServerListing.vue +++ b/apps/frontend/src/components/ui/servers/ServerListing.vue @@ -61,7 +61,15 @@ Your server's hardware is currently being upgraded and will be back online shortly.
+ + You recently requested support for your server and we are actively working on it. It will be + back online shortly. +
+
@@ -72,7 +80,7 @@