Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default board version #263

Open
Amerlander opened this issue Nov 22, 2023 · 1 comment
Open

Set default board version #263

Amerlander opened this issue Nov 22, 2023 · 1 comment

Comments

@Amerlander
Copy link
Collaborator

Amerlander commented Nov 22, 2023

Legacy links cannot be imported: No board version is selected by default. The same issue occurs when the page is reloaded while the board selection is open.

  1. Import https://makecode.calliope.cc/_MefTEdiLrACt into makecode.calliope.cc/beta.
  2. Motor Blocks are not found, although they are still available in the library in the sidebar. However, once placed, they are also not found.

We have introduced board versions and moved some blocks from the core into the board packages.
The default board version should be v1 for existing links.

I initially thought that the option "corepkg": "v1" in pxtarget.json was meant for that. However, that does not work. It affects the available blocks in the sidebar, but they are not found when used.

Another approach was to map the core package in the patches section. That leads to an infinite loop; therefore, I tried to rename core into core-mini and map this. However, a few libraries from pxt-common-packages require the core package to actually be named as core.

@abchatra, can you tell if there is something we can do to load the v1 package as the default/fallback?

@abchatra
Copy link
Contributor

It is thanksgiving week here and everyone is in holidays. @riknoll can you please take a look once you are back next Monday.

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

No branches or pull requests

2 participants