Skip to content

Conversation

@microbit-grace
Copy link
Contributor

The basics

The details

Resolves

Fixes #8901

Proposed Changes

  • Use getPreviousNode in prev and out methods so that the loop parameter can be used and set as true.
  • Add tests for loopback in prev and out methods.

Reason for Changes

To fix #8901 so that cursor loops when keyboard navigating blocks backwards (up arrow keys, or left arrow keys) as it can forwards.

Test Coverage

Added loop tests for prev and out in cursor_test.ts.

Documentation

Additional Information

@microbit-grace microbit-grace requested a review from a team as a code owner April 24, 2025 10:39
@microbit-grace microbit-grace requested a review from gonfunko April 24, 2025 10:39
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome! It looks like this is your first pull request in Blockly, so here are a couple of tips:

  • You can find tips about contributing to Blockly and how to validate your changes on our developer site.
  • All contributors must sign the Google Contributor License Agreement (CLA). If the google-cla bot leaves a comment on this PR, make sure you follow the instructions.
  • We use conventional commits to make versioning the package easier. Make sure your commit message is in the proper format or learn how to fix it.
  • If any of the other checks on this PR fail, you can click on them to learn why. It might be that your change caused a test failure, or that you need to double-check the style guide.
    Thank you for opening this PR! A member of the Blockly team will review it soon.

@gonfunko gonfunko merged commit 8f59649 into RaspberryPiFoundation:rc/v12.0.0 Apr 25, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants