-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add collapse
and expand
methods to AccordionPanel
#321
Conversation
Would you mind writing a little bit more about why this is a good feature to have, and what it enables? It is hard to quickly parse that from the Lab PR (it has a diff of +2,238 −2,776 lines). Also, I see this was added to the Lumino 2 milestone, but I do not think this is backwards incompatible? |
Done
Indeed this is compatible with the current version extending the API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@meeseeksdev please backport to 1.x |
…ccordionPanel`
…on-1.x Backport PR #321 on branch 1.x (Add `collapse` and `expand` methods to `AccordionPanel`)
Reference
Required for jupyterlab/jupyterlab#12866
Code Changes
Add API to programmatically expand or collapse a
AccordionPanel
widget. Before only user by clicking on the title could do that.It is required for the extensions manager so we can show or hide the warning about installing third-party extensions depending on a settings parameter.