You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the site, we have a feature Try on playground. For that to be implemented in the site, we were writing the example in the playground and writing the corresponding base64 string in the all.md file. This was posing mainly two problems-
The file all.md was getting larger and larger. And the code was hard to change and it looked messy in the file
There was no way to test the example against the latest version of Fae
Describe the solution you'd like
To solve the problem, we will be write the examples in the examples directory in Fae as Deno files only. They would import the latest version of Fae from Deno servers. Then, the website will fetch these examples files for a given function on demand. When the person clicks on the button Try on playground,
the site server will fetch the file (if doesn't exists),
will do appropriate sanitization on the imports,
covert it to url-safe base64 and generate the playground url,
and then redirects the developer to playground populated with the example for that function.
The functionality is already implemented in the website. See Jozty/website#29
In Fae, we will have checks on CI/CD pipelines to run all those examples against the latest version of Fae.
Additional context
Issues for adding examples in incremental manner- #59, #61
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In the site, we have a feature Try on playground. For that to be implemented in the site, we were writing the example in the playground and writing the corresponding base64 string in the
all.md
file. This was posing mainly two problems-all.md
was getting larger and larger. And the code was hard to change and it looked messy in the fileDescribe the solution you'd like
To solve the problem, we will be write the examples in the
examples
directory in Fae as Deno files only. They would import the latest version of Fae from Deno servers. Then, the website will fetch these examples files for a given function on demand. When the person clicks on the button Try on playground,The functionality is already implemented in the website. See Jozty/website#29
In Fae, we will have checks on CI/CD pipelines to run all those examples against the latest version of Fae.
Additional context
Issues for adding examples in incremental manner- #59, #61
The text was updated successfully, but these errors were encountered: