Add photo detail page.

This commit is contained in:
2025-11-15 22:45:55 +00:00
parent edc8d33bb2
commit 195b23f755
7 changed files with 1076 additions and 10 deletions

View File

@@ -171,6 +171,18 @@ public partial class MachineViewViewModel : ObservableObject
await _navigator.GoBack(this);
}
[RelayCommand]
public async Task ViewPhotoDetails(Guid photoId)
{
var navParam = new PhotoDetailNavigationParameter
{
PhotoId = photoId
};
_logger.LogInformation("Navigating to photo details for {PhotoId}", photoId);
await _navigator.NavigateViewModelAsync<PhotoDetailViewModel>(this, data: navParam);
}
/// <summary>
/// Sets the navigation source (where we came from).
/// </summary>