microsoft/vscode

Investigate detecting slow network connections

bpasero opened this issue · 3 comments

  • consider to track response times between client and server
  • consider to show an affordance to the user when we detect slow network connection

What we have today for indicate connection state

Remote Indicator:

image

image

image

image

Status Bar (web only):

image

Ideas for slow connection indicator

image

image

image

Feedback from standup:

  • the threshold should be more clever
    • take the base latency into account, a user might have a slow network connection
    • take an upper maximum as a hardcoded value still
  • the latency should be in the issue reporter as data for us to see
  • latency information should go into the hover
  • it should work even with a custom indicator (Codespaces)
  • offline indication should move into indicator
  • color change only when latency is severe
  • remote icon change as subtle indicator?

UX Call feedback:

  • could we use something similar as the language status indicator
  • should not be too annoying when the modes change
  • red color suggests I can do something about it but what to do when latency is high?