site: dark screenshots; the hero shows a Claude Code session beside the viewer, same entry

The session (an HTML terminal pane, demo company) records the Adobe
receipt; the viewer shows entry #245 with its lines and rendered receipt.
Screenshot harness: SHOT_LIVE labels a fixed-books app as live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MtYEaR6M6Ybdhm6X98BWNu
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-10-12 18:56:09 -06:00
1 parent 17eed43ab9
commit 8637c1b05f
8 files changed
+58 -12

No files matched your search

+9 -1
View File
@@ -47,6 +47,7 @@ pub struct App {
state: PageState,
palette: crate::palette::Palette,
updated_at: f64,
live_label: bool,
}
impl App {
@@ -84,6 +85,7 @@ impl App {
state: PageState::default(),
palette: Default::default(),
updated_at: -1e9,
live_label: false,
}
}
@@ -98,6 +100,12 @@ impl App {
}
/// Page state (tests).
/// Label a fixed-books app "Live", as it reads when following a
/// journal (screenshots of what a running app looks like).
pub fn show_live_label(&mut self) {
self.live_label = true;
}
pub fn state_mut(&mut self) -> &mut PageState {
&mut self.state
}
@@ -250,7 +258,7 @@ impl App {
ui,
b,
ui.input(|i| i.time) - self.updated_at,
self.loader.is_some(),
self.loader.is_some() || self.live_label,
);
}
});
+3
View File
@@ -87,6 +87,9 @@ fn screenshots() {
.unwrap_or(920.0),
))
.build_eframe(|cc| App::with_books(&cc.egui_ctx, books, dark, route.clone()));
if std::env::var("SHOT_LIVE").is_ok() {
harness.state_mut().show_live_label();
}
harness.run_steps(4);
let ctx = harness.ctx.clone();
harness.state_mut().settle(&ctx);