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
@@ -24,7 +24,7 @@ impl Tree {
|
||||
pub fn refs_pane(&self, cx: &mut Context<Self>) -> AnyElement {
|
||||
let found = self
|
||||
.active()
|
||||
.and_then(|opened| match (&opened.refs, &self.picked_ref) {
|
||||
.and_then(|opened| match (&opened.refs, &opened.picked_ref) {
|
||||
(Some(Ok(refs)), Some((kind, name))) => refs
|
||||
.iter()
|
||||
.find(|r| r.kind == *kind && r.name == *name)
|
||||
@@ -50,7 +50,10 @@ impl Tree {
|
||||
found.subject
|
||||
),
|
||||
)
|
||||
.text(label("tree.ref.when"), when(found.at));
|
||||
.text(
|
||||
label("tree.ref.when"),
|
||||
found.at.map_or_else(|| "—".into(), when),
|
||||
);
|
||||
if let Some(upstream) = &found.upstream {
|
||||
let track = match found.track {
|
||||
Some((ahead, behind)) => format!("{upstream} ↑{ahead} ↓{behind}"),
|
||||
|
||||
Reference in new issue
Block a user