Skip to content

Commit

Permalink
Bump pxt v9 (#1030)
Browse files Browse the repository at this point in the history
* dump-pxt-v9

We raise the version of pxt-core, pxt-common-packages. Field changes. Add search to pxtarget (workspaceSearch). Add missing files.

* Update style.less

Removing a temporary fix

4017a8b

* common-modal-header

Restore common-modal-header color in add extension window.

* blocks-or-JS-editor-toggle

#1016

* fix-brend-logo-and-project-logo-overlay

microsoft/pxt#9605

Fix overlapping of the Microsoft brand logo and the project logo on the first boot.

* fix-color-editordropdown

Fix color editordropdown selection JS or Python. Fix alignment inside dropdown menu.

* Update loader.svg

Lego cube logo. I drew it myself.

* Update loader.svg

* Update pxtarget.json

Added more options

* Update pxtarget.json

The python language is translated from experiments.

* blocklySearchArea-hide-on-mobile

Hide the blocklySearchArea search field on the mobile version of the site.

* blocklySearchArea-expanding-horiz

blocklySearchArea expanding horizontally.

* Update footer.html

* blocklyTreeIcon-fontawsome-fix

Before that, it was not possible to set the icon font awesome, tick. the font has been reassigned to a different one from Lego.

* blocklyFlyoutLabel-fontawsome-fix

* blocklyTreeIconfunctions-fontawsome

* icons-update

For storage and automation.

* sizing-fonts-icons

Icon sizes in these fonts turned out to be different. Native icons turned out to be smaller than fontawsome. I scaled them, and reduced the overall font size for the icons in the category.

* broadcast-extension-changes

Change the extension code. Fontawesome icon added.

* storage-category-properties-moved

* storage-ext-update-color

Changed color for storage extension to be different from automation extension.

* storage-extension-fix

Macros for accessing buffer and string data for storage lib.

* Update storage-core.ts

The storage-core.ts file has been cleaned up. Sorted and added default values.

* Update storage-core.ts

* csv-separator-support

It is possible to change the csv file separator.

* libs-pxt-update

* Revert "libs-pxt-update"

This reverts commit 60118ef.

* brodcast-pxt-update

* bump-pxt-9.1.10

* icon-properties-update

* removed-margin-to-the-category-btn

Removed padding so category button is full height. Removed the commented out css code that displays the button borders.

* Update blockly-toolbox.less

* blocklySearchArea-margin-top-zero

Removed too much margin top.
  • Loading branch information
THEb0nny authored Aug 30, 2023
1 parent c2ad46d commit b4e5e15
Show file tree
Hide file tree
Showing 26 changed files with 252 additions and 124 deletions.
2 changes: 1 addition & 1 deletion docfiles/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a class="item" href="https://makecode.com/privacy" target="_blank" rel="noopener">Privacy &amp; Cookies</a>
<a class="item" href="https://makecode.com/termsofuse" target="_blank" rel="noopener"> Terms Of Use</a>
<a class="item" href="https://makecode.com/trademarks" target="_blank" rel="noopener">Trademarks</a>
<div class="item">© 2018 Microsoft</div>
<div class="item">© 2023 Microsoft</div>
</div>
<div class="ui container horizontal small divided link list">
<a class="ui centered item" href="https://makecode.com/" title="Microsoft MakeCode" target="_blank" rel="noopener">Powered by Microsoft MakeCode</a>
Expand Down
4 changes: 4 additions & 0 deletions docs/static/icons/immersive-reader-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/static/icons/immersive-reader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions docs/static/loader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/orglogowide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion fieldeditors/field_music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class FieldMusic extends pxtblockly.FieldImages implements Blockly.FieldC
this.columns_ = parseInt(options.columns) || 4;
this.width_ = parseInt(options.width) || 450;

this.setText = Blockly.FieldDropdown.prototype.setText;
//this.setText = Blockly.FieldDropdown.prototype.setText;
this.updateSize_ = (Blockly.Field as any).prototype.updateSize_;

if (!pxt.BrowserUtils.isIE() && !soundCache) {
Expand Down
2 changes: 1 addition & 1 deletion fieldeditors/field_ports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FieldPorts extends pxtblockly.FieldImages implements Blockly.FieldC
this.columns_ = parseInt(options.columns) || 4;
this.width_ = parseInt(options.width) || 300;

this.setText = Blockly.FieldDropdown.prototype.setText;
//this.setText = Blockly.FieldDropdown.prototype.setText;
this.updateSize_ = (Blockly.Field as any).prototype.updateSize_;
}

Expand Down
3 changes: 3 additions & 0 deletions libs/broadcast/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Brodcast

The library to ...
3 changes: 1 addition & 2 deletions libs/broadcast/broadcast.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* Message broadcasting
*/
//% weight=70
//% color="#58AB41"
//% color="#58AB41" weight=80 icon="\uf27a" advanced=true
namespace broadcast {
const broadcastEventId = control.allocateNotifyEvent();
const broadcastDoneEventId = control.allocateNotifyEvent();
Expand Down
6 changes: 5 additions & 1 deletion libs/broadcast/pxt.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "broadcast",
"version": "0.0.2",
"description": "Broadcasting messages - beta",
"files": [
"broadcast.ts"
],
"testFiles": [
"test.ts"
],
"public": true,
"dependencies": {
"core": "file:../core"
"core": "file:../core"
}
}
Empty file added libs/broadcast/test.ts
Empty file.
9 changes: 9 additions & 0 deletions libs/broadcast/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"target": "es5",
"noImplicitAny": true,
"outDir": "built",
"rootDir": "."
},
"exclude": ["pxt_modules/**/*test.ts"]
}
32 changes: 3 additions & 29 deletions libs/ev3/ns.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

//% color="#68C3E2" weight=100 icon="\uf106"
//% groups='["Buttons", "Screen", "Power"]'
//% labelLineWidth=60
namespace brick {
}


//% color="#C8509B" weight=95 icon="\uf10f"
//% labelLineWidth=100
//% groups='["Touch Sensor", "Color Sensor", "Ultrasonic Sensor", "Gyro Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Calibration"]'
Expand All @@ -16,46 +14,22 @@ namespace sensors {
//% groups='["Move", "Counters", "Properties"]'
//% labelLineWidth=50
namespace motors {

}

//% color="#00852B" icon="\uf1b9" weight=85
//% labelLineWidth=0
namespace chassis {

}

//% labelLineWidth=0
namespace behaviors {

}

//% color="#D67923" weight=80 icon="\uf10e"
//% groups='["Sounds", "Tone", "Volume", "Tempo"]'
namespace music {

}

//% color="#5F3109" icon="\uf107"
namespace control {

}

//% color="#011C32"
namespace serial {

}

//% color="#58AB41"
namespace loops {

}

//% color="#1E5AA8"
namespace light {

}

//% color="#b0b0b0" advanced=true weight=5
namespace storage {

//% icon="\uf0d0"
namespace automation {
}
3 changes: 0 additions & 3 deletions libs/game/pxt.json

This file was deleted.

Loading

0 comments on commit b4e5e15

Please sign in to comment.