improve launcher history and runtime config UX
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-07 09:51:24 +09:00
parent a48055bf65
commit 88d9c25b43
4 changed files with 41 additions and 19 deletions
+3 -9
View File
@@ -1,4 +1,4 @@
import { Copy, ExternalLink, FileText, Link2, RotateCcw } from 'lucide-react';
import { Copy, FileText, Link2, RotateCcw } from 'lucide-react';
import { useEffect, useMemo, useState } from 'react';
import { Badge, Button, Card, CardHeader, Modal } from '../../components/ui';
import { useToast } from '../../components/toast';
@@ -226,7 +226,7 @@ function DiffViewer({ diff }: { diff: string }) {
const files = parseDiffFiles(diff);
return (
<div className="h-[72vh] overflow-auto rounded-md border border-border bg-[#080b10] p-3 font-mono text-xs leading-5">
<div className="max-h-[56vh] overflow-auto rounded-md border border-border bg-[#080b10] p-3 font-mono text-xs leading-5">
<div className="space-y-4">
{files.map((file) => (
<section key={file.id} className="min-w-max overflow-hidden rounded-md border border-slate-700/80 bg-[#0b0f14]">
@@ -510,12 +510,6 @@ export function LauncherSourcePage() {
</Button>
</div>
</div>
{activeForm.repository ? (
<a className="inline-flex items-center gap-1.5 text-xs text-primary" href={`${giteaBaseUrl.replace(/\/$/, '')}/${normalizeRepository(activeForm.repository, activeTargetMeta.defaultOrg)}`} target="_blank" rel="noreferrer">
저장소 열기
<ExternalLink className="size-3.5" />
</a>
) : null}
</div>
</Card>
</div>
@@ -618,7 +612,7 @@ export function LauncherSourcePage() {
title="커밋 내역 상세"
onClose={() => setDiffTarget(null)}
className="max-w-[min(98vw,1800px)]"
bodyClassName="max-h-[84vh] px-4 py-4"
bodyClassName="max-h-[70vh] px-4 py-4"
footer={<Button variant="outline" onClick={() => setDiffTarget(null)}>닫기</Button>}
>
{diffTarget ? (