T12c Data Display: Carousel, Gallery, BeforeAfter, Watermark (review pending: codex 401)

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 19:08:08 -04:00
1 parent 111a15c21c
commit 8798d95d7a
19 files changed
+1004 -12

No files matched your search

+23
View File
@@ -1,3 +1,4 @@
mod media;
mod people;
mod records;
@@ -29,6 +30,24 @@ const SCRIPT: &[Step] = &[
Step::Click("feed-post"),
Step::Wait(300),
Step::Shot("feed-arrival"),
Step::Hover("carousel"),
Step::Wait(300),
Step::Shot("carousel-hover"),
Step::DownAt("carousel", 530.0, 133.0),
Step::UpAt("carousel", 530.0, 133.0),
Step::Wait(600),
Step::Shot("carousel-next"),
Step::DownAt("gallery", 60.0, 60.0),
Step::UpAt("gallery", 60.0, 60.0),
Step::Wait(400),
Step::Shot("gallery-lightbox"),
Step::Key("escape"),
Step::Wait(300),
Step::DownAt("before-after", 240.0, 160.0),
Step::DragTo("before-after", 390.0, 160.0),
Step::UpAt("before-after", 390.0, 160.0),
Step::Wait(200),
Step::Shot("before-after-drag"),
Step::Rest,
];
@@ -44,5 +63,9 @@ fn render(window: &mut Window, cx: &mut App) -> AnyElement {
.child(records::timelines(cx))
.child(records::feed(window, cx))
.child(records::changelog(cx))
.child(media::carousel(cx))
.child(media::gallery(cx))
.child(media::before_after(cx))
.child(media::watermark(window, cx))
.into_any_element()
}