Fixes for M-02 to M-14, G-01 to G-14, K-02 to K-04, X-04 to X-14, not yet reviewed
Committed before review so Windows and WSL builds can start. Each fix was tested and mutation-checked here; the codex review of each item is still to come, so tasks/BUGS.md stays unticked. M-02 is mid-review: round 1 findings are fixed (apps/ely-mark/src/tally.rs). K-01 stays deferred. The ElyMark window test mark-outside.sh failed once at its crash-recovery step in the last run; not yet looked into.
This commit is contained in:
75 files changed
+1482
-354
No files matched your search
@@ -123,7 +123,7 @@ impl Tree {
|
||||
};
|
||||
net.stopping = true;
|
||||
if let Err(error) = net.stop.now() {
|
||||
self.failed("tree.error.stop", &error.to_string(), cx);
|
||||
self.failed("tree.error.stop_remote", &error.to_string(), cx);
|
||||
}
|
||||
cx.notify();
|
||||
}
|
||||
@@ -183,7 +183,7 @@ impl Tree {
|
||||
if tree.active != Some(repo) {
|
||||
return;
|
||||
}
|
||||
tree.ask = Some(match read {
|
||||
let ask = match read {
|
||||
Ok(list) if list.is_empty() => {
|
||||
let words = text(cx, "tree.push.no_remote", &[]);
|
||||
return tree.toast(words, Severity::Warning, cx);
|
||||
@@ -198,8 +198,8 @@ impl Tree {
|
||||
title: text(cx, "tree.remotes.unread", &[]),
|
||||
detail: error.to_string().into(),
|
||||
},
|
||||
});
|
||||
cx.notify();
|
||||
};
|
||||
tree.offer(ask, cx);
|
||||
})
|
||||
.ok();
|
||||
})
|
||||
@@ -234,14 +234,14 @@ impl Tree {
|
||||
if tree.active != Some(repo) {
|
||||
return;
|
||||
}
|
||||
tree.ask = Some(match plan {
|
||||
let ask = match plan {
|
||||
Ok(plan) => Ask::Force { repo, plan },
|
||||
Err(error) => Ask::Failed {
|
||||
title: text(cx, "tree.force.unready", &[]),
|
||||
detail: error.to_string().into(),
|
||||
},
|
||||
});
|
||||
cx.notify();
|
||||
};
|
||||
tree.offer(ask, cx);
|
||||
})
|
||||
.ok();
|
||||
})
|
||||
@@ -262,11 +262,10 @@ impl Tree {
|
||||
.on_click(move |_, _, cx| {
|
||||
this.update(cx, |tree, cx| tree.stop_remote(id, cx)).ok();
|
||||
});
|
||||
Some(
|
||||
Alert::new("tree-net", Severity::Info, verb)
|
||||
.body(net.said.clone())
|
||||
.action(stop.into_any_element())
|
||||
.into_any_element(),
|
||||
)
|
||||
let alert = Alert::new("tree-net", Severity::Info, verb).body(net.said.clone());
|
||||
if !crate::running::STOPS {
|
||||
return Some(alert.into_any_element());
|
||||
}
|
||||
Some(alert.action(stop.into_any_element()).into_any_element())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user