commit | 353b809c4a84f3dcd5fe0c76606d73c1e9a3a72e | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Fri Sep 03 11:48:10 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Fri Sep 03 17:11:15 2021 +0000 |
tree | e282e31e21e8acab2b1b18178633a14af5abe803 | |
parent | ebb80518b77fc400d8a858e22c02aa32192924fd [diff] |
internal/frontend: keep user in current search mode When a user is on the search page, keep them in the tab that they are currently looking at, except for keyboard shortcuts. This is based on whether m=<mode> is set to package or symbol. A separate CL will fix this in the search form. For golang/go#44142 Change-Id: I2c0e956d77d75a85064f7851a3e0866ef458ef44 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347302 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.