Commit Graph
1972 Commits
Author SHA1 Message Date
Andrew Sliwinski 421d673e71 Add EV3 and microbit to extensions library. Resolves GH-1545. Resolves GH-1655 2018-04-13 10:13:19 -04:00
Ray Schamp 23ea50f1a0 Merge pull request #1772 from rschamp/greenkeeper-pls/upgrade-vm
Update scratch-vm
2018-04-13 09:57:38 -04:00
Ray Schamp 1ea08d41f8 Update scratch-vm 2018-04-13 09:56:39 -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
Paul Kaplan 09e0c60607 Fix proptype warning 2018-04-12 13:56:05 -04:00
Ray Schamp cde8a78e86 Hook up save and load buttons
These use a technique where the save/load functionality is passed from the component to its children via a function argument.  I opted for this rather than a higher order component because it is more readable and requires fewer intermediary components.

This could just as easily been done with a higher order component and would be happy to change it to that instead.

There is a performance implication since there is a function being defined in render. However the menu bar is not a highly re-rendered component, so I thought it would be ok in this case.
2018-04-12 13:34:18 -04:00
Paul Kaplan 4217fd65c0 Make the sprite jump back to original position if dropped off stage. 2018-04-12 13:19:34 -04:00
Paul Kaplan e729974e90 Merge pull request #1763 from LLK/greenkeeper/scratch-blocks-0.1.0-prerelease.1523542868
Update scratch-blocks to the latest version 🚀
2018-04-12 11:50:19 -04:00
Paul Kaplan cb960e5a28 Add editor drag mode for popping sprites of stage.
Also integrate the "ignore draggability, always drag" behavior of editor
mode.

Right now, editor drag mode is hooked up to the "isFullscreen" flag,
since it is the closest thing we have to player mode now.
2018-04-12 11:46:25 -04:00
Ray Schamp bab8ddabc4 Clean up menu positioning 2018-04-12 10:51:25 -04:00
Ray Schamp e33d73269a Fix cat avatar
Sorry @carljbowman
2018-04-12 10:42:51 -04:00
greenkeeper[bot] 0e33d30fb7 chore(package): update scratch-blocks to version 0.1.0-prerelease.1523542868 2018-04-12 14:22:18 +00:00
Ray Schamp b30d3ed230 Consolidate coming soon tooltips into a component
Mostly to remove the repeated props
2018-04-12 10:19:16 -04:00
Ray Schamp defd8b0b44 Rename menu item class name
We have actual menu items now so the things that were menu items should be considered menu bar items
2018-04-12 09:57:41 -04:00
Ray Schamp bad41dab97 First pass on menus
They open and close what more do you want?
2018-04-12 09:51:21 -04:00
Ray Schamp 1a548f75ec Merge pull request #1761 from rschamp/better-error-messages
Add more information to error boundary messages
2018-04-12 09:49:24 -04:00
Ray Schamp a3b8a917aa Remove the redundant error line
The error message is included in the first line of the stack
2018-04-12 09:39:15 -04:00
Ray Schamp cd4a055bb7 Add more information to error boundary messages
While working on the menubar, I couldn't find the source of an error. This adds more stack info to the error messages emitted by the error boundary.
2018-04-11 21:04:14 -04:00
kchadha 7eb6e32778 Merge pull request #1738 from kchadha/default-project-precompression
Update default project with new more compact serialization.
2018-04-11 19:57:38 -04:00
kchadha b5335eeb0a Merge branch 'develop' into default-project-precompression 2018-04-11 19:43:19 -04:00
Karishma Chadha bbfe830bc8 Update scratch-vm version. 2018-04-11 19:34:05 -04:00
Paul Kaplan 2d3c0fa146 Merge pull request #1754 from paulkaplan/sprite-tile-update
Add costume size/sound length details to sprite tile and update styling
2018-04-11 13:43:08 -04:00
Paul Kaplan ce3fadd27e Merge branch 'develop' into sprite-tile-update 2018-04-11 13:42:53 -04:00
Paul Kaplan 2065447a7a Update scratch vm and render 2018-04-11 13:41:34 -04:00
Paul Kaplan dcf2b5c84d Merge pull request #1755 from LLK/greenkeeper/scratch-paint-0.2.0-prerelease.20180410152401
Update scratch-paint to the latest version 🚀
2018-04-11 09:19:21 -04:00
Paul Kaplan 90cf282f23 Merge pull request #1757 from helioh2/develop
Fixing issue #1753
2018-04-11 08:57:42 -04:00
Helio 50609c4568 Fixing issue #1753 - Style fixing 2018-04-10 15:30:32 -03:00
Helio 4bfd99659b Fixing issue #1753 2018-04-10 15:25:46 -03:00
greenkeeper[bot] a9e33dfc7e chore(package): update scratch-paint to version 0.2.0-prerelease.20180410152401 2018-04-10 15:24:17 +00:00
Paul Kaplan af9a178f80 Fix linting 2018-04-10 10:03:55 -04:00