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

Make web XOD IDE open project given as URL query arg on startup #2021

Open
3 tasks
nkrkv opened this issue Aug 17, 2020 · 0 comments
Open
3 tasks

Make web XOD IDE open project given as URL query arg on startup #2021

nkrkv opened this issue Aug 17, 2020 · 0 comments

Comments

@nkrkv
Copy link
Member

nkrkv commented Aug 17, 2020

Currently, the browser-based XOD IDE always opens the tutorial project on launch. There’s no way to tell it to skip the default project and open the specific project right away. Let’s fix it.

This feature would make it possible to create collections of hyperlinks in the traditional web-media pointing to specific projects which then will be automatically opened with XOD IDE.

User story

Effectively, the final effect of such loading is the same as opening IDE normally, then hitting File → Open Project.

Acceptance criteria

  • I can use the project URL param as shown above
  • I can provide full URL or a path starting with / relative to the current domain
  • If the project failed to download, the default tutorial project is loaded and a persistent snackbar error is shown¹

¹

**Project download failed**
The remote project https://example.com/some-proj.xodball failed to download with HTTP error code 404.
Make sure the URL is valid and the resource admins have correct CORS configuration.

Out of scope

  • CORS handling. It’s up to admins of the hosting resources to configure CORS properly so that they allow client-side requests from *.xod.io or even *.
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

2 participants