Importing a URL that was created on a different target
Open
Nobody has claimed this yet.
bug
P2
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Importing a URL that's created on a different target yields a silent crash while attempting to load the project.
We should let the user know that this is the wrong target for the project they're trying to import.
Repro steps:
- Go to arcade.makecode.com
- Import from URL
- Paste in this URl: https://makecode.com/_PCWEutUcRUPT (which was created on pxt-microbit).
See the editor attempt to load it, and then silently fail with a crash in the console.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the import at arcade.makecode.com using the provided URL and inspect the console crash while the project loads. Trace the URL-import entry point and make the wrong-target case report a clear message instead of failing silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100