Skip to content

Conversation

@jtpio
Copy link
Member

@jtpio jtpio commented Feb 4, 2025

References

Fixes #1572.

Leaving #503 for another PR for now, as this could be implemented separately.

Code changes

  • Expose more REPL options so they can be controlled via query string parameters.
  • Add documentation

User-facing changes

Users can tweak more options of their embedded REPL via a single URL directly, without having to do a full deploy with a custom overrides.json.

Example with https://jupyterlite--1573.org.readthedocs.build/en/1573/_static/repl/index.html?toolbar=1&kernel=python&promptCellPosition=left&clearCellsOnExecute=1&hideCodeInput=1&clearCodeContentOnExecute=0

image

Handling of the showBanner option may not yet work as expected due to the current handling of the kernel banner: jupyterlab/jupyterlab#17322

Backwards-incompatible changes

None

@jtpio jtpio added this to the 0.6.0 milestone Feb 4, 2025
@jtpio jtpio added the enhancement New feature or request label Feb 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2025

lite-badge 👈 Try it on ReadTheDocs

@jtpio jtpio force-pushed the expose-new-console-options branch from ab08f51 to 092b398 Compare February 20, 2025 15:43
@jtpio jtpio marked this pull request as ready for review February 21, 2025 13:06
@jtpio
Copy link
Member Author

jtpio commented Feb 21, 2025

Merging in its current state so we can iterate on it more easily.

@jtpio jtpio merged commit d4816b2 into jupyterlite:main Feb 21, 2025
21 checks passed
@jtpio jtpio deleted the expose-new-console-options branch February 21, 2025 13:36
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

Successfully merging this pull request may close these issues.

Expose and document more REPL options

1 participant