Skip to content

Pop out window for the web editor #1651

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

Open
aahdee opened this issue Oct 23, 2020 · 7 comments
Open

Pop out window for the web editor #1651

aahdee opened this issue Oct 23, 2020 · 7 comments

Comments

@aahdee
Copy link

aahdee commented Oct 23, 2020

Nature of issue?

  • New feature request

New feature details:

Sometimes one would like to create sketches that are large in size. But if one does so, in order to see the entire sketch one must squish their code to the left and essentially make it unreadable. Could there be an option to open the sketch in a pop up window so that you can view your code and sketch at the same time?

@welcome
Copy link

welcome bot commented Oct 23, 2020

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@catarak
Copy link
Member

catarak commented Oct 26, 2020

Thanks for the suggestion! I think this is a great idea. The infrastructure that would take to build this is super related to #1337, which is about adding a collaborative live coding mode. I think to make this happen the sketches would need to update with CRDT's and we'd need to add web sockets.

@vulongphan
Copy link
Contributor

Hi @catarak, I would like to work on this issue. I really think that this is an important feature to be implemented since the same feature is very useful in desktop app Processing.

At the first glance, I believe an intuitive approach would be to figure out how to create a pop-up window and then how to sync the sketch in the preview section with the sketch in the pop-up window. How do you think about this approach and could you also provide some materials that would assist me in building this feature?

Thank you!

@catarak
Copy link
Member

catarak commented Nov 24, 2020

I agree that this would be a great feature to have! Before it can happen, I think some infrastructure needs to happen first, specifically, moving sketch updates to use CRDT's (see some of the discussion in #1337).

@vulongphan
Copy link
Contributor

I figure in order to change how the sketches are saved and to apply CRDT I need to spend more time researching and to have a better understanding of the codebase. In the meantime, anyone can freely work on this issue!

@catarak
Copy link
Member

catarak commented Feb 12, 2021

I'm working on #166 which also is a stepping stone to making this issue happen!

@jgrizou
Copy link

jgrizou commented Mar 17, 2021

I developed a small webapp, called p5live, that should help evaluate what having a pop up window feels like, see #1817

Or read more at https://twitter.com/jgrizou/status/1371882296375132162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants