microsoft / microsoft/pxt

Pin Blocks for Organizational Purposes

Open
#4,455 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocks editor decompiler enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

For advanced developers it would be nice if we could pin the blocks
function A upper left
function B upper right
etc

This would help keep our code organized when bouncing between JS and blockly

Obviously in the real world we code from top to bottom and left to right (In most countries)
So if we could pin blocks even though we bounce between JS and blockly we would know where our code is if we pinned it.

Right now I would organize my blockly, Go to JS, Add a little JS, and then when I go back to the blockly it is all unorganized again.

Not really a big deal on small projects but I have one with like 6 bigger functions and it quickly becomes a mess.

Thanks In Advance

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 is named. Start by tracing how Blockly layout is preserved when switching between Blockly and JavaScript, then define how pinned positions should behave for multiple functions. Done means pinned blocks retain their intended positions after switching views, with coverage for the described multi-function workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.