clarify app release build flow
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-06 16:31:53 +09:00
parent 2759bed814
commit 08939bdaaf
4 changed files with 41 additions and 28 deletions
+12 -11
View File
@@ -58,11 +58,17 @@ function toApiDateTime(value: string) {
return value ? new Date(value).toISOString() : undefined;
}
function exposureText(row: LauncherNotice) {
if (!row.startsAt && !row.endsAt) return '상시';
if (row.startsAt && row.endsAt) return `${formatNoticeDateTime(row.startsAt)} ~ ${formatNoticeDateTime(row.endsAt)}`;
if (row.startsAt) return `${formatNoticeDateTime(row.startsAt)}부터`;
return `${formatNoticeDateTime(row.endsAt)}까지`;
function exposureCell(row: LauncherNotice) {
if (!row.startsAt && !row.endsAt) {
return <span className="text-muted-foreground">상시</span>;
}
return (
<div className="min-w-40 text-xs leading-5 text-muted-foreground">
<p>{row.startsAt ? formatNoticeDateTime(row.startsAt) : '-'}</p>
<p>~ {row.endsAt ? formatNoticeDateTime(row.endsAt) : '-'}</p>
</div>
);
}
function toForm(notice: LauncherNotice): NoticeForm {
@@ -237,12 +243,7 @@ export function NoticesPage() {
},
{ key: 'appKey', header: '대상 앱', cell: (row) => <StatusBadge status={row.appName} tone={isLauncherNoticeKey(row.appKey) ? 'violet' : 'blue'} /> },
{ key: 'status', header: '상태', cell: (row) => <StatusBadge status={row.status ?? (row.isActive ? '게시중' : '비활성')} /> },
{ key: 'exposure', header: '노출 일시', cell: (row) => <span className="text-muted-foreground">{exposureText(row)}</span> },
{
key: 'linkUrl',
header: '링크주소',
cell: (row) => row.linkUrl ? <span className="block max-w-56 truncate text-muted-foreground">{row.linkUrl}</span> : <span className="text-muted-foreground">-</span>
},
{ key: 'exposure', header: '노출 일시', className: 'w-48 px-5 py-3 font-medium', cell: exposureCell },
{ key: 'createdAt', header: '생성일시', cell: (row) => <span className="text-muted-foreground">{formatNoticeDateTime(row.createdAt)}</span> },
{
key: 'actions',