Files
EngineeringSync/EngineeringSync.Setup/Views/Pages/InstallPathPage.xaml
EngineeringSync 04ae8a0aae Initial commit: EngineeringSync v1.0.0
Vollständige Implementierung des EngineeringSync-Middleware-Tools:
- Windows Service (Kestrel :5050) mit FileSystemWatcher + SignalR
- WPF Tray-App mit PendingChanges- und Projektverwaltungs-Fenster
- Setup-Wizard (8-Schritte-Installer)
- SQLite/EF Core Datenschicht (WAL-Modus)
- SHA-256-basiertes Debouncing (2s Fenster)
- Backup-System mit konfigurierbarer Aufbewahrung

Bugfixes & Verbesserungen:
- BUG-1: AppDbContext OnConfiguring invertierte Bedingung behoben
- BUG-2: Event-Handler-Leak in TrayApp (Fenster-Singleton-Pattern)
- BUG-3: ProjectConfigChanged SignalR-Signal in allen CRUD-Endpoints
- BUG-5: Rename-Sync löscht alte Datei im Simulations-Ordner
- BUG-6: Doppeltes Dispose von SignalR verhindert
- BUG-7: Registry-Deinstallation nur EngineeringSync-Eintrag entfernt
- S1: Path-Traversal-Schutz via SafeCombine() im SyncManager
- E1: FSW Buffer 64KB + automatischer Re-Scan bei Overflow
- E2: Retry-Logik (3x) für gesperrte Dateien mit exponentiellem Backoff
- E4: Channel.Writer.TryComplete() beim Shutdown
- C2: HubMethodNames-Konstanten statt Magic Strings
- E3: Pagination in Changes-API (page/pageSize Query-Parameter)
- A1: Fire-and-Forget mit try/catch + Logging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:52:26 +01:00

62 lines
3.3 KiB
XML

<local:WizardPageBase x:Class="EngineeringSync.Setup.Views.Pages.InstallPathPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EngineeringSync.Setup.Views.Pages"
Background="White">
<Grid Margin="40,32,40,24">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Installationsverzeichnis"
Style="{StaticResource PageTitleStyle}"/>
<TextBlock Grid.Row="1" Style="{StaticResource PageSubtitleStyle}"
Text="Wählen Sie das Verzeichnis, in dem EngineeringSync installiert werden soll. Der Windows-Dienst und die Tray-App werden dort abgelegt."/>
<!-- Pfad-Auswahl -->
<StackPanel Grid.Row="2" Margin="0,0,0,20">
<TextBlock Text="INSTALLATIONSPFAD" Style="{StaticResource FieldLabelStyle}"/>
<DockPanel>
<Button DockPanel.Dock="Right" Style="{StaticResource IconButtonStyle}"
Margin="6,0,0,0" ToolTip="Verzeichnis auswählen"
Click="Browse_Click">
<TextBlock Text="&#xED25;" FontFamily="Segoe MDL2 Assets"
FontSize="14" Foreground="#0078D4"/>
</Button>
<TextBox x:Name="PathBox"
Style="{StaticResource ModernTextBoxStyle}"
Text="{Binding InstallPath, UpdateSourceTrigger=PropertyChanged}"
Height="36"/>
</DockPanel>
<!-- Speicherplatz-Hinweis -->
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
<TextBlock Text="&#xE8C8;" FontFamily="Segoe MDL2 Assets"
FontSize="11" Foreground="#5F5F5F" Margin="0,0,6,0" VerticalAlignment="Center"/>
<TextBlock Text="Benötigter Speicherplatz: ca. 45 MB"
FontFamily="Segoe UI" FontSize="11" Foreground="#5F5F5F"/>
</StackPanel>
</StackPanel>
<!-- Info-Karte -->
<Border Grid.Row="3" Style="{StaticResource InfoCardStyle}" VerticalAlignment="Top">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,8">
<TextBlock Text="&#xE946;" FontFamily="Segoe MDL2 Assets"
FontSize="14" Foreground="#0078D4" Margin="0,0,8,0"/>
<TextBlock Text="Folgende Komponenten werden installiert:"
FontFamily="Segoe UI" FontSize="12" FontWeight="SemiBold"
Foreground="#1A1A1A"/>
</StackPanel>
<local:InstallItem Text="EngineeringSync.Service.exe (Windows-Dienst)"/>
<local:InstallItem Text="EngineeringSync.TrayApp.exe (Tray-Anwendung)"/>
<local:InstallItem Text="engineeringsync.db (Datenbank)"/>
<local:InstallItem Text="appsettings.json (Konfiguration)"/>
</StackPanel>
</Border>
</Grid>
</local:WizardPageBase>