rust-lang / rust-lang/rust-clippy
"Lint groups" picker has inconsistent nothing-selected behavior.
Open
Nobody has claimed this yet.
A-website
C-bug
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Description
One of the options in the "Lint groups" menu is "None", which deselects everything. But if you have only one group selected and click it, it resets to default.
- This is inconsistent UI; either
- nothing-selected should be permitted however you reach it, or
- the "None" option should not exist.
- This is inconvenient and unpleasantly surprising when my goal is to view one group at a time, and the obvious thing to do is to uncheck the selected group and then check the next one in the list.
Additional Labels
@rustbot label +A-website +C-bug
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
Start by reproducing the "Lint groups" picker behavior with one group selected, then click that group and compare it with choosing "None". Done means the picker handles reaching a no-selection state consistently, or the "None" option is removed; the issue does not name a file or test to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100