microsoft / microsoft/pxt-microbit

Keyboard nav: duplicating blocks via the context menu should put you in move mode

Open
#6,992 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

When a user duplicates a block, I think the likelihood that they would want to move that block is pretty high. However, with keyboard navigation, the block that you just created from duplication is not in move mode. This feels a bit jarring because when you select a block from the toolbox, it is in move mode by default. My suggestion would be to have duplicated blocks in move mode by default, just as we have blocks that a user takes from the toolbox.

To Reproduce
Steps to reproduce the behavior:

  1. Go to beta
  2. Open a new project
  3. Add some blocks to your project
  4. Open the context menu on a block with keyboard navigation (control+enter)
  5. Select duplicate with keyboard navigation
  6. See that the duplicated block is not in move mode

Desktop (please complete the following information):

  • OS: Windows and Mac
  • Browser Edge and Chrome

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

No file or test path is named; start by tracing the keyboard context-menu duplicate action and compare it with the toolbox block-insertion path. Reproduce the listed steps in beta, then verify that a duplicated block enters move mode and that existing keyboard navigation behavior remains intact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.