feat(deploy): add deploy alert system for build and deployment status
Introduce a new `DeployAlert` interface and related components to provide visual feedback on build and deployment stages. This includes status updates for Vercel and Netlify deployments, with progress visualization and error handling. The changes enhance user experience by offering real-time updates during the deployment process.
This commit is contained in:
@@ -50,6 +50,18 @@ export interface SupabaseAlert {
|
||||
source?: 'supabase';
|
||||
}
|
||||
|
||||
export interface DeployAlert {
|
||||
type: 'success' | 'error' | 'info';
|
||||
title: string;
|
||||
description: string;
|
||||
content?: string;
|
||||
url?: string;
|
||||
stage?: 'building' | 'deploying' | 'complete';
|
||||
buildStatus?: 'pending' | 'running' | 'complete' | 'failed';
|
||||
deployStatus?: 'pending' | 'running' | 'complete' | 'failed';
|
||||
source?: 'vercel' | 'netlify' | 'github';
|
||||
}
|
||||
|
||||
export interface FileHistory {
|
||||
originalContent: string;
|
||||
lastModified: number;
|
||||
|
||||
Reference in New Issue
Block a user