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

Code runner from docs #18

Open
wants to merge 31 commits into
base: dev
Choose a base branch
from
Open

Code runner from docs #18

wants to merge 31 commits into from

Conversation

Emmaccen
Copy link
Collaborator

No description provided.

@Emmaccen Emmaccen requested review from gcharang and smk762 April 29, 2024 09:50
Copy link

cloudflare-workers-and-pages bot commented Apr 29, 2024

Deploying react-atomicdex-wasm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 526d26c
Status: ✅  Deploy successful!
Preview URL: https://cc6b590f.react-atomicdex-wasm.pages.dev
Branch Preview URL: https://code-runner-from-docs.react-atomicdex-wasm.pages.dev

View logs

@gcharang
Copy link
Owner

when a command is sent from docs, it's result should be shown in the playground UI also. provide a button that becomes enabled and highlighted after the result is rendered. this button should make the window that sent the command be focused

@gcharang
Copy link
Owner

show a spinner when playground is opened by docs. remove spinner once response is rendered

@gcharang
Copy link
Owner

send the get peers info command from https://mm2-code-runner.komodo-docs-revamp-2023.pages.dev/en/docs/komodo-defi-framework/api/legacy/get_peers_info/

response looks like:

Screenshot from 2024-07-23 14-44-31

the content of the response seems to overflow. make it wrap and render properly with in bounds

@Emmaccen
Copy link
Collaborator Author

send the get peers info command from https://mm2-code-runner.komodo-docs-revamp-2023.pages.dev/en/docs/komodo-defi-framework/api/legacy/get_peers_info/

response looks like:

Screenshot from 2024-07-23 14-44-31

the content of the response seems to overflow. make it wrap and render properly with in bounds

I think I can only add a scroll bar here. Unless it's wrapped in code using a backtick, it'll render as is in the pre tag, I can't figure out a way to make it work.

Creating this issue in docs repo and pushing a fix now 👍

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

Successfully merging this pull request may close these issues.

2 participants