Commit Graph
2619 Commits
Author SHA1 Message Date
Nikhil Jha 9da0937ebb Remove References 2019-01-28 16:52:46 -08:00
Nikhil Jha 8459c67cee Actually fully remove preview modal. 2019-01-23 14:19:50 -08:00
Nikhil Jha 5b75c2e971 Revert "Fix #4262: Saving with Ctrl/Cmd + S"
This reverts commit e2ee0e06f7.
2019-01-23 08:44:32 -08:00
Nikhil Jha 28fbb5352c Fully delete preview modal. 2019-01-22 14:27:16 -08:00
Nikhil Jha e2ee0e06f7 Fix #4262: Saving with Ctrl/Cmd + S 2019-01-22 14:03:28 -08:00
Nikhil Jha 9c6bb6984b Fix #4263: Remove Preview Modal 2019-01-22 13:39:22 -08:00
Eric Rosenbaum ff473e8fb0 Merge pull request #3922 from evhan55/extensions/disconnect-errors
Peripheral disconnect status using new runtime/vm event
2019-01-18 16:59:22 -05:00
Benjamin Wheeler 4498ba3724 Merge pull request #4385 from LLK/revert-4374-revert-4359-delete-select
Add BorderedMenuItem and use it for delete menu, with updated style
2019-01-18 16:57:12 -05:00
Ben Wheeler 7fb57a03d8 use error-primary color rather than error-light 2019-01-18 16:47:51 -05:00
Paul Kaplan eb8746382c Merge pull request #4389 from paulkaplan/fix-sound-reord
Fix sound reorder crash
2019-01-18 15:20:48 -05:00
Paul Kaplan 1146689f42 Fix sound reorder bug.
We were emitting drops when getMouseOverIndex was null, which could happen either when the drop is outside the container, or there were zero boxes to check for ordering. Treat these two cases separately, and continue to not emit drops when outside the container.
2019-01-18 15:14:06 -05:00
Paul Kaplan 5e2055fc84 Revert "Merge pull request #4354 from paulkaplan/fix-backpack-sprite"
This reverts commit 97f8eb63b4, reversing
changes made to 2e017f060f.
2019-01-18 15:09:12 -05:00
Ben Wheeler 3bbfe94d19 reduced size, color intensity of sprite context menu separator 2019-01-18 14:12:13 -05:00
Benjamin Wheeler 1d28f52161 Revert "Revert "Adds BorderedMenuItem and use it for delete menu"" 2019-01-18 13:39:06 -05:00
Paul Kaplan 8be41dda09 Fix backpack squishing 2019-01-17 15:31:08 -05:00
Paul Kaplan dfc13e2e54 Fix ordering to allow close button to be clicked.
The previous change that made the images laid out using absolute meant that the close button was layered below the sprite image, making it now clickable
2019-01-17 09:14:47 -05:00
Paul Kaplan 980a6acd53 Revert "Adds BorderedMenuItem and use it for delete menu" 2019-01-17 09:03:17 -05:00
Evelyn Eastmond c1ad2b51b6 Changes to event names to clarify them. 2019-01-16 20:48:49 -05:00
Evelyn Eastmond d72d2c5de2 Adding a new runtime event for peripheral disconnects that are intentional. 2019-01-16 20:48:49 -05:00
Karishma Chadha d2f834d702 Merge pull request #4362 from paulkaplan/layout-perf
Improve layout/paint performance in editor while running a project
2019-01-16 15:45:23 -05:00
Karishma Chadha 97f8eb63b4 Merge pull request #4354 from paulkaplan/fix-backpack-sprite
Fix issue where you couldn't add sprites from backpack when there are no sprites
2019-01-16 15:39:13 -05:00
Benjamin Wheeler 2e017f060f Merge pull request #4359 from apple502j/delete-select
Adds BorderedMenuItem and use it for delete menu
2019-01-16 15:23:49 -05:00
Ben Wheeler 6f543ae36c Refactored the css for sprite context menu items a bit to separate classes 2019-01-16 15:22:28 -05:00
Paul Kaplan 7b217c6fce Make sprite selector item absolutely position images to prevent layouts
On some projects, the sprite image changes frequently, which can cause global layouts and paints if we arent careful. Use the same absolute positioning strategy from the sprite library animations to contain layouts to the sprite image itself
2019-01-16 11:09:39 -05:00
apple502j 97f2241635 Adds BorderedMenuItem and use it for delete menu 2019-01-16 12:26:42 +09:00
Paul Kaplan a2cc320d1f Clear trim handles if trim cannot be completed.
There was a useability issue discovered in testing where trying to trim a sound to be of zero length would fail, but just leave the trimmers active. Clear them out, since the trim is invalid
2019-01-15 15:25:26 -05:00
Paul Kaplan 16994e35f8 Allow drop event in sortableHOC even when there are no items to sort.
This is used because the sortable drop is also used for general dropping as well as sorting drop, so you need to be able to drop into a sortable list that does not contain any items.

