dotnet/aspnetcore

[Blazor] Improve Blazor Server reconnect UI

MackinnonBuck opened this issue · 0 comments

There are some UX enhancements that we should consider making to the default Blazor Server reconnection dialog:

  • Display how many seconds are remaining until the next reconnection attempt
    • This could either replace the "attempts remaining" status or coexist with it
  • Quickly attempt the initial reconnection and use exponential backoff to progressively increase the reconnect interval
  • Allow the user to manually initiate a reconnect rather than wait for the reconnect interval to complete
  • Automatically refresh the page when the max number of reconnection attempts have been reached
    • We may need some kind of "stateful reconnection" mechanism before adding this to avoid preemptively clearing browser-side state
  • Improve general styling

Related: #32113