rust-lang / rust-lang/docs.rs

/crate page design is confusing and inconsistent

Open
#1,077 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-frontend C-enhancement
Dominant language
Rust
Stars
1.2k
Forks
232
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Steps to reproduce:

  1. Visit a crate page, like https://docs.rs/ureq/1.5.1/ureq/.
  2. Hover over the second item in the top bar, that has the crate name and version ("ureq-1.5.1").
  3. A menu pops up on hover.
  4. Click the second item in the top bar ("ureq-1.5.1").

Expected result:

Menu goes away.

Actual result:

Page navigates to a different page, https://docs.rs/crate/ureq/1.5.1.

Note that this problem is worse on touchscreen-based devices, since the user has to tap to open the menu in the first place, so they would reasonably expect that tapping in the same place would make the menu go away again.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the interaction on the crate page at https://docs.rs/ureq/1.5.1/ureq/, using both pointer hover/click and touchscreen-style taps on the “ureq-1.5.1” top-bar item. Trace the page and menu entry points involved; done means activating that item dismisses the menu rather than unexpectedly navigating to the crate page.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
accessibility, design, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.