Hello,
I am most often looking at Playground code via an Android phone while helping folks learn Go in the Slack workspace. In this workflow I tend to click links shared in Slack, which open up in a Google Chrome-powered web view. After the migration from play.golang.org to go.dev/play, I'm now recognizing some regressions in the user experience on mobile devices that's making it much harder for me to read code when folks are looking for help.
Attached to the bottom of this issue is a screenshot from my phone. Unfortunately, I can't figure out how to load the old UI to do side-by-side comparisons. So, hopefully the screenshot of the current Playground is sufficient.
Here are the immediate things that jumped out at me.
- The line number UI elements are visually broken. You can't see the whole number, and I think it's rendering most of them with scrollbars at the bottom?
- The line numbers are much larger than before. That may be causing the above problem, and I wonder if we could have them take up less space.
- The code text seems larger than before, which may also contribute to item 2, meaning I cannot see as much code on screen at once.
I seem to remember the old Playground having smaller text by default, which allowed me to zoom in if I needed to see something more closely. With the new Playground I'm more frequently scrolling left and right to read shared code which can make it much harder to grok what you're trying to read unfamiliar code.

Hello,
I am most often looking at Playground code via an Android phone while helping folks learn Go in the Slack workspace. In this workflow I tend to click links shared in Slack, which open up in a Google Chrome-powered web view. After the migration from
play.golang.orgtogo.dev/play, I'm now recognizing some regressions in the user experience on mobile devices that's making it much harder for me to read code when folks are looking for help.Attached to the bottom of this issue is a screenshot from my phone. Unfortunately, I can't figure out how to load the old UI to do side-by-side comparisons. So, hopefully the screenshot of the current Playground is sufficient.
Here are the immediate things that jumped out at me.
I seem to remember the old Playground having smaller text by default, which allowed me to zoom in if I needed to see something more closely. With the new Playground I'm more frequently scrolling left and right to read shared code which can make it much harder to grok what you're trying to read unfamiliar code.