rust-lang / rust-lang/rust

Improve UI/UX for trait implementors async loading

Open
#149,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-rustdoc-ui T-rustdoc T-rustdoc-frontend
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

In https://github.com/rust-lang/rust/pull/142380, we made changes that made negative trait implementors to be listed first, which means that async implementors can appear while the user is looking at this list, making the UX not great. To solve this, we decided to hide all implementors and only make them appear once the async loading is done, which also can be surprising.

So this issue mostly serves as a place where to debate how we could do this better.

cc @rust-lang/rustdoc-frontend

Contributor guide

Open the contributing guide

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 reading rust-lang/rust pull request 142380 and the rustdoc-frontend context mentioned in the issue to understand how negative and async implementors are currently displayed. The issue is primarily a discussion of better loading UX, so a concrete solution and definition of done still need to be established.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.