Commit Graph
110 Commits
Author SHA1 Message Date
Eric Rosenbaum d9409f0f0c Cleanup test 2019-07-22 17:48:25 -04:00
Eric Rosenbaum 40dc8487f4 Fix off-by-one error in reverse effect, add a test 2019-07-22 17:47:44 -04:00
Eric Rosenbaum 1e147e4397 Fix tests 2019-07-09 15:32:29 -04:00
Eric Rosenbaum fdd4b61d5d Revert and fix tests
This reverts commit 42ff50300cff7558fd03cdebb757eca8caf85199.
2019-07-09 15:32:29 -04:00
Eric Rosenbaum 0d88c7755b Update tests 2019-07-09 15:32:28 -04:00
Paul Kaplan 0bbb11012d Merge pull request #4935 from LLK/drag-angle
Allow vertical scrolling of sprite tile pane on touch devices
2019-06-24 14:05:32 -04:00
chrisgarrity 164ddbe4f4 Revert "Revert "Merge pull request #4790 from LLK/e16n"" 2019-06-20 17:12:59 -04:00
picklesrus 8d3a85860e Revert "Merge pull request #4790 from LLK/e16n"
This reverts commit c061f2e2f0, reversing
changes made to 6e007b1e4a.
2019-06-20 11:21:56 -04:00
Paul Kaplan 8611c9ff1a Refactor gesture recognizer with tests 2019-06-19 11:26:42 -04:00
Chris Willis-Ford dc49c0ebe4 Merge branch 'develop' into e16n 2019-06-18 16:06:46 -07:00
Christopher Willis-Ford 7755f76215 simplify MockBlock construction 2019-06-18 14:15:43 -07:00
Christopher Willis-Ford 6e44bfea95 fix lint errors in define-dynamic-block.test.js 2019-06-18 11:37:17 -07:00
Christopher Willis-Ford a6fe8585fb add unit tests for defineDynamicBlock 2019-06-03 13:04:15 -07:00
Paul Kaplan eb74d6c033 Include a unit test to ensure default project assets are included 2019-05-23 11:22:36 -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
chrisgarrity 3e33c10b04 Fix mock store for project-saver-hoc test
Account for the addition of locale prop expected in mapStateToProps.
Note: if/when the telemetry code gets moved into its own hoc, the prop should get removed, and the test should get updated as well.
2019-03-12 16:13:44 -07:00
picklesrus 0dd0fd8e7a Merge pull request #4537 from picklesrus/init-locale-vm
Fixes #4253 by telling the vm the langauge when it is initialized.  B…
2019-02-27 16:37:31 -05:00
Paul Kaplan d301794463 Add a way for GUI consumer to retrieve snapshots of the stage 2019-02-15 14:21:37 -05:00
picklesrus 1aa241749b Fix up the tests and add a couple checks. 2019-02-12 11:41:32 -05:00
Paul Kaplan 655a179cb8 Merge pull request #4417 from paulkaplan/throttle-costume-updates
Throttle costume and watermark updates
2019-01-23 16:24:01 -05:00
Paul Kaplan d9c5ad6aa4 Use curried style for HOC configuration 2019-01-23 15:56:23 -05:00
Paul Kaplan 0bc6de1362 Throttle updates to assets on sprite selector item via HOC
Adds unit tests for this HOC.
2019-01-23 14:30:41 -05:00
Paul Kaplan d3511f6020 Disable target updates while sound recording 2019-01-22 14:26:16 -05:00
Benjamin Wheeler 765e4bd74a Merge pull request #3937 from benjiwheeler/alert-text
use blue creating screen for new projects; revised alert text for copy/remix
2018-12-07 09:17:08 -05:00
Ben Wheeler da66dd9766 fixed tests 2018-12-06 14:47:24 -05:00
Benjamin Wheeler c7c64b1bff Merge pull request #3965 from benjiwheeler/handle-is-remixing2
handle the onRemixing prop from www
2018-12-06 13:41:09 -05:00
Paul Kaplan c0e105dd94 Bind vm project_start event to passed in onGreenFlag prop 2018-12-06 11:49:06 -05:00
Ben Wheeler 96fd7b0818 added tests for onRemixing 2018-12-06 08:41:02 -05:00
Paul Kaplan 09a22e061f Add an alert that is shown when you first add a cloud variable 2018-12-04 15:12:23 -05:00
Karishma Chadha 6bdf803028 Add unit test for new hasCloudPermission prop. Update existing tests. 2018-12-03 15:00:37 -05:00
Benjamin Wheeler bcca5bf1e8 Merge pull request #3856 from benjiwheeler/autosave-draft
autosave periodically when project is dirty
2018-11-28 19:28:09 -08:00
Ben Wheeler 5d36b584d0 make project saver tests pass; correct misnamed action 2018-11-28 19:08:58 -08:00
Ben Wheeler c326e3f073 made tests for autosaving on a schedule 2018-11-28 16:08:39 -08:00
Karishma Chadha 2ca51904b4 Clean up merge conflict resolution. 2018-11-28 18:37:55 -05:00
Karishma Chadha 9fc6d85ce6 Merge branch 'develop' into editor-cloud-disconnect 2018-11-28 18:27:32 -05:00
Ben Wheeler acdebc65da fixed test for auto saving 2018-11-28 15:14:33 -08:00
Karishma Chadha db57175a90 Connect to cloud if project has cloud data. Disconnect if it doesn't.
Queue up messages to send ot the cloud server which accumulate before 
the connection is ready. Add tests for new/updated functionality.
2018-11-28 17:07:34 -05:00
Karishma Chadha 143dd5e106 Add unit tests for disconnecting from cloud when viewing a project in editor mode without the ability to save. 2018-11-27 18:08:38 -05:00
Paul Kaplan f659dfbc3c Move the started flag to the vmStatus reducer 2018-11-27 15:00:34 -05:00
Paul Kaplan 59df9b6ca5 Do not auto-start the VM in player mode. Always start before green flag. 2018-11-27 11:25:04 -05:00
Karishma Chadha 9fe4bc50e7 Add unit tests for new renameVariable and deleteVariable APIs. 2018-11-20 15:09:40 -05:00
Karishma Chadha 162d61ae70 Merge pull request #3821 from kchadha/cloud-bugfixes
Cloud bugfixes
2018-11-20 13:44:55 -05:00
Karishma Chadha 7acaf1cb06 Merge pull request #3824 from kchadha/day-of-week-label-fix
Fix monitor label for day of week block.
2018-11-20 00:20:19 -05:00
Karishma Chadha 3545d3d097 Refactor shouldDisconnect logic and add more disconnection unit tests. 2018-11-20 00:14:10 -05:00
Benjamin Wheeler da976f4b2c Merge pull request #3776 from benjiwheeler/menu-bar-messages
menu bar save messaging; self-dismissing alerts
2018-11-19 17:53:50 -05:00
Paul Kaplan fed9ee518e Merge pull request #3818 from paulkaplan/reconnect-cloud
Add exponential backoff for cloud provider.
2018-11-19 15:53:05 -05:00
Karishma Chadha 340d368791 Set VM's cloud provider to null when disconnecting from the cloud server. Add unit test for disconnecting on unmount. 2018-11-19 13:16:38 -05:00
Paul Kaplan a6e4f1f436 Make sure to always wait at least 1 interval before reconnecting. 2018-11-19 12:29:47 -05:00
Paul Kaplan 2b92ff4e06 Be more careful about when connection attempt is incremented 2018-11-19 11:57:27 -05:00
Paul Kaplan 10b611ad8f Keep track of and log the real connection attempt number and update test 2018-11-19 10:17:45 -05:00