Don’t display select action if list has 1 or fewer options
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
[timebox: , difficulty points: ]
As a user, I want at least 2 options in my list because you can’t choose a random option from a 1 or zero option list.
User Expected Outcomes:
- Disable “Select option” action/method
- Display a message that notifies that user that the current list must contain at least 2 options
- Enable the “Select option” action/method when the current list contains at least 2 options
Developer Dependencies:
- list container
- wireframe
Contributor guide
No contributing guide indexed for this repository
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 with the list container and the wireframe to identify where the “Select option” action is displayed and how list size is available. Done means the action is disabled or hidden for lists with zero or one option, a message explains that at least two options are required, and the action works again for lists with two or more options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100