Ben Wheeler
ac730dd336
got tests passing
2018-12-18 15:50:57 -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
fe8b1543df
Merge pull request #3972 from paulkaplan/bind-green-flag
...
Bind vm project_start event to passed in onGreenFlag prop
2018-12-06 12:59:27 -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
43959e4205
Add "SaveStatus" component to control showing "Save Now" and save alerts
2018-12-05 10:46:22 -05:00
Paul Kaplan
af0155910b
Increase test coverage of alerts reducer
2018-12-05 10:45:39 -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
03370ab5f9
Merge pull request #3820 from benjiwheeler/save-before-save-as-copy
...
save before saving as a copy
2018-11-29 15:03:28 -08: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
Paul Kaplan
37aa553859
Remove unused containers.
...
The functionality was all moved to the Controls container, these containers are no longer used
2018-11-27 11:22:53 -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
chrisgarrity
fdfd9d64f2
re-refactor after fixing merge conflicts
2018-11-19 09:18:38 -05:00
Karishma Chadha
76f203d2a9
Fix monitor label for day of week block. Add unit tests for opcode-labels util.
2018-11-16 20:06:28 -05:00
Karishma Chadha
b7cdbb3550
Add test for ensuring that cloud connection does not happen just because of a project id change. isShowingWithId must also be true.
2018-11-16 18:24:56 -05:00
Karishma Chadha
eab9b74ff7
Fix issue where regular cloud variable messages were throwing uncaught Json parse errors because of a newline being at the end of the message. Add test that fails without the bugfix.
2018-11-16 18:15:04 -05:00
Ben Wheeler
dc2106bcce
save before saving as a copy
2018-11-16 17:34:14 -05:00
Paul Kaplan
ca48afadb9
Add exponential backoff for cloud provider.
...
Uses randomized duration between [0, 2^k-1] where k is the connection attempt number, maxed out at 5.
I had to rework the tests quite a bit to make this easy to test, to work around the timeouts and the randomization.
2018-11-16 15:29: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
Ben Wheeler
6e54aa8b68
revised tests
2018-11-15 17:12:22 -05:00
Ben Wheeler
6152fb7706
menu bar save messaging; self-dismissing alerts
2018-11-15 17:12:22 -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
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