feat: show presentation live replay status
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user