Skip to content

Commit 29fb01f

Browse files
committed
Finalizing glyphs fixes #6
1 parent 1e2799b commit 29fb01f

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/Converters/ConclusionColorConverter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public object ConvertBack(object value, Type targetType, object parameter, Cultu
2121
{
2222
"success" => new SolidColorBrush(Colors.Green),
2323
"failure" => new SolidColorBrush(Colors.Red),
24+
"startup_failure" => new SolidColorBrush(Colors.Red),
25+
"warning" => new SolidColorBrush(Colors.Yellow),
2426
_ => new SolidColorBrush(Colors.Black),
2527
};
2628
}

src/Converters/ConclusionIconConverter.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,18 @@ public object ConvertBack(object value, Type targetType, object parameter, Cultu
1818
private string GetConclusionIndicator(string status) => status.ToLowerInvariant() switch
1919
{
2020
"success" => "\uEBB3 ",
21-
"failure" => "\uEBB4 ",
21+
"completed" => "\uEBB3 ",
22+
"failure" => "\uEA87 ",
23+
"startup_failure" => "\uEA87 ",
2224
"cancelled" => "\uEABD ",
2325
"skipped" => "\uEABD ",
24-
_ => "🤷🏽",
26+
"pending" => "\uEBB5 ",
27+
"queued" => "\uEBA7 ",
28+
"requested" => "\uEBA7 ",
29+
"waiting" => "\uEA82 ",
30+
"inprogress" => "\uEA82 ",
31+
"in_progress" => "\uEA82 ",
32+
"warning" => "\uEA6C ",
33+
_ => "\uEA74 ",
2534
};
2635
}

0 commit comments

Comments
 (0)