Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit a63ce5015ed805c572afda98fd09815df1ab2419
parent c13150b482ee744025d8c4033c07466a5796ffee
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  5 Oct 2026 03:16:03 -0400

export: a moment's back-link to a report's summary says Summary

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mexport/app/components/reports/MomentArticle.tsx | 2+-
Mexport/app/lib/reports.test.ts | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/export/app/components/reports/MomentArticle.tsx b/export/app/components/reports/MomentArticle.tsx @@ -151,7 +151,7 @@ export default function MomentArticle({ view }: { view: MomentPageView }) { </a> <div className="flex flex-wrap items-center gap-2 text-muted-foreground"> {e.verdict && e.verdictStyle && <VerdictChip verdict={e.verdict} style={e.verdictStyle} />} - {e.sectionTitle && <span>{e.sectionTitle}</span>} + {e.sectionTitle ? <span>{e.sectionTitle}</span> : !e.sectionId && <span>Summary</span>} {(e.claimTitle ?? e.claimText) && ( <span className="text-foreground">— {e.claimTitle ?? e.claimText}</span> )} diff --git a/export/app/lib/reports.test.ts b/export/app/lib/reports.test.ts @@ -122,6 +122,7 @@ test("a video moment: the clip, quote, verification, cue lines, original link, c assert.match(html, /href="\/reports\/demo-factcheck\/"[^>]*>Checking an example article/); assert.match(html, /href="\/reports\/demo-factcheck\/#claim-1"/); assert.ok(html.includes("— “He opened it himself”"), "a cited-in entry names the claim by its title"); + assert.match(html, /<span>Summary<\/span>/, "a summary citation is named as the summary"); assert.match(html, /href="\/reports\/demo-factcheck\/#claim-5"/); });