adding a few tutorial options and fixing toolbox filters #10881
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
part of the fix for microsoft/pxt-arcade#7012
part of the fix for microsoft/pxt-arcade#7013
part of the fix for microsoft/pxt-arcade#7010
adds a few tutorial features/fixes for bug arena:
hiddenNamespaces
snippet in tutorial markdown that lets you edit the toolbox filters in the tutorial project. this is a useful alternate method of filtering the toolbox that lets you remove categories without having to enumerate every single block from the categories you want to keep inside aghostBlocks
snippet### @hideReplaceMyCode true
config that will hide the "replace my code" button in skillmap tutorialspxt.json
could not filter the variables or functions categories from the toolboxtemplateCode
snippet iff the "replace my code" button is hiddenthis PR adds all of the pxt-core fixes for the above issues, but doesn't actually fix them since the tutorial authoring also needs to change. i'll have a separate pr in pxt-arcade with the authoring changes once this is merged/hotfixed