Skip to content

Conversation

@kchadha
Copy link
Contributor

@kchadha kchadha commented Jul 24, 2018

Resolves

Resolves scratchfoundation/scratch-blocks#1447
Resolves scratchfoundation/scratch-blocks#1574

Proposed Changes

Clear the workspace undo state when a workspace update has been emitted.

Reason for Changes

Keeping the old workspace undo state around causes weird behavior like blocks from the previous another sprite or project's workspace showing up (see issues linked above).

Test Coverage

Manual testing with:

  • switching sprites
  • switching between the code, costumes, and sounds tabs, and
  • loading new projects with a file or through project ID in the hash

Browser Coverage

Check the OS/browser combinations tested (At least 2)

Mac

  • Chrome
  • Firefox
  • Safari

Windows

  • Chrome
  • Firefox
  • Edge

Chromebook

  • Chrome

iPad

  • Safari

Android Tablet

  • Chrome

Copy link
Contributor

@paulkaplan paulkaplan left a comment

Choose a reason for hiding this comment

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

LG

@paulkaplan paulkaplan assigned kchadha and unassigned paulkaplan Jul 24, 2018
@kchadha kchadha merged commit ef024d6 into scratchfoundation:develop Jul 24, 2018
@kchadha kchadha deleted the clear-workspace-undo branch July 24, 2018 19:30
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.

2 participants