RedHatQE / RedHatQE/widgetastic.core
Support fill by value for downdowns
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
In the old framework we had the ability to fill a Select/Downdown by Value as well as by Text. In WT we can currently only fill by Text. The consequence is that some dropdowns are set up in such a way that they are showing a name and then another name in brackets, like name (name), or something similar. To get around this, the team has implemented a partial match, but the problem with this is that if another entry is there with the same name or beginning with the same name, then it could do an erroneous match. I propose that we introduce a by-value/by-text system so that we can setup a widget to be by-text by default and then allow the user to fill it with by-value to override, and of course the opposite is also true. This isn't hitting us yet, but I believe it will do sooner or later.
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 by locating the Select/Dropdown widget and its current text-based fill behavior. Review how widget defaults and fill calls are configured, then define coverage for exact value and text matching, including duplicate or shared prefixes. Done means callers can choose by value or text while preserving the configured default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100