Track cancelled deployments separately.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-18 22:15:43 +03:30
parent d5e6ab0f68
commit 68d1ccb196
10 changed files with 34 additions and 9 deletions
@@ -17,6 +17,7 @@ const statusColors: Record<string, string> = {
deploying: 'badge-blue',
failed: 'badge-red',
build_failed: 'badge-red',
cancelled: 'badge-gray',
stopped: 'badge-gray',
};
@@ -22,6 +22,7 @@ const statusColors: Record<string, string> = {
failed: 'badge-red',
build_failed: 'badge-red',
stopped: 'badge-gray',
cancelled: 'badge-gray',
};
/**
+1
View File
@@ -15,6 +15,7 @@ const statusColors: Record<string, string> = {
deploying: 'badge-blue',
failed: 'badge-red',
build_failed: 'badge-red',
cancelled: 'badge-gray',
stopped: 'badge-gray',
};
+2
View File
@@ -16,6 +16,7 @@ const statusColors: Record<string, string> = {
deploying: 'bg-blue-100 text-blue-700',
failed: 'bg-red-100 text-red-700',
build_failed: 'bg-red-100 text-red-700',
cancelled: 'bg-gray-100 text-gray-600',
stopped: 'bg-gray-100 text-gray-600',
};
@@ -26,6 +27,7 @@ const statusIcons: Record<string, ReactNode> = {
deploying: <Circle className="w-3 h-3 fill-blue-500 text-blue-500" />,
failed: <Circle className="w-3 h-3 fill-red-500 text-red-500" />,
build_failed: <Circle className="w-3 h-3 fill-red-500 text-red-500" />,
cancelled: <Circle className="w-3 h-3 fill-gray-400 text-gray-400" />,
stopped: <Circle className="w-3 h-3 fill-gray-400 text-gray-400" />,
};