T11b loading: progress bars and rings that glide, loading overlay, lazy load, suspense and async view, refresh and typing indicators, upload list; draw-time notifies ask for a frame

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 17:27:21 -04:00
1 parent d4066661d5
commit ce31c7fb06
38 files changed
+1646 -91

No files matched your search

+20
View File
@@ -1,4 +1,5 @@
mod loading;
mod progress;
use gpui::{AnyElement, App, IntoElement, ParentElement, Window, div};
@@ -28,6 +29,19 @@ const SCRIPT: &[Step] = &[
Step::Wait(500),
Step::Shot("shimmer-loaded"),
Step::Click("shimmer-load"),
Step::Click("progress-step"),
Step::Wait(400),
Step::Shot("progress"),
Step::Click("overlay-reload"),
Step::Wait(300),
Step::Shot("overlay"),
Step::Wait(1500),
Step::Click("refresh-run"),
Step::Wait(300),
Step::Shot("refreshing"),
Step::Click("uploads-tick"),
Step::Wait(400),
Step::Shot("uploads"),
Step::Rest,
];
@@ -38,5 +52,11 @@ fn render(window: &mut Window, cx: &mut App) -> AnyElement {
.child(loading::shimmer(window, cx))
.child(loading::buttons(window, cx))
.child(loading::more(window, cx))
.child(progress::bars(window, cx))
.child(progress::overlay(window, cx))
.child(progress::lazy(cx))
.child(progress::suspense(window, cx))
.child(progress::refresh(window, cx))
.child(progress::uploads(window, cx))
.into_any_element()
}