Make the corresponding reorder code be more careful to check if there is a newIndex.
2019-01-15 12:42:34 -05:00
Paul Kaplan 4d136c727b Merge pull request #4339 from paulkaplan/prevent-large-sounds
Prevent creating sounds that are too big in the sound editor
2019-01-15 12:25:00 -05:00
Paul Kaplan 50a9541999 Merge pull request #4338 from paulkaplan/fix-sound-recorder-issues
Fix sound recorder issues
2019-01-15 12:24:47 -05:00
Paul Kaplan 2e30f1d426 Limit the size of sounds coming from effects. 2019-01-14 13:10:55 -05:00
Paul Kaplan 395b3d9d8f Prevent 0 sample sounds while trimming #715 2019-01-14 12:54:34 -05:00
Paul Kaplan 329a6b5fd6 Fix typo in alert message 2019-01-14 12:20:30 -05:00
Paul Kaplan 3f51775f07 Only stop recording if we have collected some samples.
On slow machines it was possible to double click record before the chunk of samples had been processed, causing zero-length audio buffers
2019-01-14 12:20:20 -05:00
Paul Kaplan f3c15c402f Prevent auto-trim from producing invalid start and stop points 2019-01-14 12:17:52 -05:00
Karishma Chadha 214393f060 Merge pull request #4315 from kchadha/fix-backpack-mp3
Allow putting mp3 sounds in the backpack.
2019-01-14 12:05:51 -05:00
Paul Kaplan db946df68b Merge pull request #4322 from paulkaplan/show-loading-fullscreen
Show loading screen in fullscreen mode
2019-01-11 13:32:22 -05:00
chrisgarrity c89d452fb3 Merge pull request #4314 from chrisgarrity/clickable-flag-overlay
Make whole stage clickable for green flag overlay
2019-01-11 13:18:53 -05:00
Paul Kaplan ae8ba47441 Cover the fullscreen player mode stage with a loading screen 2019-01-11 11:02:09 -05:00
Paul Kaplan 15c9c1fbeb Pass isRTL to the stage wrapper in both player and editor modes.
Discovered this while trying to pass other props to the stage wrapper, we were not passing isRTL to the stage wrapper, causing ask/answer bubble to not display the right direction.
2019-01-11 10:58:19 -05:00
Ben Wheeler 95b11a7b7d resolve function name conflict by renaming onProjectLoaded in project-fetcher-hoc
https://github.com/LLK/scratch-gui/pull/4312 had a function name conflict with the existing code. This change fixes that by renaming the conflicting function, and removes redundant code.
2019-01-10 17:28:40 -05:00
Karishma Chadha 40de587b0d Allow putting mp3 sounds in the backpack. 2019-01-10 14:55:33 -05:00
chrisgarrity 07eb519b09 Make whole stage clickable for green flag overlay
Move the onClick handler to the overlay wrapper so that the whole stage is clickable to start the project instead of just the green flag button
2019-01-10 14:21:09 -05:00
chrisgarrity 86a51bdbf8 Merge pull request #4312 from chrisgarrity/feature/support-onprojectloaded
add support for onProjectLoaded
2019-01-10 13:59:39 -05:00
chrisgarrity 5330a07045 Merge pull request #4298 from chrisgarrity/issue/null-flyout
check for non-null flyout
2019-01-10 13:59:14 -05:00
chrisgarrity 4aef0e0cb0 add support for onProjectLoaded
www needs to know when a project finishes loading so that remixing can be disabled while the project is in a state that cannot be remixed.
2019-01-10 10:38:41 -05:00
chrisgarrity cf5183a3ee Revise how unsupported browsers are handled
Browsers other than IE will be allowed to load the GUI.
However, if there is an error, the error boundary will display an unsupported browser message recommending they update to the latest version of a supported browser.

For the purposes of this PR, ‘supported’ means you can load the gui (anything other than IE), and recommended is just the browsers that meet our minimum requirements for Chrome, Firefox, Edge and Safari.
2019-01-09 12:24:01 -05:00
chrisgarrity 213ef4bad7 check for non-null flyout 2019-01-08 17:58:14 -05:00
Paul Kaplan d3608ead52 Revert "Check for minimum versions of recommended browsers" 2019-01-08 16:08:06 -05:00
Paul Kaplan 4af0e92465 Merge pull request #4287 from chrisgarrity/issue/unsupported-versions
Check for minimum versions of recommended browsers
2019-01-08 14:02:36 -05:00
chrisgarrity b129c1e1bb Check for minimum versions of recommended browsers 2019-01-08 09:14:07 -05:00