scratchfoundation / scratchfoundation/scratch-blocks

Comments in imported project can be removed using undo

Open
#1,973 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Expected Behavior

The history of the project should be cleared and "Undo" button should be disabled.

Actual Behavior

"Undo" button is enabled and removes the comment (moves one comment at a time which is connected to a block).
scratch-comment

Steps to Reproduce
  1. Create a project with comments.
  2. Save to sb3 file
  3. Open file.
  4. Right click and see that undo is enabled.
Operating System and Browser

Mac OS 10.14.4
75.0.3770.142 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating a project with comments, saving it to an .sb3 file, reopening it, and checking Undo after right-clicking. Trace the imported-project history and comment-removal behavior. Done means the imported project history is cleared, Undo is disabled, and comments are not removed through Undo.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.