microsoft / microsoft/pxt-microbit

"On Start" comments become workspace comments when switching blocks -> javascript -> blocks

Open
#5,954 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

comments decompiler help wanted P2
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

If you put a comment on the "On Start" block, then switch to javascript & make a change, and then switch back to blocks, the comment will become a workspace comment.

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

Reproduce the issue in the Blocks/JavaScript editor by adding a comment to the On Start block, switching to JavaScript, making a change, and switching back. Trace how comments are preserved during the mode switch; done means the comment remains attached to On Start rather than becoming a workspace comment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.