Skip to content

Rename MakeCode projects when they are not the active project#809

Merged
microbit-matt-hillsdon merged 1 commit intobetafrom
beta-rename-makecode-project-when-not-opened
Mar 24, 2026
Merged

Rename MakeCode projects when they are not the active project#809
microbit-matt-hillsdon merged 1 commit intobetafrom
beta-rename-makecode-project-when-not-opened

Conversation

@microbit-matt-hillsdon
Copy link

Extract renameProject to project-utils so it can be shared between store and storage. The shared version updates both header.name and pxt.json name, and handles missing headers gracefully.

This is @glastonbridge's work from #805 but subset to just the beta parts. I'll subsequently rebase that PR.

CC @glastonbridge for info but @microbit-grace please can you review?

…ve project

Extract renameProject to project-utils so it can be shared between
store and storage. The shared version updates both header.name and
pxt.json name, and handles missing headers gracefully.
@github-actions
Copy link

Copy link

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 22b2595 into beta Mar 24, 2026
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the beta-rename-makecode-project-when-not-opened branch March 24, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants