codesandbox / codesandbox/codesandbox-client

Embedding doesn't work with imported project from Github

Open
#7,744 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

I'm not sure if I'm missing something but I searched in questions and passed issues and couldn't find the answer. It seems for project imported from github, there no option to an embedded url. The github repo is public and seems that option shows if you create a new sandbox from scratch but not if you create the sandbox by importing from github. I noticed an option to change the repo to public which made the sandbox a readonly, but even then the option for an embedded url didn't show

image

How has this issue affected you? What are you trying to accomplish?

I writing an article and would like to share a demo of the code.

To Reproduce

create a new project by importing from a github repo and try to retrieve the embed url option.

Link to sandbox: link (optional)
Your Environment
Software Name/Version
Сodesandbox codesandbox 2
Browser chrome
Operating System macos

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing embed URL option by importing the linked public GitHub project into CodeSandbox, using the sandbox link and its /src/pages/index.tsx entry as the example. Trace the imported-project flow and compare it with creating a new sandbox from scratch; done means an embed URL option is available for the imported project without making it read-only.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.