microsoft / microsoft/pxt-microbit

Allow toggling move mode by pressing the M key again

Open
#6,332 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I understand that placing a block with space or enter will exit me out of Move mode, but I also expected that if I pressed "M" again, that I would be toggled out of the move mode and the block would be placed down. I'm not sure if this is consistent with other behavior or would be intuitive for other users, but I found myself trying to exit move mode by pressing "M" very often, so I wanted to log it.

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 locating the block editor's Move mode handling and the keyboard path for the M key. Confirm the existing Space and Enter behavior, then verify that pressing M while already in Move mode exits the mode and places the block, with the behavior covered by the relevant editor tests if they exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
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.