Skip to content

Tags are not displayed when navigating from Crate -> Tag -> Same Crate #10711

@grind086

Description

@grind086

Current Behavior

If you click a tag on a crate on crates.io it brings you to a list of crates with that tag. If you then navigate back to the same crate that brought you to the list, its tags are no longer displayed.

Expected Behavior

The list of tags should be repopulated.

Steps To Reproduce

Using the back button:

  1. Open https://crates.io/crates/trunk
  2. Click on "#build-tool" (opens https://crates.io/keywords/build-tool)
  3. Click "back" on your browser
  4. The crate's tag list is now blank

Navigating via crates:

  1. Open https://crates.io/crates/trunk
  2. Click on "#build-tool" (opens https://crates.io/keywords/build-tool)
  3. Click on "trunk" at the top of the list of crates (returns to https://crates.io/crates/trunk)
  4. The crate's tag list is now blank.

This happens even if you navigate through multiple pages of results to find the original crate (ex - trunk is on page 3 of "#compilers").

Environment

  • Browser: Firefox 135, Edge 133
  • OS: Windows 11

  • Browser: Firefox 135
  • OS: Android 13

Anything else?

Image
Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions