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

Sort list variables in context menu #1929

Merged

Conversation

towerofnix
Copy link
Contributor

@towerofnix towerofnix commented Apr 23, 2019

Resolves

No issue, but it'd be corresponding to #1879.

Proposed Changes

This is the exact same PR as #1888 from a couple months ago but for lists now. It sorts the variable (list) options in the list right-click menu.

Reason for Changes

Consistency with other menus in Scratch 3.0.

Test Coverage

Tested manually (created lists "a, z, b", dragged out an "a" block, then right-clicked it - on develop it shows "z, b", on this PR it shows "b, z" correctly).

Copy link
Contributor

@kchadha kchadha left a comment

Choose a reason for hiding this comment

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

@towerofnix, there's just a stray newline, but otherwise this looks good. Sorry this took so long to review!

Copy link
Contributor

@kchadha kchadha left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@kchadha kchadha merged commit d9e7bb7 into scratchfoundation:develop May 24, 2019
@towerofnix towerofnix deleted the sort-list-context-menu branch May 24, 2019 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants