style(ui): details header with logbook eyebrow and task-id badge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-04-20 11:34:28 +02:00
parent 82f2d526a0
commit b64ff3d908
2 changed files with 88 additions and 27 deletions

View File

@@ -24,6 +24,9 @@ public sealed partial class DetailsIslandViewModel : ViewModelBase
[ObservableProperty] private string _notes = "";
[ObservableProperty] private string _promptInput = "";
// Short task-id badge, e.g. "#T1A"
public string TaskIdBadge => Task != null ? $"#T{Task.Id[..Math.Min(3, Task.Id.Length)].ToUpperInvariant()}" : "";
// Agent strip fields
[ObservableProperty] private string _agentStatusLabel = "Idle";
public bool IsRunning => AgentStatusLabel == "Running";
@@ -82,6 +85,7 @@ public sealed partial class DetailsIslandViewModel : ViewModelBase
var ct = _loadCts.Token;
Task = row;
OnPropertyChanged(nameof(TaskIdBadge));
Log.Clear();
Subtasks.Clear();