From 1e0b7abc6923c5ca30f390f709da2f139804c1ea Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 21 Feb 2026 21:08:02 +0530 Subject: [PATCH] add canceled --- src/Appwrite/Platform/Modules/Badge/Http/Action.php | 1 + src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php | 4 ++++ src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Action.php b/src/Appwrite/Platform/Modules/Badge/Http/Action.php index 6e2152870c..6ba7acf77b 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Action.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Action.php @@ -19,6 +19,7 @@ abstract class Action extends UtopiaAction 'building' => 70, 'waiting' => 70, 'failed' => 60, + 'canceled' => 80, ]; protected const COLOR_BRIGHTGREEN = '#4c1'; protected const COLOR_GREEN = '#97ca00'; diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php b/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php index 42e13d63f0..b9534a70d7 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php @@ -78,6 +78,10 @@ class Get extends Action $message = 'failed'; $color = 'red'; break; + case 'canceled': + $message = 'canceled'; + $color = 'orange'; + break; case '': $message = 'no deployment'; $color = 'lightgrey'; diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php b/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php index e55e1661c9..65e6a52663 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php @@ -78,6 +78,10 @@ class Get extends Action $message = 'failed'; $color = 'red'; break; + case 'canceled': + $message = 'canceled'; + $color = 'orange'; + break; case '': $message = 'no deployment'; $color = 'lightgrey';