How dkj121/sastcsharpfriendpart works
This is a WinUI 3 desktop starter for animal-friend profiles, currently limited to a welcome screen, local friend-data viewing/editing, navigation, and appearance/help settings. The principal flow opens the desktop window, navigates to the friend page, loads friend records from the app-local JSON data, and lets users save edits. The README describes chat and personal-profile screens, local/remote synchronization, and voice chat as requested future work, not implemented capabilities. Relationships below follow source excerpts or README statements; unsampled view markup and app startup wiring limit further detail.
Main entry points: NavigationService.cs Navigation service · MainWindow.xaml.cs Main window · WelcomePage.xaml.cs Welcome page · FriendViewModel.cs Friend editing
Components 21
Desktop shell
- Main window
SASTCSharpFriendPart.UI/Views/MainWindow.xaml.cs - Window navigation
SASTCSharpFriendPart.UI/ViewModels/MainWindowViewModel.cs - Navigation service
SASTCSharpFriendPart.UI/Services/NavigationService.cs - Welcome page
SASTCSharpFriendPart.UI/Views/WelcomePage.xaml.cs - Welcome state
SASTCSharpFriendPart.UI/ViewModels/WelcomeViewModel.cs
Friend profiles
- Friend page
SASTCSharpFriendPart.UI/Views/FriendPage.xaml.cs - Friend editing
SASTCSharpFriendPart.UI/ViewModels/FriendViewModel.cs - Local friend JSON
SASTCSharpFriendPart.Core/Data/data.json - Chat interface
SASTCSharpFriendPart.UI/Views - Personal profile
SASTCSharpFriendPart.UI/Views
Preferences and help
- Settings page
SASTCSharpFriendPart.UI/Views/SettingsPage.xaml.cs - Settings controls
SASTCSharpFriendPart.UI/ViewModels/SettingsViewModel.cs - Theme service
SASTCSharpFriendPart.UI/Services/ThemeService.cs - More-info page
SASTCSharpFriendPart.UI/Views/MoreInfoPage.xaml.cs - Help actions
SASTCSharpFriendPart.UI/ViewModels/MoreInfoViewModel.cs
Domain data
- Friend record
SASTCSharpFriendPart.Core/Models/FriendDto.cs - Chat log model
SASTCSharpFriendPart.Core/Models/ChatLogDto.cs - Session model
SASTCSharpFriendPart.Core/Models/SessionDto.cs
Other components
- Desktop user
- System browser
- Remote service
Connections 24
- Desktop user → Main window: uses
README.md - Main window → Welcome page: opens
SASTCSharpFriendPart.UI/Views/MainWindow.xaml.cs - Main window → Navigation service: sets frame
SASTCSharpFriendPart.UI/Views/MainWindow.xaml.cs - Main window → Window navigation: owns
SASTCSharpFriendPart.UI/Views/MainWindow.xaml.cs - Window navigation → Navigation service: navigates via
SASTCSharpFriendPart.UI/ViewModels/MainWindowViewModel.cs - Welcome page → Welcome state: owns
SASTCSharpFriendPart.UI/Views/WelcomePage.xaml.cs - Welcome page → Navigation service: navigates via
SASTCSharpFriendPart.UI/Views/WelcomePage.xaml.cs - Navigation service → Friend page: navigates
- Friend page → Friend editing: owns
SASTCSharpFriendPart.UI/Views/FriendPage.xaml.cs - Friend editing → Local friend JSON: loads and saves
SASTCSharpFriendPart.UI/ViewModels/FriendViewModel.cs - Friend editing → Friend record: deserializes
SASTCSharpFriendPart.UI/ViewModels/FriendViewModel.cs - Desktop user → Settings page: sets preferences
README.md - Settings page → Settings controls: uses
SASTCSharpFriendPart.UI/Views/SettingsPage.xaml.cs - Settings controls → Theme service: changes theme
SASTCSharpFriendPart.UI/ViewModels/SettingsViewModel.cs - Settings controls → Navigation service: opens help via
SASTCSharpFriendPart.UI/ViewModels/SettingsViewModel.cs - Main window → Theme service: initializes
SASTCSharpFriendPart.UI/Views/MainWindow.xaml.cs - Navigation service → More-info page: navigates
- More-info page → Help actions: owns
SASTCSharpFriendPart.UI/Views/MoreInfoPage.xaml.cs - Help actions → System browser: opens links
SASTCSharpFriendPart.UI/ViewModels/MoreInfoViewModel.cs - Desktop user → Chat interface: requested capability
README.md - Desktop user → Personal profile: requested capability
README.md - Chat interface → Remote service: planned sync
README.md - Chat log model → Chat interface: possible model
- Session model → Remote service: possible model