Skip to content

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

@nkrkv

Description

@nkrkv

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 *.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions