Report startup progress through IUiDispatcher #185

Closed
opened 2026-10-26 17:56:35 -05:00 by ethan-hann · 1 comment
Owner

src/Savepoint.App/Features/Shell/StartupViewModel.cs, UiProgress, captures SynchronizationContext.Current to bring progress to the UI thread. .agents/coding-standards/app-mvvm-view-models.md says a view model reaches the UI thread through IUiDispatcher, which tests replace with ImmediateUiDispatcher. Pass the dispatcher into UiProgress instead.

`src/Savepoint.App/Features/Shell/StartupViewModel.cs`, `UiProgress`, captures `SynchronizationContext.Current` to bring progress to the UI thread. `.agents/coding-standards/app-mvvm-view-models.md` says a view model reaches the UI thread through `IUiDispatcher`, which tests replace with `ImmediateUiDispatcher`. Pass the dispatcher into `UiProgress` instead.
ethan-hann added this to the Code Cleanup milestone 2026-10-26 17:56:35 -05:00
Author
Owner

Shipped in 0.9.17 (PR 227).

Shipped in [0.9.17](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.17) (PR 227).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#185
No description provided.