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
DD
80bee42410
Remove child rendered test and add no load test if fonts are not loaded
2018-10-17 14:33:21 -04:00
Karishma Chadha
e7ea9558ed
Merge pull request #3342 from kchadha/selection-state-watermark
...
Add sprite/stage watermark to the blocks workspace.
2018-10-17 13:57:42 -04:00
Benjamin Wheeler
e2a280eed8
Merge pull request #3360 from benjiwheeler/project-state-reducer-tests
...
project state reducer tests, bug fixes
2018-10-17 07:03:47 -04:00
DD
b4395d7905
Fix tests
2018-10-16 19:39:36 -04:00
Benjamin Wheeler
1c7126158b
Merge pull request #3364 from benjiwheeler/capabilities
...
use can__ boolean properties to explicitly set user capabilities
2018-10-16 15:09:23 -04:00
Ben Wheeler
dc9edbfd66
removed test for setting null projectid
2018-10-16 15:07:03 -04:00
Karishma Chadha
b5e9794232
Fix unit tests
2018-10-15 18:32:03 -04:00
Ben Wheeler
f89585728c
changed projectId int to string
2018-10-15 15:50:26 -04:00
chrisgarrity
2bf7c91fe4
Add video translation
...
* Look up video id based on locale.
* add japanese video ids
* add test
2018-10-15 15:26:27 -04:00
Ben Wheeler
9e1744f2a6
made project-state reducer use string projectId consistently
2018-10-15 15:04:23 -04:00
Ben Wheeler
8c777a6a35
renamed project state reducer tests with more descriptive names
2018-10-15 14:06:03 -04:00
Ben Wheeler
2ac74e6513
added test for menu-bar enabled and disabled elements
2018-10-15 13:36:27 -04:00
Ray Schamp
03b440beb4
Merge pull request #3350 from rschamp/hoc-tests
...
Add project loading HOC tests
2018-10-15 10:57:43 +01:00
Ben Wheeler
5933082854
project state reducer tests
2018-10-13 17:10:33 -04:00
Ray Schamp
1e086d9712
Improve ProjectFetcherHOC test
...
This ensures that the reducer is actually called with the project data that storage loaded
2018-10-11 18:29:00 +01:00
chrisgarrity
8ffae77ffe
Merge pull request #3188 from ianobermiller/issue-3167-invalid-tutorial-id
...
Robust URL handling for tutorial and locale
2018-10-11 13:28:03 -04:00
Ray Schamp
616281ea35
Add VMManagerHOC tests
2018-10-11 18:22:17 +01:00
Ray Schamp
739ee70464
Remove unnecessary upate()
2018-10-11 18:21:54 +01:00
Eric Rosenbaum
d5e024cc40
Open sound recorder from sound block menu ( #3309 )
...
* Handle recordSoundCallback from blocks
* Set custom field type for sounds menu
* Add record… item to sounds menu
* Use localized string and ID for ‘record…’ option
* Add integration test
* Don’t use custom field for sounds menu
* Use callback as the value of the ‘record…’ menu item
2018-10-11 11:32:12 -04:00
Ray Schamp
5180a77242
Fix ProjectFetcherHOC tests
2018-10-11 15:27:54 +01:00
Ray Schamp
35435bd9c6
Lint
2018-10-11 14:47:52 +01:00
Ray Schamp
bf74b3ef44
Fix HashParserHOC tests
2018-10-11 14:46:01 +01:00
Ben Wheeler
c92db1d539
renamed several components and hoc's
2018-10-08 18:02:57 -04:00
Ian Obermiller
6043fb69df
Robust URL handling for tutorial and locale
2018-10-07 20:24:08 -07:00
Evelyn Eastmond
1d60423191
Updating a unit test.
2018-10-03 11:10:01 -04:00