Conversation
djangoliv
commented
Apr 21, 2026
Collaborator
- Add / update the documentation
3dba5c8 to
23c2f9f
Compare
When the local user UID (e.g. 1000) matches the UID of jovyan inside the repo2docker image, useradd exits with code 4 and set -e kills the container. The -o flag allows creating a user with a duplicate UID.
- Show a full-screen iframe on /hub/home when a server is active, with a floating Stop button that calls the JupyterHub API - Show a "Start My Server" button when no server is running - Inject ?next=/hub/home into all spawn flows so the user always returns to /hub/home after starting or stopping a server - Patch SpawnHandler to redirect to /hub/home when no next param - Override window.location.reload() in spawn.html so tljh_repo2docker's image table triggers spawn-pending with ?next=/hub/home - Set Content-Security-Policy frame-ancestors to allow iframe embedding
- Show a loading overlay with a spinner while the iframe initializes - After 15s with no response, display 'Server not responding' with a Reload button - Reload button resets the overlay and restarts the timer - onload clears the timer and hides the overlay
Override window.open et supprime les attributs target="_blank" des liens dans l'iframe pour que RStudio (et les apps similaires) ouvre les pages dans l'iframe plutôt qu'un nouvel onglet.
A thin tab on the right edge expands on click to reveal two stacked buttons: - Stop: stops the server via the JupyterHub API - Home: resets the iframe to the JupyterLab home page The panel closes automatically after an action and animates with a CSS transition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.