docs icon indicating copy to clipboard operation
docs copied to clipboard

allow quickly editing docs pages with keyboard shortcut: `.`

Open josefaidt opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Similar to how the keyboard shortcut for . works in GitHub, apply similar functionality to docs pages to enable quickly editing the page

image

Describe the solution you'd like A clear and concise description of what you want to happen.

  • . uses the same functionality as "edit"
  • (optional bonus) . uses similar functionality to "edit" but opens github.dev instead

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

n/a

Additional context Add any other context or screenshots about the feature request here.

josefaidt avatar Oct 05 '22 13:10 josefaidt

I'd love something even more advanced like https://stackblitz.com/codeflow—see the changes you're making right there as you make them!

But there're a few issues to discuss:

  • How likely are people to understand that they can press "." on a site to get to an editor? Is this likely to confuse them?
  • The pages are majorly transcluded by platform in most places. Do we need to focus on bringing back "a single page editing experience"?
  • Why don't we make the edit buttons link to github.dev anyway?

nearestnabors avatar Oct 12 '22 06:10 nearestnabors