Commit 16f4fb2
authored
The great Blockly upgrade (#9865)
* initial blockly work
* use newblocks in webapp
* bug fixes and array block
* if/else block
* text blocks
* gridpicker
* field color number
* field slider and math_number_minmax
* duplicate on drag
* workspace context menu
* block context menu
* tooltip
* remove block dragger patch
* Fix insertion marker compile exception
* don't duplicate function definition argument reporters in domToBlock
* debugging
* Add new variable option to variable field dropdown
* Bring back the collapsed input rendering
* Monkey patch block svg to add expand button
* update some fields
* get all the rest of the field compiling
* bug fixes for fields and toolbox generation
* fix asset fields
* fix block font
* fix expandable blocks
* toolbox flyout label styling
* clean up the renderer mixin interface
* fix prompt placeholders
* make flyout buttons bigger and other fixes
* fix note editor
* Fix project importing
* shadow block hack
* give comments ids if missing
* Cache category flyouts
* fix typo in autocomplete field
* don't upgrade all shadows
* promote shadow blocks to regular blocks when they get non shadow children
* fix undo redo
* delete dead code
* fix flyout click events
* port over imagedropdown css
* remove dead code
* fix toolbox generation for draggable parameters
* remove old blocks from pxtrunner
* fix tutorial snippets
* fix variable prompt
* fix draggable decompile
* properly hide flyout when closed
* don't recycle variable blocks
* don't close flyout after creating a variable
* fix autocomplete field not resizing
* fix ts expression color and autocomplete quotes
* fix the speed and angle slider fields
* fix flyout groups with the same name as the category
* fix collapse field being added multiple times
* fix slider initial value
* fix slider dragging in firefox
* fix width on firefox
* fix position field
* fix error outline
* replace the emboss filter with a darkened outline
* fix decompiler tests
* fix karma runner
* fix karma bugs
* fix rest of karma tests
* remove old blocks
* move newblock to pxtblocks
* eliminate last references to pxtblockly
* fix editor extensions
* fix eslint and patch pxtrunner
* lint
* fix build
* fix build
* hoist type
* forgot files
* fix uglifyify
* fix test imports
* fix validation
* fixing target build
* fix duplicate on drag behavior for new functions
* fix highlight when blocks change size
* remove type reference
* fix flyout-only blockly tutorials
* fix melody editor and add fixme notes
* remove dead code and add fancy note slides
* merge conflict
* clarify fixmes
* fix toggle click target and dropdown for external inputs
* bring back menu separators in dropdown
* dotted outline for draggable params
* get textdropdown color from parent
* fix import
* fix tests
* update blockly
* fix edit function arguments
* pin new dependencies
* bump major version to 101 parent eeba7d8 commit 16f4fb2
195 files changed
Lines changed: 22082 additions & 16116 deletions
File tree
- localtypings
- pxtblocks
- builtins
- compiler
- contextMenu
- fields
- monkeyPatches
- plugins
- arrays
- duplicateOnDrag
- flyout
- functions
- blocks
- fields
- logic
- math
- newVariableField
- renderer
- text
- pxtcompiler/emitter
- pxteditor
- code-validation
- pxtlib
- pxtrunner
- scripts
- teachertool/src
- components
- tests
- blocklycompiler-test
- blocks-test
- decompile-test/baselines
- webapp/src
- components/assetEditor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 48 | + | |
59 | 49 | | |
60 | 50 | | |
61 | 51 | | |
| |||
86 | 76 | | |
87 | 77 | | |
88 | 78 | | |
89 | | - | |
90 | 79 | | |
91 | 80 | | |
92 | 81 | | |
| |||
121 | 110 | | |
122 | 111 | | |
123 | 112 | | |
124 | | - | |
125 | | - | |
| 113 | + | |
| 114 | + | |
126 | 115 | | |
127 | 116 | | |
128 | 117 | | |
| |||
142 | 131 | | |
143 | 132 | | |
144 | 133 | | |
145 | | - | |
| 134 | + | |
146 | 135 | | |
147 | 136 | | |
148 | 137 | | |
| |||
162 | 151 | | |
163 | 152 | | |
164 | 153 | | |
165 | | - | |
| 154 | + | |
166 | 155 | | |
167 | 156 | | |
168 | 157 | | |
| |||
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
175 | | - | |
176 | 164 | | |
177 | 165 | | |
178 | 166 | | |
| |||
388 | 376 | | |
389 | 377 | | |
390 | 378 | | |
391 | | - | |
392 | | - | |
393 | 379 | | |
394 | 380 | | |
395 | 381 | | |
| |||
401 | 387 | | |
402 | 388 | | |
403 | 389 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
407 | 393 | | |
408 | | - | |
409 | | - | |
410 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
411 | 399 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | 400 | | |
416 | 401 | | |
417 | 402 | | |
| |||
534 | 519 | | |
535 | 520 | | |
536 | 521 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | 522 | | |
569 | 523 | | |
570 | 524 | | |
| |||
764 | 718 | | |
765 | 719 | | |
766 | 720 | | |
767 | | - | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
768 | 725 | | |
769 | 726 | | |
770 | 727 | | |
| |||
777 | 734 | | |
778 | 735 | | |
779 | 736 | | |
780 | | - | |
| 737 | + | |
781 | 738 | | |
782 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
783 | 742 | | |
784 | 743 | | |
785 | 744 | | |
| |||
849 | 808 | | |
850 | 809 | | |
851 | 810 | | |
852 | | - | |
853 | 811 | | |
854 | 812 | | |
855 | | - | |
856 | | - | |
| 813 | + | |
| 814 | + | |
857 | 815 | | |
858 | 816 | | |
859 | 817 | | |
| |||
866 | 824 | | |
867 | 825 | | |
868 | 826 | | |
| 827 | + | |
869 | 828 | | |
870 | 829 | | |
871 | 830 | | |
| |||
876 | 835 | | |
877 | 836 | | |
878 | 837 | | |
879 | | - | |
| 838 | + | |
880 | 839 | | |
881 | 840 | | |
882 | 841 | | |
883 | 842 | | |
884 | 843 | | |
885 | 844 | | |
886 | 845 | | |
887 | | - | |
888 | 846 | | |
889 | 847 | | |
890 | 848 | | |
| |||
915 | 873 | | |
916 | 874 | | |
917 | 875 | | |
918 | | - | |
| 876 | + | |
919 | 877 | | |
920 | 878 | | |
921 | 879 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | | - | |
| 358 | + | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
| 401 | + | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
0 commit comments