x/pkgsite: [beta] module pages have extra links in ... menu #42298
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (X11; CrOS x86_64 13421.53.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.77 Safari/537.36
This bug only appears on the mobile site. I've clicked the little 'mobile mode' button in the dev tools for these screenshots. I first noticed this issue on Chrome for Android.
Upon scrolling, we get a "..." menu that contains links like "Imports".
Later, I navigated to another page and wanted to access "Imports", but I'm presented with this:
Where is "Imports"? Maybe in the hamburger menu in the upper right (same location as the ... after scroll)?
What did you expect to see?
This had me a bit confused for a while about how to get to "Imports". I actually ended up scrolling down just so I could access the ... menu.
Later I realized that this is a module and thus can't have imports. If this was a packages, the imports would appear at the top with the version/license.
For consistency, I think that either the ... menu should exclude "Imports" and "Imported By" on module pages, or module pages should include "Imports" and "Imported By" links next to version/license. i.e., these items should either be included in both locations or excluded in both locations.
The text was updated successfully, but these errors were encountered: