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

Next cleanup #2431

Merged
merged 2 commits into from
May 2, 2019
Merged

Next cleanup #2431

merged 2 commits into from
May 2, 2019

Conversation

alschmiedt
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Proposed Changes

Fixes next functionality for fields and inputs.
Makes navigateBetweenStacks return null if it gets to the last stack in the workspace instead of wrapping.
Cleans up next, previous, and block functionality.

Reason for Changes

Test Coverage

Tests written in mocha.

Tested on:

Additional Information

Copy link
Contributor

@RoboErikG RoboErikG left a comment

Choose a reason for hiding this comment

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

lgtm.

core/ast_node.js Outdated
* @param {Blockly.Input} parentInput The parent input of the connection.
* @return {Blockly.ASTNode} The ast node holding the next field or connection.
* Given an input find the next editable field or an input with a non null
* connection.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, add "in the same block."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@alschmiedt alschmiedt merged commit 8050160 into google:keyboard_nav May 2, 2019
@alschmiedt alschmiedt deleted the next_cleanup branch May 29, 2020 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants