Skip to content
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

Interact with the current Deck, Slide from a kernel #42

Open
bollwyvl opened this issue Dec 31, 2022 · 0 comments
Open

Interact with the current Deck, Slide from a kernel #42

bollwyvl opened this issue Dec 31, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@bollwyvl
Copy link
Contributor

Elevator Pitch

Allow for kernels to be notified when data related to a deck changes, such as its current active index, possible indices, scroll position, etc.

Motivation

This would allow for interesting

Design Ideas

  • Add jupyterlab_deck.widgets.Deck, a subclass of ipywidgets.Widget
    • add an (optional) depdendency on ipywidgets and/or ipylab
    • expose most of the current state of the current deck in a bidirectional manner
  • on the typescript side
    • hook into the DeckManager

This will be complicated by RTC, which still doesn't have a good story for widget state

@bollwyvl bollwyvl added the enhancement New feature or request label Dec 31, 2022
@bollwyvl bollwyvl added this to the The Future milestone Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant