microsoft / microsoft/pxt-arcade

Copy-pasting blocks should put blocks in user's view

Open
#2,247 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocks p2
Dominant language
TypeScript
Stars
546
Forks
263
Avg merge
7h 35m
Merged PRs (30d)
46

Description

Describe the bug
When I copy a block and then paste it, the new block is placed close to the original block. I think it should be placed relative to where the user currently is in the workspace instead. If you want to copy a block to far away, currently you have to drag the block over and alternate between dragging the workspace, which is hard

Keeping the original block in view, it gets pasted under the original:
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 84

Contributor guide

No contributing guide indexed for this repository

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 copy-and-paste workflow in the editor with the workspace positioned away from the original block, then trace the workspace copy/paste entry point. Done means the pasted block appears in the user's current view while preserving the existing copy behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.