sindresorhus/refined-github

Add open in codesandbox button #3026

abhijithvijayan posted onGitHub


From what I understand, CodeSandbox is just an editor online (one of many). It seems that its use cases aren't that many/frequent to justify a button to it for everyone.

Why would you use CodeSandbox instead of your local editor? Does that happen often?

posted by fregante almost 5 years ago

Some repositories require codesandbox example to be included before opening an issue.

I thought perhaps that might be useful.

posted by abhijithvijayan almost 5 years ago

Can you link to these repositories?

posted by fregante almost 5 years ago

@fregante

Also, I have seen some other repo's requesting reproducible example(codesandbox or any)

This is just a suggestion, if it doesn't seem required, feel free to close this issue.

posted by abhijithvijayan almost 5 years ago

There's a fundamental difference between the tweet and reproducible examples:

  • If Refined GitHub adds a "Open in CodeSandbox" link, the sandbox will start with the repo's content.
  • Reproducible examples do not start from the current repo, their content is actually something like require('current-repo-module') where you add your own broken code.
posted by fregante almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests