Commit Graph
2891 Commits
Author SHA1 Message Date
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
Ben Wheeler 16024769c8 renamed confirm-replace-hoc to menu-bar-hoc; moved project changed checking there 2019-04-30 15:02:22 -04:00
Eric Rosenbaum 29d9bb0d41 Merge branch 'develop' into bugfix/go-space-direct 2019-04-23 17:25:06 -04:00
Paul Kaplan 9d185bd6c8 Merge pull request #4753 from paulkaplan/project-save-trigger
Allow GUI consumer to receive a function for triggering saves.
2019-04-23 08:32:36 -04:00
Paul Kaplan 7c26245c53 Merge pull request #4757 from paulkaplan/remove-feedback-button
Remove unneeded feedback button in menubar
2019-04-23 08:32:09 -04:00
Benjamin Wheeler cf9e165ccf Merge pull request #4676 from mzgoddard/menu-bar
Move projectChanged into HOC wrapping MenuBar, to avoid unnecessary renders
2019-04-19 17:29:10 -04:00
Eric Rosenbaum 905e938c57 Move the boost tile into the correct order 2019-04-19 14:55:11 -04:00
Eric Rosenbaum fe8b914f8d Add Boost extension assets 2019-04-19 14:45:54 -04:00
Paul Kaplan 6e50909e0f Remove feedback icon 2019-04-19 13:17:48 -04:00
Paul Kaplan 6480b262de Remove unused import 2019-04-19 13:17:26 -04:00
Paul Kaplan a0745e4f40 Allow GUI consumer to receive a function for triggering saves.
Use the same implementation as onSetProjectThumbnailer which does the same thing for getting a thumbnail externally.
2019-04-19 09:19:00 -04:00