Commit Graph
1135 Commits
Author SHA1 Message Date
chrisgarrity d0f5998f8a handle projectId as prop
Update project-loader to look for project id as prop (i.e. from www), and fall back to hash.
2018-04-19 14:38:14 -04:00
chrisgarrity 55800bce4d Fix up localization after rebasing on LLK/develop 2018-04-19 14:38:14 -04:00
chrisgarrity ca898cedcb Add documentation and fix lint 2018-04-19 14:38:13 -04:00
chrisgarrity c1d53b3599 Update build and move project-loader back to lib
- export image and sounds in dist/static/assets
- rename main export (`scratch-gui.js`, not `index.js`)
- move project-loader-hoc back to lib (VM doesn’t load properly without it)
2018-04-19 14:38:13 -04:00
chrisgarrity 924c2aefc0 Make Error Boundary into HOC
Don’t translate IE error modal, if there are errors during the `connect` process the `IntlProvider` doesn’t get set up and the error modal can’t be shown.
2018-04-19 14:38:12 -04:00
chrisgarrity a569a170f7 Move ErrorBoundary into playground 2018-04-19 14:38:11 -04:00
chrisgarrity b38807289a Export GUI as library 2018-04-19 14:38:11 -04:00
chrisgarrity fe1cb9585b Pass intl as prop to GUI
Allow intl to be passed in to GUI as a prop (rather than having to be already in the store)
2018-04-19 14:38:10 -04:00
Andrew Sliwinski 93d9b4a632 Merge pull request #1800 from thisandagain/bugfix/1739
Reorder and add default arguments to gt, lt, eq blocks
2018-04-19 14:37:51 -04:00
Andrew Sliwinski a18686d5da Merge pull request #1798 from thisandagain/bugfix/1797
Adjustments to string operator default arguments
2018-04-19 14:37:05 -04:00
Ray Schamp 07516a9c8b Merge pull request #1787 from gnarf/unique-toolbox-ids
Use unique ids for the toolbox elements that change per sprite
2018-04-18 12:00:51 -04:00
Andrew Sliwinski 6408a50c45 Merge pull request #1786 from thisandagain/bugfix/feedback
Remove feedback form
2018-04-17 15:12:07 -04:00
kchadha 3d55a394c5 Merge pull request #1802 from thisandagain/bugfix/1652
Resolve issue with costume Button 4-b
2018-04-17 14:42:18 -04:00
kchadha 11a4af31b3 Merge pull request #1779 from kchadha/file-upload
Upload a sound file
2018-04-17 14:39:44 -04:00
Andrew Sliwinski 96c26f300f Resolve issue with costume Button 4-b. Resolves GH-1652 2018-04-17 12:59:51 -04:00
Karishma Chadha 5be07c4a58 Removing remnants of debugging... 2018-04-17 11:19:03 -04:00
Andrew Sliwinski ae74b0ea72 Reorder and add default arguments to gt, lt, eq blocks. Resolves GH-1739 2018-04-17 10:52:04 -04:00
Andrew Sliwinski 9c4040022d Adjustments to string operator default arguments. Resolves GH-1797 2018-04-17 10:47:18 -04:00
Karishma Chadha ffdf121a0e Fix issue where loading a project while in costume tab yields oops page. 2018-04-17 09:17:06 -04:00
Corey Frang befcbb2945 Use unique ids for the toolbox elements that change per sprite 2018-04-13 14:06:23 -04:00
Andrew Sliwinski d1ace5f7d0 Remove feedback form 2018-04-13 13:33:33 -04:00
Karishma Chadha 0607a2b891 Update prop type validation 2018-04-13 12:07:32 -04:00
Paul Kaplan bc6d987d1e Merge pull request #1774 from thisandagain/bugfix/1759
Adjust language in selectors and libraries
2018-04-13 11:40:21 -04:00
Karishma Chadha 0b442fe7ea minor refactor 2018-04-13 11:36:29 -04:00
Karishma Chadha cf7ed28711 Fix issue with sound upload button not always working, and correctly cache sound type if given an mp3. 2018-04-13 11:10:48 -04:00
Karishma Chadha 17f5ed7a4c upload sound from a file 2018-04-13 11:10:48 -04:00
Andrew Sliwinski 85317d27f1 Apply changes to costume library 2018-04-13 10:36:59 -04:00
Andrew Sliwinski 2b1a66cd8a Adjust language in selectors and libraries. Resolves GH-1759 2018-04-13 10:32:39 -04:00
Andrew Sliwinski 421d673e71 Add EV3 and microbit to extensions library. Resolves GH-1545. Resolves GH-1655 2018-04-13 10:13:19 -04:00
Paul Kaplan ae618cdba8 Merge pull request #1769 from ericrosenbaum/feature/re-order-motion
Re-order motion blocks
2018-04-13 09:18:30 -04:00
Paul Kaplan b5a25aff54 Merge pull request #1766 from rschamp/menubar-dropdowns
Add File and Edit menu dropdowns
2018-04-13 09:18:20 -04:00
Paul Kaplan 694e9c5da7 Merge pull request #1764 from paulkaplan/sprite-drag
Add editor drag mode for popping sprites of stage.
2018-04-13 09:11:08 -04:00
Eric Rosenbaum 3ab8009301 Re-order motion blocks 2018-04-12 18:45:41 -04:00
Ray Schamp ab6f8757d5 Rename LoadButton and add docs 2018-04-12 18:23:52 -04:00
Ray Schamp 0f84d7739a Rename SaveButton to ProjectSaver and add docs 2018-04-12 18:17:31 -04:00
Ray Schamp 28ebb66136 Menu items should be bold 2018-04-12 17:39:07 -04:00
Ray Schamp 4c8d76b061 Match edit clickability to file
There's a subtle difference in behavior between mouseup and click. Using mouseup allows you to close the menu by clicking its opener item.
2018-04-12 17:26:12 -04:00
Ray Schamp 47d4afa3f6 Be more succinct with the open prop 2018-04-12 17:03:04 -04:00
Ray Schamp 76171a8fa2 Only pointer pointy things 2018-04-12 16:57:30 -04:00
Ray Schamp b1c14677b2 Bump up logo size, and remove transform 2018-04-12 16:50:48 -04:00
Ray Schamp 0410344c01 Don't disable the preview modal for everyone
whoops
2018-04-12 16:42:46 -04:00
Ray Schamp 25dbc25272 De-cruft 2018-04-12 16:35:18 -04:00
Ray Schamp 5f3cc97633 Add edit menu 2018-04-12 16:33:52 -04:00
Ray Schamp 7b80e44370 Fix menu border radius 2018-04-12 16:28:03 -04:00
Ray Schamp 241598c5aa Fix hover states 2018-04-12 16:27:28 -04:00
Ray Schamp 5f8f0481fe Dropdown drop shadow, dropped a bit from the comp
It's shifted downward to not overlap the menubar, since it's hard to make a child z-indexed below its parent.
2018-04-12 15:47:47 -04:00
Ray Schamp f116363403 Add dividers
It's a cleaner API IMO but ended up being a messy implementation...
2018-04-12 15:13:43 -04:00
Ray Schamp 56b431da04 Highlight on hover/active 2018-04-12 14:21:30 -04:00
Ray Schamp d47a065090 Finish .menu-bar -> .menu-bar-item rename 2018-04-12 14:21:17 -04:00
Paul Kaplan 62fe9a9dcb Update some css to allow dragging to work in Edge 2018-04-12 14:08:55 -04:00