Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support interactive playground in docs(https://slash.page) by adding codesandbox #191

Open
1 of 2 tasks
manudeli opened this issue Jan 19, 2023 · 5 comments
Open
1 of 2 tasks

Comments

@manudeli
Copy link
Member

manudeli commented Jan 19, 2023

Package Scope

If slash.page can provide more interactive playground in docs for who want to learn @toss/slash, more users will dive deeply to learn these libraries easily.

And It will make users better to understand what problem each libraries solved.

  • Add to an existing package
  • New package

Package name: docs

Overview

Describe the solution you'd like

Add codesandbox like https://beta.reactjs.org

New version of React docs keynote, YouTube video

Additional context

@manudeli manudeli changed the title [Feature]: Add codesandbox to provide interactive playground in docs(https://slash.page) [Feature]: Support interactive playground in docs(https://slash.page) by adding codesandbox Jan 19, 2023
@raon0211
Copy link
Collaborator

raon0211 commented Jan 20, 2023

We actually have some interactive playgrounds like ClickArea or Stack; but I think we should add some more interactive examples.

@manudeli
Copy link
Member Author

manudeli commented Jan 25, 2023

@raon0211 when I use Sandpack iin @toss/slash.
I encounter difficulty of adding example because of difficult syntax

Beta version of react's docs have different files syntax of Sandpack component.

It is really easy to use autoformat by vscode because of their syntax.
but when I try to use their syntax in docusaurus, I failed and then I found something new scripts in beta.reactjs.org's repo.

If @toss/slash want to make contributors can add examples using codesandbox, I think beta.reactjs.org's script(createFileMap) will be good solution

Can you support like this?

[Request Support]: So easy and auto formatting DX to add example using codesandbox

Jan-25-2023 23-47-55

different syntax with @toss/slash docs

beta.reactjs.org

image

@toss/slash

image

@raon0211
Copy link
Collaborator

Yes that's right, we should definitely fix this. It will be on our plan.

@manudeli
Copy link
Member Author

manudeli commented May 12, 2024

@minsoo-web Check this out please.
You should see this problem to make interactive playground easily and rapidly

We from toss/suspensive#867

@minsoo-web
Copy link
Member

@minsoo-web Check this out please.
You should see this problem to make interactive playground easily and rapidly

We from toss/suspensive#867

I'd be happy to take on this issue. Thanks for the mention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants