Commit Graph
291 Commits
Author SHA1 Message Date
chrisgarrity fdfd9d64f2 re-refactor after fixing merge conflicts 2018-11-19 09:18:38 -05:00
Paul Kaplan 8a71501c13 Merge pull request #3794 from paulkaplan/fix-cloud-init
Support multiple commands from cloud data server
2018-11-16 08:20:11 -05:00
Paul Kaplan f98831e311 Support multiple commands from cloud data server 2018-11-15 16:49:15 -05:00
Benjamin Wheeler f0251a302b Merge pull request #3779 from benjiwheeler/error-alerts
saving, creation errors use alerts; alerts css improvements
2018-11-15 13:40:33 -05:00
Paul Kaplan bb6eb6b36d Merge pull request #3749 from kchadha/create-cloud-var
Create cloud vars
2018-11-15 09:17:32 -05:00
Ray Schamp 70a622280f Fix tests 2018-11-15 11:22:40 +00:00
Ben Wheeler 2766c9a28c saving, creation errors use alerts; alerts css improvements 2018-11-14 23:42:12 -05:00
Karishma Chadha 4ecd312954 Add unit tests for cloud manager hoc. 2018-11-14 21:37:39 -05:00
Paul Kaplan efb3647a1c Merge pull request #3741 from paulkaplan/letter-filter
Filter for letters in the sprite/costumes libraries
2018-11-14 09:52:59 -05:00
Paul Kaplan 1550c9e884 Add letters tag for libraries and integration tests for using it 2018-11-14 09:38:48 -05:00
Paul Kaplan 93587c7ba1 Prevent crash after deleting sprite that had been highlighted 2018-11-13 16:27:54 -05:00
chrisgarrity c9b87382db Merge pull request #3694 from chrisgarrity/feature/3643-all-tutorials
Start Gui with Tutorials Library open for HoC
Also export Tutorial Card initialization for www.
2018-11-12 10:12:07 -05:00
chrisgarrity 2e08c39213 Add tests 2018-11-08 11:18:13 -05:00
Ben Wheeler c8b659f48c added alerts test, use named constant instead of raw strings 2018-11-08 08:02:30 -05:00
Ben Wheeler 82578d3d6f added tests for alerts 2018-11-08 08:02:30 -05:00
Ben Wheeler 7c1ecec840 got tests passing 2018-11-08 08:02:30 -05:00
Ray Schamp 554df59547 Merge pull request #3619 from paulkaplan/fix-cloud-backpack
Fix backpack crashing the GUI when trying to store a cloud variable
2018-11-08 10:16:52 +00:00
Paul Kaplan a4f4209973 Merge pull request #3667 from paulkaplan/add-test-for-sprite-upload
Add tests for uploading sprite and costume by file
2018-11-07 12:28:53 -05:00
Eric Rosenbaum 5e1a2b65e4 Add test for Scratch Link unavailable error modal (#3670)
* Add test for Scratch Link unavailable error modal

* update vm
2018-11-07 11:52:20 -05:00
Benjamin Wheeler cedaa69672 Merge pull request #3651 from benjiwheeler/remove-save-beta
removed save and save copy from beta; better menu section style handling
2018-11-07 11:09:48 -05:00
Paul Kaplan 04fe42bd38 Use path.resolve the same way the build is loaded 2018-11-07 09:10:42 -05:00
Paul Kaplan c6055710a5 Add tests for uploading sprite and costume by file 2018-11-06 16:33:46 -05:00
Ben Wheeler 76449ed6ce changed menu test to look for upload and download, not save and save copy 2018-11-05 17:28:01 -05:00
Paul Kaplan e453fe2c00 Fix problem with updating cloud vars to zero.
Added a unit test and covered the other case (not used) where you might be trying to update the index zero of a list
2018-11-05 15:17:40 -05:00
Paul Kaplan 554343968b Add unit test for base64 encoding 2018-11-02 16:03:22 -04:00
Paul Kaplan ed21909f07 Pass onActivateBlocksTab to sprite library to switch tabs after adding.
I forgot that the integration test needs to try clicking, because finding text will find invisible text as well
2018-11-01 11:07:34 -04:00
Benjamin Wheeler 92b438b7b7 Merge pull request #3493 from benjiwheeler/storage-remix-copy
send params in storage request body, so that remixing and saving as copy create links to original projects
2018-10-30 20:30:54 -04:00
Paul Kaplan 130bd3f05c Add integration test for changing languages not clearing project 2018-10-30 14:05:30 -04:00
Ben Wheeler 5511c7dead added project-saver-hoc tests 2018-10-28 01:02:35 -04:00
Ray Schamp 3b90ac207b Return early if no query param
This prevents a tutorial with no urlId being returned in the case of no tutorial query param

Nice catch @kchadha!
2018-10-25 19:22:16 +01:00
Ray Schamp e2d5a88549 Use names for tutorial URL ids 2018-10-25 18:07:12 +01:00
Ben Wheeler 5f19b7e272 updated to conform to merged changes to error handling 2018-10-24 11:51:53 -04:00
Ben Wheeler 80f4e01d47 remix and save as a copy functionality
made remixing, saving as copy states; made project state naming more consistent

changed meaning of canCreateNew to true creation

fixed project-saver-hoc test

removed Remix option from standalone player menu; renamed canSaveAsCopy to canCreateCopy

added parenthesis missing from rebase

fixed create new test
2018-10-24 11:29:35 -04:00
Benjamin Wheeler 4fd0019d5d Merge pull request #3436 from benjiwheeler/project-state-error
use project state error for project state related errors
2018-10-24 11:17:48 -04:00
Paul Kaplan db1d5bd25f Merge pull request #3473 from paulkaplan/switch-to-code-after-sprite
Make sure to switch back to code when adding new sprites
2018-10-23 16:21:16 -04:00
Paul Kaplan 57aed74998 Merge pull request #3470 from paulkaplan/fix-dragging-tiles
Fix dragging tiles
2018-10-23 12:21:52 -04:00
Paul Kaplan b12ea50c3d Make sure to switch back to code when adding new sprites 2018-10-23 12:16:47 -04:00
Eric Rosenbaum 133a86a110 Add a space after ‘apple’ in the join block (#3467)
* Add a space after ‘apple’ in the join block

* Fix integration test
2018-10-23 11:53:26 -04:00
Paul Kaplan f6b5253550 Update snapshots 2018-10-23 11:52:35 -04:00
Ben Wheeler 0d642de891 changed errorMessage to error 2018-10-23 11:21:45 -04:00
Ben Wheeler 9749888361 renamed errStr to errorMessage 2018-10-22 16:56:39 -04:00
Ben Wheeler f9780fb146 removed commented out test 2018-10-19 10:19:46 -04:00
Ben Wheeler 37e2bf3212 added one more vm-manager-hoc.test fix 2018-10-19 08:02:41 -04:00
Ben Wheeler b0c4bee84b handle many modes of new project creation
responding to canSave without needing canSaveNew prop
removed canSaveNew
added default for onUpdateProjectId
removed conflict files erroneously added
don't pass down onError
got tests passing
better creating and saving logic and names
2018-10-18 17:46:30 -04:00
Andrew Sliwinski 2ec69f1890 Merge pull request #3382 from chrisgarrity/feature/3230-translate-videos
Add video translation
2018-10-18 08:19:32 -04:00
Andrew Sliwinski 41fc932ebb Merge pull request #3366 from fsih/preloadFonts
Preload fonts
2018-10-18 08:19:03 -04:00
Ben Wheeler 28cc6d45ac cleaned up test file 2018-10-17 16:49:25 -04:00
Ben Wheeler 76e11e0ed7 got sb-file-uploader tests working 2018-10-17 15:50:54 -04:00
Ben Wheeler bde0f7aa1c r 2018-10-17 15:50:54 -04:00
Ben Wheeler f760e15e76 made upload title extraction into separate testable function; tests not working yet 2018-10-17 15:50:54 -04:00