Skip to content

Say a hex replaces the project's files where it does - #1440

Merged
microbit-matt-hillsdon merged 1 commit into
home-pagefrom
add-files-hover-replace
Nov 21, 2026
Merged

microbit-matt-hillsdon merged 1 commit into
home-pagefrom
add-files-hover-replace

Conversation

@microbit-matt-hillsdon

@microbit-matt-hillsdon microbit-matt-hillsdon commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

The Files tab's "Add files…" tooltip said a hex file opens as a new project. That is untrue without the projects database (no IndexedDB, or it failed to open) and in iframe controller mode, where a hex replaces the open project's files.

Those modes now get a second string, add-files-hover-replace: "Add Python or other files to your project. A hex file replaces all project files." The choice uses the existing useProjectsDatabaseActive(), which is false in both.

The new string needs uploading to Crowdin.

Todo

  • Check the tooltip manually in both modes

The add files tooltip promised a new project. Without the projects
database, and in iframe controller mode, a hex replaces the open
project's files instead.
@github-actions

Copy link
Copy Markdown

Preview build will be at
https://review-python.microbit.org/add-files-hover-replace/

@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit f175f7d into home-page Nov 21, 2026
4 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the add-files-hover-replace branch November 21, 2026 09:52
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.

1 participant