Reminders written down as todos had no home: every task looked like Claude work. A manual task now shows a MANUAL badge and hides send-to-queue, refine and the planning session; the queue picker, daily prep and the list handler all skip it, with a TaskStateService guard so the MCP surface and hub cannot start one either. Opening a hand-driven ConPTY session stays available on purpose. A list can be marked manual in its settings, which makes tasks created there (UI and MCP add_task) start out manual. Toggle per task from its context menu.
22 lines
877 B
C#
22 lines
877 B
C#
using ClaudeDo.Data.Models;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace ClaudeDo.Ui.ViewModels.Islands;
|
|
|
|
public sealed partial class ListNavItemViewModel : ViewModelBase
|
|
{
|
|
public required string Id { get; init; }
|
|
public required ListKind Kind { get; init; }
|
|
[ObservableProperty] private string _name = "";
|
|
[ObservableProperty] private int _count;
|
|
[ObservableProperty] private bool _isActive;
|
|
[ObservableProperty] private string? _workingDir;
|
|
[ObservableProperty] private string _defaultCommitType = CommitTypeRegistry.DefaultType;
|
|
// Reminder list: tasks created here default to manual.
|
|
[ObservableProperty] private bool _isManual;
|
|
[ObservableProperty] private bool _dropHintAbove;
|
|
[ObservableProperty] private bool _dropHintBelow;
|
|
public string? IconKey { get; init; }
|
|
public string? DotColorKey { get; init; }
|
|
}
|