swagger-api / swagger-api/swagger-editor
"Collapse all/Expand all" Bug
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 9.5k
- Forks
- 2.4k
- Avg merge
- 17h 15m
- Merged PRs (30d)
- 18
Description
In the editor, the default render for the Kafka example has a problem in the Schemas section. The "Expand all" button does not update to "Collapse all" when the section is expanded. The opposite is also true. Closing everything by clicking the arrow does not change the "Collapse all" back to "Expand all".
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 in the editor's default Kafka example and inspect the Schemas section's Expand all/Collapse all control and the individual section arrow behavior. Reproduce both expansion paths, then verify the button label stays synchronized with whether all schemas are open or closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100