perf(settings): coalesce refreshes and cache resize previews

This commit is contained in:
aria committed 2026-10-28 06:56:03 +09:00
1 parent 6671960d5e
commit 81b99709bb
16 files changed
+906 -74

No files matched your search

+10
View File
@@ -79,6 +79,7 @@ fn panel_preview_stays_visible_while_the_items_editor_scrolls() {
"/unused/editor.kdl".into(),
Snapshot::parse(String::new()),
None,
None,
),
)
.0;
@@ -185,6 +186,7 @@ fn appearance_scroll_preserves_progress_and_settles_visibility() {
PathBuf::from("/unused/scroll-test.kdl"),
Snapshot::parse(source),
None,
None,
),
)
.0;
@@ -459,6 +461,7 @@ fn gpu_panel_text_survives_preview_clipping_and_scrolling() {
"/unused/panel-text.kdl".into(),
Snapshot::parse("theme { mode dark; family \"ferese-blue\"; }".into()),
Some(InitialPage::Bar),
None,
),
)
.0;
@@ -652,6 +655,7 @@ fn render_panel_review_states() {
"/unused/review.kdl".into(),
Snapshot::parse(String::new()),
Some(InitialPage::Bar),
None,
),
)
.0;
@@ -899,6 +903,7 @@ fn selecting_panel_items_preserves_editor_scroll_and_pane_bounds() {
"/unused/layout.kdl".into(),
Snapshot::parse(String::new()),
Some(InitialPage::Bar),
None,
),
)
.0;
@@ -1002,6 +1007,7 @@ fn sidebar_collapses_at_the_breakpoint_and_compact_navigation_dismisses() {
"/unused/sidebar.kdl".into(),
Snapshot::parse(String::new()),
Some(InitialPage::Bar),
None,
),
)
.0;
@@ -1121,6 +1127,7 @@ fn appearance_cards_reflow_without_overlap_and_keep_every_destination() {
"/unused/overview.kdl".into(),
Snapshot::parse(String::new()),
None,
None,
),
)
.0;
@@ -1232,6 +1239,7 @@ fn sidebar_rows_center_inside_the_full_button_hit_area() {
"/unused/navigation-centers.kdl".into(),
Snapshot::parse(String::new()),
None,
None,
),
)
.0;
@@ -1305,6 +1313,7 @@ fn double_clicking_blank_edges_toggles_maximize_without_changing_settings() {
"/unused/edge-gesture.kdl".into(),
Snapshot::parse(String::new()),
Some(InitialPage::Settings(Page::General)),
None,
),
)
.0;
@@ -1397,6 +1406,7 @@ fn holiday_function_editor_keeps_state_when_focus_and_text_rebuild_the_page() {
"/unused/calendar-editor.kdl".into(),
Snapshot::parse(String::new()),
Some(InitialPage::Settings(Page::Calendar)),
None,
),
)
.0;