sync: update from private repo (e62f5c7)
CI / build-and-test (push) Has been cancelled

This commit is contained in:
oss-sync
2026-06-11 01:52:48 +00:00
parent 000a2474aa
commit d061ad08d8
237 changed files with 8441 additions and 5549 deletions
+5 -3
View File
@@ -1,4 +1,5 @@
import { LinkifiedText } from '../../../lib/linkified-text';
import { useTranslation } from 'react-i18next';
interface OutputTabProps {
outputPreviewName: string;
@@ -7,12 +8,13 @@ interface OutputTabProps {
}
export function OutputTab({ outputPreviewName, outputPreviewContent, onViewFull }: OutputTabProps) {
const { t } = useTranslation('detail');
return (
<div className="bg-canvas border border-slate-200 rounded-xl p-4 shadow-sm">
<div className="flex justify-between items-center mb-2">
<div className="font-bold text-[13px] text-slate-800"></div>
<div className="font-bold text-[13px] text-slate-800">{t('output.title')}</div>
{outputPreviewName && (
<button onClick={onViewFull} className="text-2xs text-blue-600 font-bold hover:underline"></button>
<button onClick={onViewFull} className="text-2xs text-blue-600 font-bold hover:underline">{t('output.viewFull')}</button>
)}
</div>
{outputPreviewName ? (
@@ -28,7 +30,7 @@ export function OutputTab({ outputPreviewName, outputPreviewContent, onViewFull
/>
</>
) : (
<div className="text-[13px] text-slate-500"></div>
<div className="text-[13px] text-slate-500">{t('output.empty')}</div>
)}
</div>
);