feat: show presentation live replay status

This commit is contained in:
lda
2026-07-09 15:59:06 +07:00 Verified
parent 5da78dccd3
commit e7fb4cc087
7 changed files with 87 additions and 0 deletions
@@ -1,11 +1,14 @@
import type { EvidenceRecord } from "../app/state.js";
import { SceneProgress } from "./SceneProgress.js";
import { EvidenceReceipt } from "./evidence/EvidenceReceipt.js";
import { PresentationTruthBadge } from "./PresentationTruthBadge.js";
import type { PresentationTargetHealth } from "./presentation-target-status.js";
import type { MainLocation } from "./storyboard.js";
type PresentationFooterProps = {
readonly location: MainLocation;
readonly evidence: readonly EvidenceRecord[];
readonly targetStatus: PresentationTargetHealth;
readonly showEvidenceReceipt: boolean;
readonly inspectEvidence: () => void;
};
@@ -13,11 +16,13 @@ type PresentationFooterProps = {
export const PresentationFooter = ({
location,
evidence,
targetStatus,
showEvidenceReceipt,
inspectEvidence,
}: PresentationFooterProps) => (
<footer className="presentation-footer" aria-label="presentation footer">
<SceneProgress location={location} />
<PresentationTruthBadge status={targetStatus} />
<EvidenceReceipt
records={evidence}
visible={showEvidenceReceipt}