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
Currently katas in the playground have no way to edit or run examples (in the main index file or in the answer/solution file).
To Reproduce
Open any Kata with example "multi-qubit systems" and scroll to any example (for example, Lesson: Multi-qubit systems in Q#). The code will be shown read-only without any buttons to run.
Expected behavior
Kata code examples should be editable and runnable just like the default sample in the playground.
The text was updated successfully, but these errors were encountered:
DmitryVasilevsky
changed the title
Kata infrastructure doesn't show editable/runable examples
Kata examples should be editable and runanble
Aug 16, 2023
Add the edit/run for kata examples.
This PR closes#591
Monaco editor model should have a unique URI (with few exceptions). So,
either kata lesson ID or kata exercise ID is provided to the model. The
Editor.tsx implementation is replacing "kataExercise" parameter with
"kataSection" that contains both lesson.id and exercise.id.
The function parameter "key" is not in use and was removed.
Currently katas in the playground have no way to edit or run examples (in the main index file or in the answer/solution file).
To Reproduce
Open any Kata with example "multi-qubit systems" and scroll to any example (for example, Lesson: Multi-qubit systems in Q#). The code will be shown read-only without any buttons to run.
Expected behavior
Kata code examples should be editable and runnable just like the default sample in the playground.
The text was updated successfully, but these errors were encountered: