add runtime log views and standardize status dots
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Activity, Boxes, FileKey, RefreshCw } from 'lucide-react';
|
||||
import { Activity, Boxes, ChevronRight, FileKey } from 'lucide-react';
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { Badge, Button, Card, CardHeader } from '../../components/ui';
|
||||
import { PageTitle } from '../../layout/AppLayout';
|
||||
import { apiRequest } from '../../lib/api';
|
||||
import { cn } from '../../lib/utils';
|
||||
|
||||
type CommonAppPipeline = {
|
||||
id: string;
|
||||
@@ -43,6 +43,7 @@ async function loadCommonAppPipelines(): Promise<CommonAppPipeline[]> {
|
||||
}
|
||||
|
||||
export function DashboardPage() {
|
||||
const navigate = useNavigate();
|
||||
const [commonApps, setCommonApps] = useState<CommonAppPipeline[]>([]);
|
||||
const [commonAppsLoading, setCommonAppsLoading] = useState(true);
|
||||
const [commonAppsFailed, setCommonAppsFailed] = useState(false);
|
||||
@@ -113,8 +114,8 @@ export function DashboardPage() {
|
||||
title="공통앱"
|
||||
description="공통앱의 최근 빌드 상태를 확인합니다."
|
||||
action={
|
||||
<Button variant="outline" className="size-8 px-0" onClick={refreshCommonApps} disabled={commonAppsLoading} title="새로고침" aria-label="새로고침">
|
||||
<RefreshCw className={cn('size-4', commonAppsLoading && 'animate-spin')} />
|
||||
<Button variant="ghost" className="size-8 px-0 text-muted-foreground hover:text-foreground" onClick={() => navigate('/common-apps/builds')} title="공통앱 빌드 관리로 이동" aria-label="공통앱 빌드 관리로 이동">
|
||||
<ChevronRight className="size-4" />
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user