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

Slideshow mode #12022

Open
eeroel opened this issue Feb 8, 2022 · 2 comments
Open

Slideshow mode #12022

eeroel opened this issue Feb 8, 2022 · 2 comments
Labels
enhancement tag:Extension Idea Ideas for interesting extensions that live outside of JupyterLab core.

Comments

@eeroel
Copy link

eeroel commented Feb 8, 2022

Hi,

I was thinking it would be cool to see a simple presentation/slideshow mode in JupyterLab, which at its simplest could be just "one slide = one cell". I found this related issue from a few years ago, but it has been closed: #3139, and I'm aware of RISE, but I think a native mode like this would be useful for situations where you don't need any advanced slideshow features, and you just want to limit what is shown on the screen.

I think the functionality is already 90% there in Retrolab, given Zen Mode and arrow key navigation of cells. I made a prototype with CSS tweaks on top of Retrolab (tested in Firefox and Chrome), which also displays markdown before code cells as headings (screenshots attached): https://gist.github.com/eeroel/ac6b9721e768810e351a71bfb3efded6

Basically it boils down to stretching a cell to 100% height, hiding distracting UI elements and handling "Code cell after markdown" in a special way to allow showing the headings. The drawback of using this trick for headings is that navigation doesn't work exactly like a slideshow: you first see heading + code, then only code, and only then advance to the next "slide", and the heading disappears when you start editing code. But I imagine either this or a simpler version (without headings) would still be useful for giving talks.

Screenshots of the styling example:
markdown

markdown_and_code

@welcome
Copy link

welcome bot commented Feb 8, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Feb 8, 2022
@JasonWeill JasonWeill added tag:Extension Idea Ideas for interesting extensions that live outside of JupyterLab core. and removed status:Needs Triage Applied to new issues that need triage labels Feb 16, 2022
@jtpio
Copy link
Member

jtpio commented Mar 29, 2022

Thanks @eeroel for opening this.

There is ongoing work to port the RISE extension to JupyterLab: damianavila/RISE#605

That way it will also be compatible with RetroLab and the future Notebook v7.

Should we move the discussion there? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement tag:Extension Idea Ideas for interesting extensions that live outside of JupyterLab core.
Projects
None yet
Development

No branches or pull requests

3 participants