P5.js-web-editor: Direct Integration with GitHub

Created on 14 Mar 2021  路  4Comments  路  Source: processing/p5.js-web-editor

There should be a way of committing and pushing your files directly from the editor, to GitHub. You would be able to either work with the a cloned repo, or login to your account, and from there access your repositories and stuff. To do so:

  • [ ] Integrate "GitHub' area to the layout of the page (HTML and CSS)
  • [ ] Work with the GitHub API to actually make the commits and stuff work

The area could be located somewhere over here:

image

duplicate

Most helpful comment

Hi @byfelipesanchez! this looks like a feature request for the online editor, which is housed in https://github.com/processing/p5.js-web-editor. I'm going to transfer your issue there so the right folks see it! :)

EDIT: actually i don't have the right permissions to. @catarak can you do the honors, please?

All 4 comments

Hi @byfelipesanchez! this looks like a feature request for the online editor, which is housed in https://github.com/processing/p5.js-web-editor. I'm going to transfer your issue there so the right folks see it! :)

EDIT: actually i don't have the right permissions to. @catarak can you do the honors, please?

@catarak @byfelipesanchez I went through some of the online IDEs. The most simple and useful one, which is being used by stackblitz, is to have a commit button, fork button & branches window above the file explorer window which also consists of a pull/refresh button. But stackblitz being an IDE almost support all kind of folder structure so the cloning of a repo direct to the IDE. But for our editor, we can have a button to add the entry point of the project. This will avoid any kind of unnecessary errors.

@catarak @byfelipesanchez I went through some of the online IDEs. The most simple and useful one, which is being used by stackblitz, is to have a commit button, fork button & branches window above the file explorer window which also consists of a pull/refresh button. But stackblitz being an IDE almost support all kind of folder structure so the cloning of a repo direct to the IDE. But for our editor, we can have a button to add the entry point of the project. This will avoid any kind of unnecessary errors.

Exactly. I mean, a commit button might be possible right? But even if not, a simple indicator about which branch you are in or something like that is already rly good.

Thanks for opening this issue! This is actually captured as #753 so I'm going to close this issue as a duplicate. But I agree this would be very useful!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hellonearthis picture hellonearthis  路  4Comments

aferriss picture aferriss  路  5Comments

kylemcdonald picture kylemcdonald  路  5Comments

zeyaoli picture zeyaoli  路  4Comments

aferriss picture aferriss  路  4Comments