microsoft / microsoft/pxt-arcade
Syncing a project from github without a pxt.json file hangs the editor
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 546
- Forks
- 263
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 46
Description
Describe the bug
If your project doesn't have a pxt.json file, and you import it. It'll appear in the projects list, but clicking on it will cause the loading screen to show forever.
To Reproduce
Steps to reproduce the behavior:
- Create a github repo that contains a main.blocks & main.ts file, but no pxt.json
- Set up the arcade with you GitHub token
- Try to import the code from the repo that you've created
Result
The loading screen remains forever.
Expected behavior
Either an option to add a pxt.json or an error message indicating that this project cannot be imported because it's missing a pxt.json file. I would probably only invest in the second as this seems like a relatively small scenario.
Contributor guide
No contributing guide indexed for this repository
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 using a GitHub repository containing main.blocks and main.ts but no pxt.json, after setting up the Arcade GitHub token. Trace the project import and editor-loading path to identify where the missing file is handled. Done means the import reports that pxt.json is missing instead of leaving the loading screen indefinitely.
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
- 42/100