Tool for GitHub commits in browser #2407
Unanswered
rlanzafame
asked this question in
Ideas
Replies: 2 comments 5 replies
-
|
Tooling wise, I posited that we'd do this using an a renderer extension that we thought about -- with an .mjs renderer in the browser. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Some relevant thoughts in another discussion 🙏. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Short version: in order to make it as easy as possible for (new) book users to edit content and learn to use the JB2/MyST platform, we need a tool (button) that allows a user to authenticate with GitHub and "edits" to book source code (
*.mdand*.ipynb) are committed to a repo.User story
User wants to contribute to a book repo. Perhaps they are participating in a training to learn about MyST; perhaps they are a teacher that only wants to edit the content on a single page for their course (e.g., fix an equation). It is not possible or not desired to install MyST on their computer. Luckily the user is able to fire up a browser-based text editor to contribute: Binder Hub hosted JupyterLab with the MyST extension (this will be described in another discussion/issue; ideally this would be possible on a Jupyter Hub, Binder Hub and even JupyterLite).
User accesses the editing environment by clicking on a URL in the source repo, or perhaps even from the book itself (ideally a "edit this page" button would fire up the JupyterLab instance and open the source file directly, ready for editing, but that may be out of scope for this tool).
After making edits to the source files, user is able to commit the change to the source repo. This would involve:
Additional info
It seems like this would be a Jupyter Lab extension.
If this works on JupyterLab could it also work in JupyterLite?
The TeachBooks tool described in WYSIWYG #2404 includes such a button; that may give ideas for the UI.
Pitched during JupyterCon sprint. @fperez @JimMadge. Could also be used in @ryanlovett's JHub proxy. Will define a user story soon to connect these ideas.
Beta Was this translation helpful? Give feedback.
All reactions