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

Getting Started with Blockly codelab instructions outdated #2444

Open
1 task done
skeatz opened this issue Aug 11, 2024 · 2 comments
Open
1 task done

Getting Started with Blockly codelab instructions outdated #2444

skeatz opened this issue Aug 11, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@skeatz
Copy link

skeatz commented Aug 11, 2024

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

Getting Started with Blockly tutorial, steps 5 and 6 does not render correctly when following the tutorial.

I have tried copying the code for these steps from the 'complete code' here but it does not work either. Running index.html from 'complete code' works perfectly. It would be nice if the tutorial write-up can be fixed and updated.

Description

Others have previously raised issue with the Getting Started with Blockly tutorial up to step 5 (Create a blockly workspace). The workaround was to add additional code to index.html to render the workspace:

<script src="https://unpkg.com/blockly/blockly_compressed.js"></script>
<script src="https://unpkg.com/blockly/blocks_compressed.js"></script>
<script src="https://unpkg.com/blockly/javascript_compressed.js"></script>
<script src="https://unpkg.com/blockly/msg/en.js"></script>

There is another issue in step 6 - Create a custom block. The workspace is also not rendered correctly. The 'play_sound' block is not rendered at all and the 'controls_repeat' block is not editable; the grey area does not render.

I have tried copying the code for these steps from the 'complete code' here but it does not work either. Running index.html from 'complete code' works perfectly. It would be nice if the tutorial write-up can be fixed and updated.

Reproduction steps

  1. Follow the steps 1-4 in the tutorial. Modify the blockly library code to add in additional blockly libraries.
  2. Follow step 5 - the controls_repeat block now renders correctly.
  3. Follow step 6 - the render fails again. The play_sound block is not rendered at all, the controls_repeat block is not editable & the grey area disappears.

Stack trace

No response

Screenshots

blockly bug

@skeatz skeatz added triage type: bug Something isn't working labels Aug 11, 2024
@cpcallen cpcallen changed the title Getting Started with Blockly Tutorial Outdated Getting Started with Blockly codelab instructions outdated Aug 16, 2024
@cpcallen cpcallen removed the triage label Aug 16, 2024
@shashtag
Copy link

Can I be assigned to this issue.

@BeksOmega
Copy link
Contributor

Hiya @shashtag I think we're planning on doing a larger rewrite of the getting started colab, so this isn't open to be worked on at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants