-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: consolidate keyboard shortcut behavior across site #40246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In most popular websites (reddit, github etc...) typing "?" would bring up a dialog to list available keyboard shortcuts, would this be something we can consider? |
@AceroM That exists right now at least on the Doc tab. It seems to make sense to have it on other pages, but that’s not really what this issue is about. |
Apologies @AceroM as I didn’t exactly clarify what this issue was about 😄 . This issue is about coming up with a solid architecture design on the frontend for handling keyboard shortcuts in code. It’s not focused on visual design or UI elements on the page. |
Change https://golang.org/cl/276233 mentions this issue: |
Change https://golang.org/cl/346429 mentions this issue: |
Change https://golang.org/cl/346437 mentions this issue: |
For golang/go#40246 Change-Id: Icd7b31b1b23e4f19495f2feee8672426e57db597 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/346437 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
There are few places where we handle keyboard shortcuts on the site, and these should be consolidated into a sensible design to more easily avoid conflicts and code duplication.
The text was updated successfully, but these errors were encountered: