T14c, T15 review fixes: Tab steps past merges, empty charts lay out nothing, flat domains widen by size, pointed parts let go of shrunk data, signed waterfall totals, sunburst children take their share, today stays on the timeline

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 22:22:02 -04:00
1 parent cbd49e99d3
commit 1be90425e4
20 files changed
+358 -77

No files matched your search

+18
View File
@@ -426,3 +426,21 @@ fn tab_steps_across_the_grid_and_keeps_an_edit(cx: &mut TestAppContext) {
"tab moves right, and keeps an open edit first"
);
}
#[gpui::test]
fn tab_steps_past_a_merge_like_the_arrows(cx: &mut TestAppContext) {
grid_keys(cx);
let heard = Rc::new(RefCell::new(Vec::new()));
let seen = heard.clone();
let (_, cx) = cx.add_window_view(|_, _| Merged(seen));
settle(cx);
cx.simulate_click(point(px(146.0), px(42.0)), Modifiers::none());
settle(cx);
cx.simulate_keystrokes("tab 9 enter");
settle(cx);
assert_eq!(
*heard.borrow(),
[(0, 3, "9".to_string())],
"tab leaves the merge by its far side"
);
}