feat(artifact-export) : add vertical stats layout and note toggle
CI / Verify (push) Successful in 1m15s
CI / Build immutable images and deploy (push) Successful in 1m46s

This commit is contained in:
2026-09-10 22:45:56 +07:00 Unverified
parent e860425e08
commit cd0c941e84
2 changed files with 25 additions and 4 deletions
+2 -1
View File
@@ -614,6 +614,7 @@ function ArtifactSection({ guide }: { guide: PublicGuide }) {
action={
<ArtifactImageExport
fileName={`${guide.name}-Artifact.png`}
hasNote={Boolean(guide.artifactProfile?.note)}
targetConditionLabels={targetConditions.map((group, index) => group.name || `Condition ${index + 1}`)}
>
<ArtifactSectionContent guide={guide} exporting />
@@ -944,7 +945,7 @@ function ArtifactSectionContent({
</div>
) : null}
{profile.note ? (
<div className="pt-3">
<div data-artifact-export-section="note" className="pt-3">
<p className="mb-2 text-sm font-medium">โน็ต</p>
<p className="text-sm leading-6 text-muted-foreground">
{profile.note}