Navigate to snapshots from the transcript

This commit is contained in:
Ian Gulliver
2026-10-15 00:08:32 -07:00
parent 75c76eff0a
commit c778741a4a
23 changed files with 763 additions and 202 deletions
+7
View File
@@ -28,6 +28,13 @@ export function openTranscript(): void {
(panes.find((p) => p.current() !== "tasks") ?? panes[0])?.show("transcript");
}
export function openChanges(from: Element): void {
if (panes.some((p) => p.current() === "changes")) {
return;
}
(panes.find((p) => !p.el.contains(from)) ?? panes[0])?.show("changes");
}
export class Pane {
readonly el: HTMLElement;
private readonly tabs: HTMLElement;