pkgsite/internal/frontend
Kush Patel 6440758d8a content/static,internal/frontend,internal/middleware: add 'y' keyboard shortcut to canonicalise URL with version
The address bar URL will be updated to be the canonical url of package.
Canonical url includes the module version in address bar.

Fixes golang/go#36807

Change-Id: I4a6f9737ff7e112ebf1d093b2eebe2af311fb0c6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/239179
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
2020-08-20 19:08:49 +00:00
..
badge.go content,internal: add badge generation for package authors 2020-07-14 18:56:54 +00:00
badge_test.go content,internal: fix markdown badge snippet 2020-07-14 20:51:22 +00:00
completion.go all: rename module to golang.org/x/pkgsite 2020-04-23 16:18:43 +00:00
completion_test.go all: rename module to golang.org/x/pkgsite 2020-04-23 16:18:43 +00:00
debug.go internal/frontend: ignore debug code 2020-07-07 19:52:44 +00:00
debug_test.go internal/frontend: ignore debug code 2020-07-07 19:52:44 +00:00
details.go content/static,internal/frontend,internal/middleware: add 'y' keyboard shortcut to canonicalise URL with version 2020-08-20 19:08:49 +00:00
details_test.go internal/frontend: add serveDetailsPage 2020-07-09 15:31:03 +00:00
directory.go content/static,internal/frontend,internal/middleware: add 'y' keyboard shortcut to canonicalise URL with version 2020-08-20 19:08:49 +00:00
directory_test.go internal: add function to return path suffix 2020-07-28 14:19:34 +00:00
doc.go internal/frontend: update legacy and new terminology 2020-07-10 15:39:11 +00:00
doc_test.go internal: use safehtml for doc fields 2020-07-07 17:15:34 +00:00
fetch.go internal/frontend: limit number of paths allowed by frontend fetch 2020-08-13 19:49:20 +00:00
fetch_test.go internal/frontend: limit number of paths allowed by frontend fetch 2020-08-13 19:49:20 +00:00
header.go content/static,internal/frontend: add more granular page types 2020-07-30 19:32:45 +00:00
header_test.go internal/frontend: add internal.PackageMeta 2020-07-09 21:33:28 +00:00
imports.go internal/frontend: add serveDirectoryPage 2020-07-10 17:31:15 +00:00
imports_test.go internal: rename ModuleInfo to LegacyModuleInfo 2020-06-09 21:15:16 +00:00
latest_version.go content/static,internal/frontend: add more granular page types 2020-07-30 19:32:45 +00:00
license.go internal/frontend: replace \r\n with \n in readmes and licences 2020-07-20 20:25:16 +00:00
license_test.go internal/frontend: replace \r\n with \n in readmes and licences 2020-07-20 20:25:16 +00:00
module.go content/static,internal/frontend,internal/middleware: add 'y' keyboard shortcut to canonicalise URL with version 2020-08-20 19:08:49 +00:00
overview.go internal/frontend: rewrite fetchPackageOverviewDetails to use constructOverviewDetails 2020-08-07 11:33:32 +00:00
overview_test.go internal/frontend: remove HTML-walking feature flag 2020-07-23 11:05:39 +00:00
package.go content/static,internal/frontend,internal/middleware: add 'y' keyboard shortcut to canonicalise URL with version 2020-08-20 19:08:49 +00:00
package_test.go internal/frontend: get a DataSource on each request 2020-07-28 13:14:05 +00:00
paginate.go all: rename module to golang.org/x/pkgsite 2020-04-23 16:18:43 +00:00
paginate_test.go internal/frontend: document and clarify pagination 2020-03-27 16:46:42 -04:00
playground.go internal/frontend: add metrics for playground share requests 2020-08-03 13:27:26 +00:00
playground_test.go internal/frontend: add integration test for playground example 2020-07-29 19:36:54 +00:00
search.go internal/frontend: get a DataSource on each request 2020-07-28 13:14:05 +00:00
search_test.go internal: delete insert-directories experiment 2020-07-07 21:06:13 +00:00
section.go internal/frontend: recognize "golang.org" prefix 2020-03-27 16:46:42 -04:00
section_test.go internal/frontend: recognize "golang.org" prefix 2020-03-27 16:46:42 -04:00
server.go internal/middleware: update cache to check AuthHeader and AcceptedAuthValues 2020-08-04 18:59:37 +00:00
server_test.go internal/frontend: return bad request errors 2020-08-07 14:40:16 +00:00
stdlib_test.go all: rename module to golang.org/x/pkgsite 2020-04-23 16:18:43 +00:00
tabs.go internal/frontend: add fetchVersionsDetails and fetchModuleVersionsDetails 2020-07-23 16:44:53 +00:00
versions.go internal: add function to return path suffix 2020-07-28 14:19:34 +00:00
versions_test.go internal/postgres: sort version lists to prefer non-incompatible modules 2020-08-19 14:14:33 +00:00