Add fleet action dialog with server selection

This commit is contained in:
2026-10-07 23:41:45 -04:00
parent 7e552b700a
commit 92c50e62a1
16 changed files with 284 additions and 110 deletions
+2 -2
View File
@@ -2,11 +2,11 @@ export const provisioningActions = ['create', 'start', 'restart', 'rebuild', 'st
export type ProvisioningAction = typeof provisioningActions[number];
export type RuntimeAction = Exclude<ProvisioningAction, 'create' | 'destroy'>;
export const actionLabels: Record<ProvisioningAction, string> = {
create: 'Create', start: 'Start', restart: 'Restart', rebuild: 'Rebuild', stop: 'Stop', destroy: 'Remove'
create: 'Create', start: 'Start', restart: 'Restart', rebuild: 'Rebuild', stop: 'Stop', destroy: 'Destroy'
};
export const actionCompleted: Record<ProvisioningAction, string> = {
create: 'Server creation completed', start: 'Server started', restart: 'Server restarted',
rebuild: 'Server rebuilt', stop: 'Server stopped', destroy: 'Server removed'
rebuild: 'Server rebuilt', stop: 'Server stopped', destroy: 'Server destroyed'
};
export const runtimeActions: RuntimeAction[] = ['start', 'restart', 'rebuild', 'stop'];
export const runtimeDescriptions: Record<RuntimeAction, string> = {