Pending UI work: - My Day add/remove context actions on task rows (parent removal cascades to children) - orphan-aware grouping: a child whose parent isn't in view renders as a top-level row, not an indented draft - shell menu restructure (Worker / Repositories submenus); 'Finalize plan' action, drop 'Queue subtasks sequentially' - notes editor refinements - subtask-row hover tweak (Surface3, no transition) - bump Avalonia 12.0.0 -> 12.0.4
19 lines
563 B
C#
19 lines
563 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using ClaudeDo.Ui.ViewModels.Islands;
|
|
|
|
namespace ClaudeDo.Ui.Views.Islands;
|
|
|
|
public partial class NotesEditorView : UserControl
|
|
{
|
|
public NotesEditorView() => InitializeComponent();
|
|
|
|
private void OnBulletLostFocus(object? sender, RoutedEventArgs e)
|
|
{
|
|
if (sender is TextBox { DataContext: NoteBulletViewModel bullet }
|
|
&& DataContext is NotesEditorViewModel vm
|
|
&& vm.CommitBulletCommand.CanExecute(bullet))
|
|
vm.CommitBulletCommand.Execute(bullet);
|
|
}
|
|
}
|