feat: update codex live chat workflow

This commit is contained in:
2026-04-22 20:00:38 +09:00
parent 9e4b70f1f1
commit b0b9980a6c
70 changed files with 5178 additions and 2401 deletions

View File

@@ -2,7 +2,10 @@ import {
ArrowLeftOutlined,
CloseOutlined,
CopyOutlined,
DownloadOutlined,
DownOutlined,
FullscreenExitOutlined,
FullscreenOutlined,
UpOutlined,
} from '@ant-design/icons';
import {
@@ -2510,6 +2513,7 @@ export function WorklogEvidenceTab({
const [worklogContents, setWorklogContents] = useState<Record<string, string>>({});
const [loading, setLoading] = useState(false);
const [previewModalItem, setPreviewModalItem] = useState<EvidenceAttachmentItem | null>(null);
const [isPreviewModalExpanded, setIsPreviewModalExpanded] = useState(false);
async function handleCopyText(text: string) {
try {
@@ -2642,10 +2646,13 @@ export function WorklogEvidenceTab({
open={Boolean(previewModalItem)}
title={previewModalItem?.title ?? 'Preview'}
footer={null}
width={1120}
rootClassName="plan-board-page__evidence-modal"
width={isPreviewModalExpanded ? 'calc(100vw - 32px)' : 1120}
rootClassName={`plan-board-page__evidence-modal${
isPreviewModalExpanded ? ' plan-board-page__evidence-modal--expanded' : ''
}`}
onCancel={() => {
setPreviewModalItem(null);
setIsPreviewModalExpanded(false);
}}
closeIcon={<CloseOutlined />}
>
@@ -2660,18 +2667,30 @@ export function WorklogEvidenceTab({
onClick={() => void handleCopyText(previewModalItem.value)}
/>
{previewModalItem.linkUrl ? (
<Button type="link" href={previewModalItem.linkUrl} target="_blank" rel="noreferrer">
</Button>
<Button
aria-label="다운로드"
icon={<DownloadOutlined />}
href={previewModalItem.linkUrl}
target={previewModalItem.kind === 'preview' ? '_blank' : undefined}
rel={previewModalItem.kind === 'preview' ? 'noreferrer' : undefined}
download={previewModalItem.kind === 'preview' ? undefined : true}
/>
) : null}
<Button
aria-label={isPreviewModalExpanded ? '최대화 해제' : '최대화'}
icon={isPreviewModalExpanded ? <FullscreenExitOutlined /> : <FullscreenOutlined />}
onClick={() => {
setIsPreviewModalExpanded((previous) => !previous);
}}
/>
<Button
aria-label="닫기"
icon={<CloseOutlined />}
onClick={() => {
setPreviewModalItem(null);
setIsPreviewModalExpanded(false);
}}
>
</Button>
/>
</Space>
</Flex>
<div className="plan-board-page__evidence-modal-body">