Skip to content
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

The Leo-Integ Extension Should Be Able To Run On The In-Browser Version Of VSC #281

Open
tbpassin opened this issue Dec 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tbpassin
Copy link

There is a version of VSC that runs in a browser. I think it would be a good thing if leo-integ could work in it.

VSC for the browser apparently needs extensions that run code to follow certain rules about browser sandboxes. See Visual Studio Code for the Web. From the link:

"Extensions that are running code need to be updated to support running in the browser sandbox. You can read more about what is involved to support extensions in the browser in the web extension authors guide"

I don't know if leo-integ can be adapted for this since it needs to communicate with a Leo instance via a server, but if not, then presumably Leojs would be able to.

@boltex boltex self-assigned this Dec 27, 2022
@boltex
Copy link
Owner

boltex commented Dec 27, 2022

@tbpassin Thanks for creating this issue! I'm going to use it to track progress / planning for this particular feature.

I'm currently working on this exact feature to be usable in leojs, and I plan to make leointeg also usable in the 'vscode for the web' platform. (once i get leojs going with that.)

This is going to require the server to offer additional functionality to 'browse' files on the server side when trying to open/save filesm in order to not rely on the vscode's own file system's to browse/choose files, as the server now should be considered to maybe be on a completely different machine.

@boltex boltex added the enhancement New feature or request label Dec 27, 2022
@tbpassin
Copy link
Author

Great, I think the feature will be very useful to spread leonine usage to a wider range of people. Why I started to think about this is that there is a link in the pages on leoeditor.com that is supposed to load a Leo outline into a browser so one can get an idea what kinds of things the tree and nodes can contain. But the appearance is almost like plain text, and doesn't give a person much of a reason to get interested in Leo, IMO.

leojs-in-the-browser, OTOH, would be ideal for a demo like this. Imagine - the person who is getting interested clicks on the link, and the whole thing opens with the outline already preloaded. Maybe the experience could even be scripted to walk through some typical Leo operations.

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

No branches or pull requests

2 participants