opensafely-core / opensafely-core/opencodelists
Add expand all button to tree view
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 60
- Forks
- 16
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 17
Description
When building or viewing a codelist via the tree view, I often want to expand all of the codes in the tree. This currently requires clicking through all of the expand buttons. It would be nice to have an "Expand all" button that expands all codes in the tree. It may also be useful to allow expansion of all codes within each of the top level concepts.
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 at the tree view entry point and inspect how the existing expand buttons work. Add an "Expand all" control whose behavior covers all codes, and consider the suggested expansion within each top-level concept; done means the tree can be expanded without clicking every individual control.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100