Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,18 @@ export class Remote {
derp_latency: { [key: string]: number }
upload_bytes_sec: number
download_bytes_sec: number
using_coder_connect: boolean
}) => {
let statusText = "$(globe) "

// Coder Connect doesn't populate any other stats
if (network.using_coder_connect) {
networkStatus.text = statusText + "Coder Connect "
networkStatus.tooltip = "You're connected using Coder Connect."
networkStatus.show()
return
}

if (network.p2p) {
statusText += "Direct "
networkStatus.tooltip = "You're connected peer-to-peer ✨."
Expand Down