Skip to content

Add interactive code samples #707

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

Open
3 tasks
vandan opened this issue Apr 14, 2023 · 1 comment
Open
3 tasks

Add interactive code samples #707

vandan opened this issue Apr 14, 2023 · 1 comment
Assignees
Labels
platform Related to the doc platform, configuration, or style. team-wallet-api-platform tech-writing Requires updates to documentation content.

Comments

@vandan
Copy link
Contributor

vandan commented Apr 14, 2023

@alexandratran commented on Tue Jan 17 2023

Use CodeSandbox to display interactive code samples. This might take the place of the example button implementations in the legacy site, for example see Accessing Accounts, Connecting to MetaMask, and Sending Transactions.


@vandan commented on Tue Apr 04 2023

Next step would be to fully set up CodeSandbox with a set of global dependencies.

  • Set up template with all dependencies we want in a new repository
  • Provide a readme that links to the template and provides guidelines for adding a codeblock with new external dependencies
  • Add a set of initial runnable examples (at least parity with legacy site as described above)
@vandan vandan added wallet Related to wallet content. enhancement labels Apr 14, 2023
@alexandratran alexandratran added tech-writing Requires updates to documentation content. platform Related to the doc platform, configuration, or style. and removed enhancement labels Apr 28, 2023
@httpJunkie
Copy link
Contributor

We probably need Shane or Zach to create a bare-bones simple example of a code sandbox for a feature that we could test this out with.

Signing transactions or maybe using the wallet_watchAsset or wallet_addSwitchChain API.

@alexandratran alexandratran added team-wallet-api-platform and removed wallet Related to wallet content. labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform Related to the doc platform, configuration, or style. team-wallet-api-platform tech-writing Requires updates to documentation content.
Projects
None yet
Development

No branches or pull requests

3 participants