dragon-iso/src/TeamsISO.App/ViewModels
Zac Gaetano 1d5d055b68
Some checks failed
CI / build-and-test (push) Failing after 29s
Right-click → Save current frame: snapshot ProcessedFrame as PNG
New context-menu action grabs the latest ProcessedFrame from IIsoController.GetLatestProcessedFrame and encodes it as a PNG under %USERPROFILE%\\Pictures\\TeamsISO\\. Filename includes participant display name + timestamp so back-to-back snapshots don't collide.

Encoding path: WriteableBitmap(Bgra32) wraps the frame's pixel buffer verbatim (engine output is already top-down BGRA32), PngBitmapEncoder writes it. No re-encoding losses. Toast tells the operator where the file landed.

Best-effort: if no frame is available yet (just-spun-up pipeline), warns rather than throws. Useful for highlight reels, social posts, attaching to bug reports.

ParticipantViewModel gained an optional ToastViewModel constructor parameter so snapshot feedback surfaces in the existing toast. Wiring updated at the one call site in MainViewModel.
2026-05-10 21:08:40 -04:00
..
AlertBannerViewModel.cs feat(ui): add MVVM helpers and per-component view models (Participant, GlobalSettings, AlertBanner) 2026-05-07 15:39:46 +00:00
GlobalSettingsViewModel.cs Onboarding step + Open /ui button + recording duration in footer 2026-05-10 21:05:30 -04:00
MainViewModel.cs Right-click → Save current frame: snapshot ProcessedFrame as PNG 2026-05-10 21:08:40 -04:00
ObservableObject.cs feat(ui): add MVVM helpers and per-component view models (Participant, GlobalSettings, AlertBanner) 2026-05-07 15:39:46 +00:00
ParticipantViewModel.cs Right-click → Save current frame: snapshot ProcessedFrame as PNG 2026-05-10 21:08:40 -04:00
RelayCommand.cs feat(ui): add MVVM helpers and per-component view models (Participant, GlobalSettings, AlertBanner) 2026-05-07 15:39:46 +00:00
ToastViewModel.cs Add manual X close to toast notification 2026-05-10 14:05:28 -04:00
UpdateBannerViewModel.cs chore: sweep orphaned files (UpdateChecker, UpdateBanner, TeamsControlBridge, helper scripts) 2026-05-10 09:42:29 -04:00