To clarify, you would only see "your" region if login and on your profile.
If viewing another's profile the field would not populate and be hidden.
reply
Of course, like a self diagnosis tool :)
reply
0 sats \ 1 reply \ @ek 5 Jan
If we do something like this (not sure if we will), we need to consider the privacy implications. For example, we intend to never store IP addresses.
So something like this will probably need to run purely in the client since even displaying an IP address location touches IP addresses on the server more than we'd like to. At least that would be my educated guess.
reply
I see two ways here:
  1. We SSR the IP into the page (not sure if this route is SSR'd but guess we'll see). Depends if people wanting to check their IP are using JS or not. Does SN require JS?
  2. We just do a simple fetch from the client on page load to a next API endpoint that just echoes the connecting IP
reply