Compact task list and tighter spacing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"PowerShell(node D:\\\\Oculusquest\\\\Projekt\\\\_Tools\\\\Library\\\\tools\\\\project-check.mjs \"d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer\")",
|
||||
"PowerShell(cd d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer; git rm -q --cached tasks.json docs/screenshots/1.png; Remove-Item tasks.json, docs\\\\screenshots\\\\1.png; Add-Content .gitignore \"tasks.json\"; Get-ChildItem bin -Recurse -Filter tasks.json | Remove-Item; dotnet build ReminderOrganizer.csproj -nologo -v q 2>&1 | Select-String \"Fehler|error\" ; Test-Path \"$env:APPDATA\\\\ReminderOrganizer\")",
|
||||
"PowerShell(Get-ChildItem \"$env:TEMP\\\\.net\\\\ReminderOrganizer\" -Recurse -Filter tasks.json -ErrorAction SilentlyContinue | select FullName,Length,LastWriteTime)",
|
||||
"PowerShell(cd d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer; if \\(-not \\(Select-String -Path ServiceLocator.cs -Pattern \"using System.Linq\" -Quiet\\)\\) { \\(Get-Content -Raw ServiceLocator.cs\\) -replace \"using System;\",\"using System;`r`nusing System.Linq;\" | Set-Content -Encoding utf8 ServiceLocator.cs }; dotnet build ReminderOrganizer.csproj -nologo -v q 2>&1 | Select-String \"Fehler|error\"; git commit -qam \"Migrate tasks.json from v1.0 single-file extract dir`n`nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\"; node D:\\\\Oculusquest\\\\Projekt\\\\_Tools\\\\Library\\\\tools\\\\project-check.mjs \"d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer\")"
|
||||
"PowerShell(cd d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer; if \\(-not \\(Select-String -Path ServiceLocator.cs -Pattern \"using System.Linq\" -Quiet\\)\\) { \\(Get-Content -Raw ServiceLocator.cs\\) -replace \"using System;\",\"using System;`r`nusing System.Linq;\" | Set-Content -Encoding utf8 ServiceLocator.cs }; dotnet build ReminderOrganizer.csproj -nologo -v q 2>&1 | Select-String \"Fehler|error\"; git commit -qam \"Migrate tasks.json from v1.0 single-file extract dir`n`nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\"; node D:\\\\Oculusquest\\\\Projekt\\\\_Tools\\\\Library\\\\tools\\\\project-check.mjs \"d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer\")",
|
||||
"PowerShell(cd d:\\\\Oculusquest\\\\Projekt\\\\ReminderOrganizer; cmd /c \"release.bat x\" 2>&1 | Select-String \"FERTIG|FEHLER|Bestanden|Fehler:\" ; Get-Item publish\\\\ReminderOrganizer.exe, ReminderOrganizer.zip | select Name,@{n='MB';e={[math]::Round\\($_.Length/1MB,1\\)}},LastWriteTime; git add -A; git commit -qm \"Compact task list and tighter spacing`n`nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\"; git log --oneline -1)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,10 +223,10 @@
|
||||
<Style x:Key="ModernCard" TargetType="Border">
|
||||
<Setter Property="Background" Value="{DynamicResource CardBrush}"/>
|
||||
<Setter Property="CornerRadius" Value="16"/>
|
||||
<Setter Property="Padding" Value="24"/>
|
||||
<Setter Property="Padding" Value="12,14,12,12"/>
|
||||
<Setter Property="Effect">
|
||||
<Setter.Value>
|
||||
<DropShadowEffect BlurRadius="30" ShadowDepth="8" Opacity="0.25" Direction="270" Color="Black"/>
|
||||
<DropShadowEffect BlurRadius="18" ShadowDepth="2" Opacity="0.10" Direction="270" Color="Black"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
@@ -477,7 +477,7 @@
|
||||
<!-- Action Buttons -->
|
||||
<StackPanel DockPanel.Dock="Bottom" Margin="16,12,16,10">
|
||||
<Button Content="{Binding AddFolderText}" Command="{Binding AddFolderCommand}"
|
||||
Style="{StaticResource ModernButton}" Height="44" Margin="0"/>
|
||||
Style="{StaticResource ModernButton}" Height="36" FontSize="13" Margin="0"/>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Folders Section (fills the remaining height) -->
|
||||
@@ -509,7 +509,7 @@
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="TreeViewItem">
|
||||
<Border x:Name="Bd" Background="Transparent" CornerRadius="10" Padding="12,9" Margin="0,2"
|
||||
<Border x:Name="Bd" Background="Transparent" CornerRadius="8" Padding="10,7" Margin="0,1"
|
||||
BorderThickness="1" BorderBrush="Transparent" Cursor="Hand">
|
||||
<ContentPresenter x:Name="PART_Header" ContentSource="Header" HorizontalAlignment="Stretch"/>
|
||||
</Border>
|
||||
@@ -565,28 +565,28 @@
|
||||
</Border>
|
||||
|
||||
<!-- Main Content Area -->
|
||||
<Grid Grid.Column="1" Margin="24">
|
||||
<Grid Grid.Column="1" Margin="24,20,24,24">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header Section -->
|
||||
<DockPanel Grid.Row="0" Margin="0,8,0,20">
|
||||
<DockPanel Grid.Row="0" Margin="0,0,0,16">
|
||||
<Button DockPanel.Dock="Right" Content="{Binding AddTaskText}" Command="{Binding AddTaskCommand}"
|
||||
Style="{StaticResource ModernButton}" Padding="20,10" Margin="0" VerticalAlignment="Center"/>
|
||||
Style="{StaticResource ModernButton}" Padding="16,7" FontSize="13" Margin="0" VerticalAlignment="Center"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Border Width="44" Height="44" CornerRadius="12" Background="{DynamicResource PrimaryBrush}"
|
||||
VerticalAlignment="Center" Margin="0,0,16,0">
|
||||
<Border Width="38" Height="38" CornerRadius="10" Background="{DynamicResource PrimaryBrush}"
|
||||
VerticalAlignment="Center" Margin="0,0,14,0">
|
||||
<Path Data="{StaticResource FolderGeometry}" Width="16" Height="16" Stretch="None" StrokeThickness="1.3" StrokeLineJoin="Round"
|
||||
Stroke="White" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Path.LayoutTransform>
|
||||
<ScaleTransform ScaleX="1.4" ScaleY="1.4"/>
|
||||
<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
|
||||
</Path.LayoutTransform>
|
||||
</Path>
|
||||
</Border>
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<TextBlock Text="{Binding SelectedFolderName}" FontSize="22" FontWeight="Bold"
|
||||
<TextBlock Text="{Binding SelectedFolderName}" FontSize="19" FontWeight="Bold"
|
||||
Foreground="{DynamicResource TextPrimaryBrush}" TextTrimming="CharacterEllipsis"/>
|
||||
<TextBlock Text="{Binding TaskCountText}" FontSize="12" Foreground="{DynamicResource TextSecondaryBrush}" Margin="0,2,0,0"/>
|
||||
</StackPanel>
|
||||
@@ -604,10 +604,10 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header -->
|
||||
<Border Grid.Row="0" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,0,0,1" Margin="8,8,8,0" Padding="26,8">
|
||||
<Border Grid.Row="0" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,0,0,1" Margin="0" Padding="14,2,14,8">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="20"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="170"/>
|
||||
<ColumnDefinition Width="96"/>
|
||||
@@ -621,34 +621,27 @@
|
||||
|
||||
<!-- Tasks -->
|
||||
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
|
||||
<ItemsControl ItemsSource="{Binding SelectedFolderTasksView}" Margin="8,0,8,8">
|
||||
<ItemsControl ItemsSource="{Binding SelectedFolderTasksView}" Margin="0,4,0,0">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Border x:Name="taskBorder" CornerRadius="12" Margin="0,4" Padding="16"
|
||||
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
||||
<!-- compact table row: no box, divider line, hover background -->
|
||||
<Border x:Name="taskBorder" CornerRadius="8" Margin="0,1" Padding="14,7" MinHeight="40"
|
||||
MouseLeftButtonDown="TaskItem_Click"
|
||||
MouseMove="TaskItem_MouseMove"
|
||||
MouseEnter="TaskItem_MouseEnter"
|
||||
MouseLeave="TaskItem_MouseLeave"
|
||||
Cursor="Hand"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Background="Transparent">
|
||||
<Border.RenderTransform>
|
||||
<ScaleTransform x:Name="taskScale" ScaleX="1" ScaleY="1"/>
|
||||
</Border.RenderTransform>
|
||||
<Border.Effect>
|
||||
<DropShadowEffect x:Name="taskGlow" BlurRadius="0" ShadowDepth="0" Opacity="0" Color="#6366F1"/>
|
||||
</Border.Effect>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="20"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="170"/>
|
||||
<ColumnDefinition Width="96"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Status Indicator -->
|
||||
<Ellipse Grid.Column="0" Width="10" Height="10" Margin="0,0,16,0" VerticalAlignment="Center">
|
||||
<Ellipse Grid.Column="0" Width="8" Height="8" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
<Ellipse.Style>
|
||||
<Style TargetType="Ellipse">
|
||||
<Setter Property="Fill" Value="{DynamicResource SecondaryBrush}"/>
|
||||
@@ -677,16 +670,16 @@
|
||||
</Style>
|
||||
</StackPanel.Style>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding Name}" FontSize="14" FontWeight="SemiBold" TextTrimming="CharacterEllipsis"
|
||||
<TextBlock Text="{Binding Name}" FontSize="13" FontWeight="SemiBold" TextTrimming="CharacterEllipsis"
|
||||
Foreground="{DynamicResource TextPrimaryBrush}"/>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="11" Margin="8,0,0,0" VerticalAlignment="Center"
|
||||
Foreground="{DynamicResource PrimaryBrush}"
|
||||
Visibility="{Binding IsRecurring, Converter={StaticResource BoolToVisibility}}"
|
||||
ToolTip="{Binding DataContext.RecurringTaskTooltipText, RelativeSource={RelativeSource AncestorType=Window}}"/>
|
||||
</StackPanel>
|
||||
<TextBlock Text="{Binding Description}" FontSize="12"
|
||||
<TextBlock Text="{Binding Description}" FontSize="11.5"
|
||||
Foreground="{DynamicResource TextSecondaryBrush}"
|
||||
TextTrimming="CharacterEllipsis" Margin="0,4,0,0"
|
||||
TextTrimming="CharacterEllipsis" Margin="0,1,0,0"
|
||||
Visibility="{Binding Description, Converter={StaticResource StringToVisibility}}"/>
|
||||
</StackPanel>
|
||||
|
||||
@@ -755,7 +748,7 @@
|
||||
<!-- Empty State -->
|
||||
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"
|
||||
Visibility="{Binding SelectedFolderTasks.Count, Converter={StaticResource ZeroToVisibility}}">
|
||||
<Border Width="100" Height="100" CornerRadius="50" Margin="0,0,0,24">
|
||||
<Border Width="72" Height="72" CornerRadius="36" Margin="0,0,0,18">
|
||||
<Border.Background>
|
||||
<RadialGradientBrush>
|
||||
<GradientStop Color="#6366F1" Offset="0"/>
|
||||
@@ -765,7 +758,7 @@
|
||||
<Border.Effect>
|
||||
<DropShadowEffect BlurRadius="25" ShadowDepth="0" Opacity="0.3" Color="#6366F1"/>
|
||||
</Border.Effect>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="40" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="28" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
</Border>
|
||||
<TextBlock Text="{Binding NoTasks}"
|
||||
FontSize="18" FontWeight="SemiBold"
|
||||
|
||||
Reference in New Issue
Block a user