T23d round 1 fix

- the conversation list reads the zone through format::system_zone, which
  fails loud; the gallery expects the system zone
- Combobox opens with its cursor on its value, MultiSelect on the first
  row ticked; tests for all three lists open r25 of thirty in view
- AGENTS: the zone rule; lists open on their choice
This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 07:42:45 -04:00
1 parent f3336b18bf
commit 4f9e9eb756
8 files changed
+87 -26

No files matched your search

+4 -1
View File
@@ -79,7 +79,10 @@ impl RenderOnce for MultiSelect {
picker.update(cx, |picker, _| picker.open = false);
}
let (choices, selected) = (Rc::new(self.choices), Rc::new(self.selected));
let start = step(&choices, choices.len() - 1, 1);
let start = choices
.iter()
.position(|choice| !choice.disabled && selected.contains(&choice.value))
.unwrap_or_else(|| step(&choices, choices.len() - 1, 1));
if picker.read(cx).highlighted >= choices.len() {
picker.update(cx, |picker, _| picker.highlighted = start);
}