Commit Graph
1453 Commits
Author SHA1 Message Date
Paul Kaplan a4603bce1d Merge pull request #2323 from paulkaplan/reorderable-sprites
Make costumes, sounds and sprites sortable
2018-06-14 13:22:17 -04:00
Paul Kaplan 421559cc2d Use drag constants to enumerate prop types 2018-06-14 10:41:16 -04:00
Paul Kaplan 7597568c23 Make raised and received blocks conditions more clear. 2018-06-14 10:37:30 -04:00
Karishma Chadha 071864c715 Enable comments 2018-06-13 18:35:36 -04:00
Paul Kaplan 22688a5c98 Move context menus for monitors outside of the document flow.
Fixes integration test which was failing trying to use the context menu
2018-06-13 15:07:13 -04:00
Paul Kaplan cdce9093d5 Use the same z-index for the stage add button 2018-06-13 11:31:01 -04:00
Paul Kaplan 98b0765051 Make costume and sound tabs sortable 2018-06-13 11:07:25 -04:00
Christopher Willis-Ford 648062da88 Tweak z-index of the button to add a sprite 2018-06-12 16:03:14 -07:00
Christopher Willis-Ford d0045d16c9 Fix stage size toggle button styling 2018-06-12 15:45:36 -07:00
Christopher Willis-Ford 2a347dc5fe Use keyMirror to ensure enum key-value sync 2018-06-12 14:47:37 -07:00
Christopher Willis-Ford 52614dc8cd Remove unnecessary destructuring 2018-06-12 14:39:34 -07:00
Christopher Willis-Ford 7294028274 Use Object.keys for stage size prop type checks 2018-06-12 10:40:50 -07:00
Christopher Willis-Ford 85acaf60f3 Use lodash.omit to exclude props from unpack 2018-06-12 01:15:04 -07:00
Christopher Willis-Ford f57295d08c Split STAGE_SIZE enum into two & clarify purposes
Also remove some obsolete code
2018-06-12 01:15:03 -07:00
Christopher Willis-Ford 40fd462b96 Force workspace to resize on stage size change 2018-06-12 01:15:02 -07:00
Christopher Willis-Ford ea7b2f6553 Make sprite info area adapt for small stage size 2018-06-12 01:15:02 -07:00
Christopher Willis-Ford b03064cccc Fix lint and React complaints 2018-06-12 01:15:02 -07:00
Christopher Willis-Ford cfb55514b5 Implement all staging logic in terms of stageSize
Pass a `stageSize` property down from a centralized `MediaQuery` in the
GUI component, and control the size of the stage and all surrounding
elements based on that value. Note that this is a pure property and is
not stored in the Redux state, since we gain access to the results of
the media query during `render()` and we shouldn't change Redux state
during `render()`.

Some stage-adjacent elements don't yet react correctly to the smallest
stage size.
2018-06-12 01:15:01 -07:00
Paul Kaplan bac0f365f8 Merge branch 'develop' into issue-2190-card-bounds 2018-06-11 14:43:59 -04:00
Paul Kaplan 9e96a560ca Merge pull request #2226 from sjhuang26/issue-2205-z-index
Move z-index values to separate file
2018-06-11 14:41:41 -04:00
Paul Kaplan aa2b949c72 Merge pull request #2303 from sjhuang26/issue-2188-backdrop
Fix "Opening the backdrop library causes the stage backdrop editor to become selected"
2018-06-11 14:38:24 -04:00
Paul Kaplan 5e824348e8 Merge pull request #2305 from sjhuang26/issue-2295-scroll-bar
Fix sprite selector scroll bar
2018-06-11 11:57:43 -04:00
Paul Kaplan 7328621ed5 Merge pull request #2309 from sjhuang26/issue-2267-extension-buttons
Change CSS
2018-06-11 11:54:48 -04:00
sjhuang26 535583e756 Change CSS 2018-06-10 17:37:30 -04:00
sjhuang26 1841710483 Change styles 2018-06-08 20:21:39 -04:00
sjhuang26 246da29621 Fix bug 2018-06-08 17:26:50 -04:00
sjhuang26 866fb27d50 Fix action menu click bubbling 2018-06-08 16:03:55 -04:00
sjhuang26 ab1645b311 Initial work 2018-06-08 15:11:40 -04:00
Ray Schamp 3d2fba1156 Revert "Add when touching hat"
This reverts commit 94915a9a5e.
2018-06-08 12:37:00 -04:00
Eric Rosenbaum 94915a9a5e Add when touching hat 2018-06-07 16:41:14 -04:00
Paul Kaplan 79950cddd4 Use the label field instead of value for analytics events 2018-06-06 10:39:59 -04:00
Paul Kaplan cea71b9081 Add a new analytics event for projects loaded from file 2018-06-06 10:39:59 -04:00
Paul Kaplan a4d62d127c Make load errors more specific to where they are coming from (file/url)
Also include the hash of the project in load errors from the server so we can debug them
2018-06-06 10:07:58 -04:00
sjhuang26 16e06223cd Change card margins 2018-06-04 17:05:22 -04:00
chrisgarrity e3e646243e Merge pull request #2234 from LLK/greenkeeper/scratch-l10n-3.0.20180604162003
Update scratch-l10n to the latest version 🚀
2018-06-04 16:32:05 -04:00
chrisgarrity 6834449a85 Update intl for l10n 3+ 2018-06-04 15:59:25 -04:00
Andrew Sliwinski efaa39432b Update libraries 2018-06-04 14:38:39 -04:00
sjhuang26 ec1e7cdd55 Change the order of z-index values 2018-06-02 16:02:52 -04:00
sjhuang26 582d591231 Move z-index values to separate file 2018-06-02 15:54:37 -04:00
Paul Kaplan 01aad5d93d Fix typo on "Make Chase Game" 2018-06-01 13:01:30 -04:00
Karishma Chadha 65b5f7c139 CSS updates for rendering block comments properly. 2018-05-31 17:16:32 -04:00
chrisgarrity bdfd22543f Merge pull request #2164 from apple502j/unvivaldi
Block Vivaldi
2018-05-31 15:46:09 -04:00
Paul Kaplan f56e99febf Merge pull request #2195 from SpeakkVisually/develop
Added Chase game, updated gallery links for change costume
2018-05-31 15:36:01 -04:00
Kristin Osiecki e63a8ef7c3 Added Chase game, updated gallery links for change costume 2018-05-31 13:22:15 -04:00
Paul Kaplan 4102179b2a Merge pull request #2175 from paulkaplan/backpack-step-2
Toggle backpack when backpack host param is available
2018-05-31 10:44:22 -04:00
Eric Rosenbaum cb521da0ba Add translate extension 2018-05-30 17:26:41 -04:00
Eric Rosenbaum c6437f2cc9 Merge pull request #2169 from sjhuang26/issue-2099-library-scroll
Reset scroll position when clicking library category button
2018-05-30 14:20:47 -04:00
Paul Kaplan 6efc26cac8 Use options object instead of individual props.
There will probably need to be more backpack config options in the future, so just make this a bit more future proof
2018-05-30 09:46:14 -04:00
Paul Kaplan 26d661f888 Merge pull request #2185 from Kenny2github/patch-1
Prevent dragging the "+" button
2018-05-30 09:28:18 -04:00
Ken a82cd38aa3 Prevent dragging the "+" button 2018-05-30 21:14:29 +08:00