feat(ui): notes mode in the Details island

Add IsNotesMode/Notes to DetailsIslandViewModel; ShowNotes() loads today's
notes and switches the island body to NotesEditorView via IsVisible toggling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-06-03 10:07:09 +02:00
parent 731c291d61
commit eccd06e182
3 changed files with 26 additions and 4 deletions

View File

@@ -126,8 +126,10 @@
<!-- ── Agent status strip (sticky, above metadata footer) ── -->
<islands:AgentStripView DockPanel.Dock="Bottom"/>
<!-- ── Scrollable body: steps + terminal ── -->
<ScrollViewer VerticalScrollBarVisibility="Auto">
<!-- ── Body: task details (normal) or notes editor (notes mode) ── -->
<Grid>
<ScrollViewer VerticalScrollBarVisibility="Auto"
IsVisible="{Binding !IsNotesMode}">
<StackPanel Spacing="0">
<!-- Planning merge section — visible only for planning parent tasks -->
@@ -293,6 +295,10 @@
</StackPanel>
</ScrollViewer>
<Panel IsVisible="{Binding IsNotesMode}">
<islands:NotesEditorView DataContext="{Binding Notes}"/>
</Panel>
</Grid>
</DockPanel>
</UserControl>