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

bug: Blockly model solutions are off center #1704

Open
evemartin opened this issue Aug 14, 2024 · 0 comments
Open

bug: Blockly model solutions are off center #1704

evemartin opened this issue Aug 14, 2024 · 0 comments
Labels
bug cadets volunteers Tasks that can be picked up by anyone

Comments

@evemartin
Copy link
Contributor

evemartin commented Aug 14, 2024

Describe the bug
After clicking the "Solve" button on levels with Blockly, the model solution appears off center, sometimes so off center that it's cut off on the edge of the Blockly pane. This is especially noticeable in Blockly/Python levels.

To Reproduce
Steps to reproduce the behaviour:

  1. Log in as a teacher.
  2. Go to a Blockly or Blockly/Python level, i.e. Python Den level 15
  3. Click on "Solve"
  4. Notice that the model solution appears but is off center and cut off

Expected behaviour
The position of the blocks is defined in the model solution data - the loaded solution should appear in the top-left corner of the window, maybe at coordinates 100,100. to minimise the risk of the solution being cut off.

Screenshots
Screencast from 12-11-24 11:55:29.webm

Good places to start
Ask a member of the Code for Life team for guidance on the relevant files.

@faucomte97 faucomte97 added the bug label Aug 15, 2024
@faucomte97 faucomte97 added volunteers Tasks that can be picked up by anyone cadets labels Nov 12, 2024
@ocadotechnology ocadotechnology deleted a comment from evemartin Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cadets volunteers Tasks that can be picked up by anyone
Projects
None yet
Development

No branches or pull requests

2 participants