rust-lang / rust-lang/reference
support collapsing rule identifiers even on large screens
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 607
- PR merge metrics
- PR metrics pending
Description
We currently always show rule identifiers on wide screens while only showing [*] on small ones.
When reading through the reference, having additional text on the screen can be distracting (and is to me), it would be very pleasant if there was a way to hide this text or maybe even hide it by default and only show it on hover.
I tend to read a line/section, continue at the start of the next line but start too far to left at the start of the rule identifier, realize it's not useful when reading the reference, and skip over it. This is fairly strenuous.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating how the Rust Reference renders rule identifiers and applies responsive styling, then verify a way to collapse or hide identifiers on wide screens while preserving useful reference navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100