scratchfoundation / scratchfoundation/scratch-blocks

Cannot drag block comments from middle of the comment (like you can with workspace comments).

Open
#1,629 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected Behavior

Should be able to drag a comment from anywhere on the comment (except on top of an icon).

Actual Behavior

This is true for workspace comments, but you can only drag block comments from the top bar.

The solution here is to add a transparent rectangle on top of the comment (like we do for workspace comments). This solution is also mentioned in #1625 and will work towards fixing that issue as well.

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

Start by inspecting how dragging is implemented for workspace comments, then compare it with block comments. Add the equivalent transparent drag area while preserving the exception for icons; done means a block comment can be dragged from anywhere else on its surface.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.