Show plain German strategy names with explanations in the dashboard

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-17 18:52:11 +01:00
1 parent e250a120ea
commit 0655af2699
11 files changed
+234 -12

No files matched your search

@@ -29,7 +29,7 @@ else
var label = LabelFormatter is null ? entry.Label : LabelFormatter(entry.Key, entry.Label);
var share = (entry.Count * 100.0 / Entries[0].Count).ToString("0.#", CultureInfo.InvariantCulture);
var active = IsActive(entry);
var title = label is null ? key : $"{label} · {key}";
var title = TitleFormatter?.Invoke(entry.Key) ?? (label is null ? key : $"{label} · {key}");
<tr data-href="@Href(entry)" class="@(active ? "active" : null)">
<td class="clip" title="@title">
<a href="@Href(entry)" aria-current="@(active ? "true" : null)" title="@(active ? $"Filter {title} entfernen" : $"Fänge filtern: {title}")">
@@ -40,7 +40,10 @@ else
@if (label is not null)
{
<span class="top-label">@label</span>
<span class="top-key mono">@key</span>
@if (key.Length > 0)
{
<span class="top-key mono">@key</span>
}
}
else
{
@@ -68,6 +71,8 @@ else
[Parameter] public Func<string?, string?, string?>? LabelFormatter { get; set; }
[Parameter] public Func<string?, string?>? TitleFormatter { get; set; }
[Parameter, EditorRequired] public required Func<TopEntry, string> Href { get; set; }
[Parameter, EditorRequired] public required Func<TopEntry, bool> IsActive { get; set; }