scratchfoundation / scratchfoundation/scratch-blocks
Cannot drag block comments from middle of the comment (like you can with workspace comments).
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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