deathbeds / jupyterlab-deck

Lightweight presentations for JupyterLab
https://jupyterlab-deck.rtfd.io
BSD 3-Clause "New" or "Revised" License
39 stars 9 forks source link

Slide and subslide behavior #43

Open jangenoe opened 1 year ago

jangenoe commented 1 year ago

This is a great extension. I would love to use it while teaching. But at present, moving through the slides does not yet exactly behave as expected.

Description

In "Deck mode", right and down arrow keys (and the corresponding clicks on the navigator) seem to have the same behavior. Both go to the next cell. Correspondingly, the left and up arrow keys go the the previous cell.

Expected behavior

My gut feeling is to expect a behavior as the default Navigation Mode behavior in reveal.js Navigation Mode

Moreover, starting from a cell tagged skip (especially when it is the first slide)

"slideshow": {
        "slide_type": "skip"
    }

makes it difficult to proceed.

bollwyvl commented 1 year ago

Unlikely to make this the default behavior, as the muscle memory from the lab cell-based navigation is pretty important when building decks.

As part of e.g. #9, it might be possible to add some more navigation modes, though the state machine described sounds rather fiddly, so might not even be something supported directly on this repo here, but could be added as an extension.