{"action":"created","issue":{"url":"https://api.github.com/repos/conveyal/scenario-editor/issues/114","repository_url":"https://api.github.com/repos/conveyal/scenario-editor","labels_url":"https://api.github.com/repos/conveyal/scenario-editor/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/conveyal/scenario-editor/issues/114/comments","events_url":"https://api.github.com/repos/conveyal/scenario-editor/issues/114/events","html_url":"https://github.com/conveyal/scenario-editor/issues/114","id":158083070,"number":114,"title":"Making all modifications invisible locks scenario editor with timeout","user":{"login":"abyrd","id":112871,"avatar_url":"https://avatars.githubusercontent.com/u/112871?v=3","gravatar_id":"","url":"https://api.github.com/users/abyrd","html_url":"https://github.com/abyrd","followers_url":"https://api.github.com/users/abyrd/followers","following_url":"https://api.github.com/users/abyrd/following{/other_user}","gists_url":"https://api.github.com/users/abyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abyrd/subscriptions","organizations_url":"https://api.github.com/users/abyrd/orgs","repos_url":"https://api.github.com/users/abyrd/repos","events_url":"https://api.github.com/users/abyrd/events{/privacy}","received_events_url":"https://api.github.com/users/abyrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-02T08:14:07Z","updated_at":"2016-06-02T10:51:21Z","closed_at":null,"body":"@MarcovanderLinden is working on a big scenario with many modifications. It is imperative to hide all the modifications to even make the UI useable. The only way we know of to do this is to create an empty variant, and then click the eye icon next to the variant.\r\n\r\nThe result is that the JS console displays a stream of messages (incrementing/decrementing outstanding requests, updating modifications) over the course of about two seconds, then \"lock ui with error\". As expected, on the user side, this page is then displayed: \"Request timed out. Check your connection and reload the page?\"\r\n\r\nThe console messages look like this:\r\n\r\n```\r\nindex.js:150  action @ 10:05:09.442 update data (in 2901.57 ms)\r\nindex.js:150  action @ 10:05:51.384 update modification (in 2.36 ms)\r\nindex.js:150  action @ 10:05:51.392 increment outstanding requests (in 0.46 ms)\r\nindex.js:150  action @ 10:05:51.402 update modification (in 0.64 ms)\r\nindex.js:150  action @ 10:05:51.407 increment outstanding requests (in 0.23 ms)\r\nindex.js:150  action @ 10:05:51.418 update modification (in 0.25 ms)\r\nindex.js:150  action @ 10:05:51.425 increment outstanding requests (in 0.18 ms)\r\nindex.js:150  action @ 10:05:51.435 update modification (in 1.18 ms)\r\nindex.js:150  action @ 10:05:51.442 increment outstanding requests (in 0.50 ms)\r\nindex.js:150  action @ 10:05:51.452 update modification (in 2.06 ms)\r\nindex.js:150  action @ 10:05:51.459 increment outstanding requests (in 0.54 ms)\r\nindex.js:150  action @ 10:05:51.464 update modification (in 0.27 ms)\r\nindex.js:150  action @ 10:05:51.470 increment outstanding requests (in 0.21 ms)\r\nindex.js:150  action @ 10:05:51.477 update modification (in 0.32 ms)\r\nindex.js:150  action @ 10:05:51.482 increment outstanding requests (in 0.21 ms)\r\nindex.js:150  action @ 10:05:51.492 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.497 increment outstanding requests (in 0.20 ms)\r\nindex.js:150  action @ 10:05:51.507 update modification (in 0.53 ms)\r\nindex.js:150  action @ 10:05:51.511 increment outstanding requests (in 0.18 ms)\r\nindex.js:150  action @ 10:05:51.515 update modification (in 0.23 ms)\r\nindex.js:150  action @ 10:05:51.518 increment outstanding requests (in 0.16 ms)\r\nindex.js:150  action @ 10:05:51.522 update modification (in 0.37 ms)\r\nindex.js:150  action @ 10:05:51.524 increment outstanding requests (in 0.18 ms)\r\nindex.js:150  action @ 10:05:51.529 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.532 increment outstanding requests (in 0.21 ms)\r\nindex.js:150  action @ 10:05:51.537 update modification (in 0.25 ms)\r\nindex.js:150  action @ 10:05:51.541 increment outstanding requests (in 0.33 ms)\r\nindex.js:150  action @ 10:05:51.547 update modification (in 0.24 ms)\r\nindex.js:150  action @ 10:05:51.550 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.555 update modification (in 0.23 ms)\r\nindex.js:150  action @ 10:05:51.557 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.579 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.584 increment outstanding requests (in 0.14 ms)\r\nindex.js:150  action @ 10:05:51.588 update modification (in 0.20 ms)\r\nindex.js:150  action @ 10:05:51.591 increment outstanding requests (in 0.16 ms)\r\nindex.js:150  action @ 10:05:51.595 update modification (in 0.40 ms)\r\nindex.js:150  action @ 10:05:51.598 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.602 update modification (in 0.21 ms)\r\nindex.js:150  action @ 10:05:51.605 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.609 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.613 increment outstanding requests (in 0.16 ms)\r\nindex.js:150  action @ 10:05:51.617 update modification (in 0.20 ms)\r\nindex.js:150  action @ 10:05:51.620 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.624 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.632 increment outstanding requests (in 0.17 ms)\r\nindex.js:150  action @ 10:05:51.637 update modification (in 0.24 ms)\r\nindex.js:150  action @ 10:05:51.641 increment outstanding requests (in 0.17 ms)\r\nindex.js:150  action @ 10:05:51.649 update modification (in 0.47 ms)\r\nindex.js:150  action @ 10:05:51.653 increment outstanding requests (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.659 update modification (in 0.40 ms)\r\nindex.js:150  action @ 10:05:51.663 increment outstanding requests (in 0.17 ms)\r\nindex.js:150  action @ 10:05:51.668 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.671 increment outstanding requests (in 0.16 ms)\r\nindex.js:150  action @ 10:05:51.675 update modification (in 0.25 ms)\r\nindex.js:150  action @ 10:05:51.679 increment outstanding requests (in 0.17 ms)\r\nindex.js:150  action @ 10:05:51.685 update modification (in 0.33 ms)\r\nindex.js:150  action @ 10:05:51.692 increment outstanding requests (in 0.34 ms)\r\nindex.js:150  action @ 10:05:51.699 update modification (in 0.18 ms)\r\nindex.js:150  action @ 10:05:51.702 increment outstanding requests (in 0.21 ms)\r\nindex.js:150  action @ 10:05:51.707 update modification (in 0.25 ms)\r\nindex.js:150  action @ 10:05:51.710 increment outstanding requests (in 0.50 ms)\r\nindex.js:150  action @ 10:05:51.715 update modification (in 0.38 ms)\r\nindex.js:150  action @ 10:05:51.719 increment outstanding requests (in 0.30 ms)\r\nindex.js:150  action @ 10:05:51.723 update modification (in 0.17 ms)\r\nindex.js:150  action @ 10:05:51.726 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.731 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.734 increment outstanding requests (in 0.15 ms)\r\nindex.js:150  action @ 10:05:51.738 update modification (in 0.22 ms)\r\nindex.js:150  action @ 10:05:51.741 increment outstanding requests (in 0.18 ms)\r\nindex.js:150  action @ 10:05:51.745 update modification (in 0.24 ms)\r\nindex.js:150  action @ 10:05:51.748 increment outstanding requests (in 0.18 ms)\r\nindex.js:150  action @ 10:05:52.913 decrement outstanding requests (in 123.62 ms)\r\nindex.js:150  action @ 10:05:53.058 decrement outstanding requests (in 126.63 ms)\r\nindex.js:150  action @ 10:05:53.188 decrement outstanding requests (in 167.79 ms)\r\nindex.js:150  action @ 10:05:53.360 decrement outstanding requests (in 85.78 ms)\r\nindex.js:150  action @ 10:05:53.450 decrement outstanding requests (in 73.79 ms)\r\nindex.js:150  action @ 10:05:56.465 lock ui with error (in 69.35 ms)\r\nindex.js:150  action @ 10:05:56.540 lock ui with error (in 109.54 ms)\r\nindex.js:150  action @ 10:05:56.653 lock ui with error (in 109.38 ms)\r\nindex.js:150  action @ 10:05:56.765 lock ui with error (in 75.01 ms)\r\nindex.js:150  action @ 10:05:56.843 lock ui with error (in 96.14 ms)\r\nindex.js:150  action @ 10:05:56.945 lock ui with error (in 115.29 ms)\r\nindex.js:150  action @ 10:05:57.067 lock ui with error (in 80.74 ms)\r\nindex.js:150  action @ 10:05:57.151 lock ui with error (in 88.82 ms)\r\nindex.js:150  action @ 10:05:57.250 lock ui with error (in 105.35 ms)\r\nindex.js:150  action @ 10:05:57.359 lock ui with error (in 79.33 ms)\r\nindex.js:150  action @ 10:05:57.441 lock ui with error (in 87.10 ms)\r\nindex.js:150  action @ 10:05:57.531 lock ui with error (in 73.51 ms)\r\nindex.js:150  action @ 10:05:57.607 lock ui with error (in 82.19 ms)\r\nindex.js:150  action @ 10:05:57.693 lock ui with error (in 90.42 ms)\r\nindex.js:150  action @ 10:05:57.789 lock ui with error (in 80.80 ms)\r\nindex.js:150  action @ 10:05:57.872 lock ui with error (in 77.58 ms)\r\nindex.js:150  action @ 10:05:57.951 lock ui with error (in 79.61 ms)\r\nindex.js:150  action @ 10:05:58.033 lock ui with error (in 63.40 ms)\r\nindex.js:150  action @ 10:05:58.099 lock ui with error (in 67.26 ms)\r\nindex.js:150  action @ 10:05:58.172 lock ui with error (in 75.79 ms)\r\nindex.js:150  action @ 10:05:58.250 lock ui with error (in 77.07 ms)\r\nindex.js:150  action @ 10:05:58.330 lock ui with error (in 106.74 ms)\r\nindex.js:150  action @ 10:05:58.439 lock ui with error (in 98.49 ms)\r\nindex.js:150  action @ 10:05:58.540 lock ui with error (in 99.91 ms)\r\nindex.js:150  action @ 10:05:58.643 lock ui with error (in 98.42 ms)\r\nindex.js:150  action @ 10:05:58.744 lock ui with error (in 103.45 ms)\r\nindex.js:150  action @ 10:05:58.851 lock ui with error (in 106.68 ms)\r\nindex.js:150  action @ 10:05:58.962 lock ui with error (in 93.98 ms)\r\nindex.js:150  action @ 10:05:59.061 lock ui with error (in 101.78 ms)\r\nindex.js:150  action @ 10:05:59.166 lock ui with error (in 114.71 ms)\r\nindex.js:150  action @ 10:05:59.476 update data (in 65.29 ms)\r\nindex.js:150  action @ 10:05:59.706 update data (in 94.71 ms)\r\nindex.js:150  action @ 10:05:59.999 update data (in 122.67 ms)\r\nindex.js:150  action @ 10:06:00.520 update data (in 73.12 ms)\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conveyal/scenario-editor/issues/comments/223258516","html_url":"https://github.com/conveyal/scenario-editor/issues/114#issuecomment-223258516","issue_url":"https://api.github.com/repos/conveyal/scenario-editor/issues/114","id":223258516,"user":{"login":"abyrd","id":112871,"avatar_url":"https://avatars.githubusercontent.com/u/112871?v=3","gravatar_id":"","url":"https://api.github.com/users/abyrd","html_url":"https://github.com/abyrd","followers_url":"https://api.github.com/users/abyrd/followers","following_url":"https://api.github.com/users/abyrd/following{/other_user}","gists_url":"https://api.github.com/users/abyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abyrd/subscriptions","organizations_url":"https://api.github.com/users/abyrd/orgs","repos_url":"https://api.github.com/users/abyrd/repos","events_url":"https://api.github.com/users/abyrd/events{/privacy}","received_events_url":"https://api.github.com/users/abyrd/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T10:51:21Z","updated_at":"2016-06-02T10:51:21Z","body":"@trevorgerhardt and @mattwigway, until we can reduce the frequency of updates reliably, could we just add a manual save button and disable all automatic saving?"}}
{"actor":{"display_login":"abyrd"}}