Skip to content

Restore the last deleted sound.#2935

Merged
kchadha merged 1 commit intoscratchfoundation:developfrom
kchadha:restore-sound
Aug 21, 2018
Merged

Restore the last deleted sound.#2935
kchadha merged 1 commit intoscratchfoundation:developfrom
kchadha:restore-sound

Conversation

@kchadha
Copy link
Contributor

@kchadha kchadha commented Aug 20, 2018

Resolves

Restoring the last deleted sound (no issue filed).

Proposed Changes

Update the restore function state when deleting a sound. This should change the menu option in the Edit menu to read Restore Sound. Using the option should restore the sound that was last deleted.

Known Issues

  • restoring a sound does not navigate back to the sound pane of the target whose sound was restored.
  • restoring a sound adds it to the end of the sprite's sounds list (this is consistent with 2.0).

Test Coverage

Manually tested. You can test here: https://llk.github.io/scratch-gui/restore-sound/

Related PRs

scratchfoundation/scratch-vm#1503

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

@rschamp rschamp assigned kchadha and unassigned rschamp Aug 21, 2018
@kchadha kchadha merged commit e79b56d into scratchfoundation:develop Aug 21, 2018
@kchadha kchadha deleted the restore-sound branch August 21, 2018 19:29
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