Christopher Willis-Ford
930b2ec05c
setOutput takes a Boolean, not a type
2019-06-03 13:04:15 -07:00
Christopher Willis-Ford
c9d1535967
move defineDynamicBlock into its own file
2019-06-03 13:04:15 -07:00
Christopher Willis-Ford
38455a7108
enable monitors for dynamic extension blocks
2019-05-28 11:45:57 -07:00
Karishma Chadha
ebe310bc65
Add support for arguments on dynamic extension blocks.
2019-05-28 11:45:57 -07:00
Christopher Willis-Ford
5bc3198263
remove unused require
2019-05-28 11:45:57 -07:00
Christopher Willis-Ford
5d6669db6d
add "scratch_extension" only if a block has an icon
2019-05-28 11:45:57 -07:00
Christopher Willis-Ford
519ffe3b91
weave extension categories into the output of makeToolboxXML
2019-05-28 11:45:57 -07:00
Christopher Willis-Ford
717c773800
add block type check in defineDynamicBlock
2019-05-28 11:45:57 -07:00
Christopher Willis-Ford
935a4520da
WIP dynamic block support
2019-05-28 11:45:56 -07:00
Christopher Willis-Ford
7685dad40a
update extension event handling for categoryInfo
2019-05-28 11:45:56 -07:00
Paul Kaplan
d342b82219
Merge pull request #4800 from mzgoddard/delay-gui
...
Delay loading and rendering gui
2019-05-23 14:14:37 -04:00
Paul Kaplan
227581ebcf
Merge pull request #4677 from mzgoddard/update-toolbox
...
render only new toolbox xmls
2019-05-23 14:14:09 -04:00
Eric Rosenbaum
a11fcfe373
Fix typo in variable name
2019-05-09 15:12:13 -04:00
Eric Rosenbaum
52a3600819
Surprise sprites do not include letters and numbers
2019-05-09 15:06:26 -04:00
Michael "Z" Goddard
bec6223e6e
delay loading and rendering gui
...
- Create the scratch renderer earlier in the GUI container/HOC stack
- Delay loading and rendering GUI component until after project assets
have been fetched
2019-05-08 16:58:07 -04:00
Evelyn Eastmond
29f5d2a872
Fixing pointer events to not prevent clicks in workspace.
2019-05-07 15:43:35 -04:00
Evelyn Eastmond
cca701e954
Add more layout for RTL.
2019-05-07 11:52:27 -04:00
Evelyn Eastmond
89c0807cba
Reset position and expanded state of cards on activation.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
544a4c745d
Change drag offset var names.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
f6e9a7dd23
Remove console log from reducer, fix variable and comments in component.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
69132b6f43
Add variables for calculation of custom dragging bounds.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
aa88e2c6a6
Removing tester top/left positions.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
b89734b0e9
Add preliminary fencing div/overlay, with Paul's help.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
d5eb058d00
Fixing linting and an extra line.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
fe308b6b58
Commenting out div overlay hack for now.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
ab14942c80
Starting to play with Draggable for cards.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
908cb2e5c6
New close button and some margin for text.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
6935aa0820
Add formattedmessage to shrink/expand labels.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
4ec8ac16a8
Reword 'toggle' to 'shrinkExpand' throughout code.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
bfe2877d0b
Rename icon, add shrink expand icons to card header.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
9d50e9a165
Adding initial shrink/expand icons.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
eb496cfe75
Give cards a min-width so shrink/expand doesn't change size.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
dfd01da913
Using a hidden css style, cleaning up left/right button and card hiding.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
c8bdb6ce09
Change remove and toggle buttons flow to column for stacking layout.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
3169c03e66
Reverse order of close button icon and label.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
26323cccf2
Hide bottom border on header in shrink mode.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
2bb9a61539
Fixing right-card and card-preview to use toggle correctly.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
4efd3fcbad
Rename shrinkButton to toggleButton.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
170705440a
Adding toggle state to Cards. Using toggle state to set the CSS state.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
a52fdaa032
Completing propagation of toddleCards.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
6d972da227
Adding a stub toggleCards reducer.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
96bd677ef9
Starting to add an onToggleCards prop.
2019-05-07 11:42:40 -04:00
Evelyn Eastmond
b77bc7a8b4
Adding a new div to hold the shrink button.
2019-05-07 11:42:40 -04:00
Paul Kaplan
7b658c60c7
Merge pull request #4786 from paulkaplan/update-eslint-react
...
Update eslint-plugin-react and fix newly discovered lint errors.
2019-05-06 10:33:59 -04:00
Michael "Z" Goddard
65c787d0da
replace Blocks.utils.is3dSupported with constant value function
2019-05-01 17:31:39 -04:00
Paul Kaplan
ffeebb03bd
Update eslint-plugin-react and fix new lint errors.
...
This includes a small bug where the target pane wouldn't automatically update if changes to the sprite occured while in fullscreen/player mode.
Closes #4221
2019-05-01 11:01:44 -04:00
Eric Rosenbaum
ac0c6a4305
Merge pull request #4785 from ericrosenbaum/feature/enable-boost
...
Enable the boost extension
2019-05-01 10:22:09 -04:00
Ben Wheeler
516baedad9
added tests, rewrote menu-bar-hoc to accomodate tests
2019-05-01 07:02:07 -04:00
Michael "Z" Goddard
d83ec5a0b5
replace blocks timeout with a promise
...
The timeout as a promise lets us update the toolbox during the same
render as the workspace so that the screen updates all together. This
also means the toolbox will update before the loading screen is
dismissed after loading, letting us avoid a second flash for the
toolbox to update.
2019-04-30 16:36:52 -04:00
Eric Rosenbaum
1c8ba1d1eb
enable boost extension
2019-04-30 16:13:50 -04:00