{"action":"created","issue":{"url":"https://api.github.com/repos/dcos/dcos-ui/issues/996","repository_url":"https://api.github.com/repos/dcos/dcos-ui","labels_url":"https://api.github.com/repos/dcos/dcos-ui/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/issues/996/comments","events_url":"https://api.github.com/repos/dcos/dcos-ui/issues/996/events","html_url":"https://github.com/dcos/dcos-ui/pull/996","id":172756437,"number":996,"title":"Updating mesosphere-shared-reactjs v0.0.20","user":{"login":"mlunoe","id":1097941,"avatar_url":"https://avatars.githubusercontent.com/u/1097941?v=3","gravatar_id":"","url":"https://api.github.com/users/mlunoe","html_url":"https://github.com/mlunoe","followers_url":"https://api.github.com/users/mlunoe/followers","following_url":"https://api.github.com/users/mlunoe/following{/other_user}","gists_url":"https://api.github.com/users/mlunoe/gists{/gist_id}","starred_url":"https://api.github.com/users/mlunoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlunoe/subscriptions","organizations_url":"https://api.github.com/users/mlunoe/orgs","repos_url":"https://api.github.com/users/mlunoe/repos","events_url":"https://api.github.com/users/mlunoe/events{/privacy}","received_events_url":"https://api.github.com/users/mlunoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"daiyiwhale","id":1589186,"avatar_url":"https://avatars.githubusercontent.com/u/1589186?v=3","gravatar_id":"","url":"https://api.github.com/users/daiyiwhale","html_url":"https://github.com/daiyiwhale","followers_url":"https://api.github.com/users/daiyiwhale/followers","following_url":"https://api.github.com/users/daiyiwhale/following{/other_user}","gists_url":"https://api.github.com/users/daiyiwhale/gists{/gist_id}","starred_url":"https://api.github.com/users/daiyiwhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daiyiwhale/subscriptions","organizations_url":"https://api.github.com/users/daiyiwhale/orgs","repos_url":"https://api.github.com/users/daiyiwhale/repos","events_url":"https://api.github.com/users/daiyiwhale/events{/privacy}","received_events_url":"https://api.github.com/users/daiyiwhale/received_events","type":"User","site_admin":false},"assignees":[{"login":"wavesoft","id":883486,"avatar_url":"https://avatars.githubusercontent.com/u/883486?v=3","gravatar_id":"","url":"https://api.github.com/users/wavesoft","html_url":"https://github.com/wavesoft","followers_url":"https://api.github.com/users/wavesoft/followers","following_url":"https://api.github.com/users/wavesoft/following{/other_user}","gists_url":"https://api.github.com/users/wavesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/wavesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavesoft/subscriptions","organizations_url":"https://api.github.com/users/wavesoft/orgs","repos_url":"https://api.github.com/users/wavesoft/repos","events_url":"https://api.github.com/users/wavesoft/events{/privacy}","received_events_url":"https://api.github.com/users/wavesoft/received_events","type":"User","site_admin":false},{"login":"daiyiwhale","id":1589186,"avatar_url":"https://avatars.githubusercontent.com/u/1589186?v=3","gravatar_id":"","url":"https://api.github.com/users/daiyiwhale","html_url":"https://github.com/daiyiwhale","followers_url":"https://api.github.com/users/daiyiwhale/followers","following_url":"https://api.github.com/users/daiyiwhale/following{/other_user}","gists_url":"https://api.github.com/users/daiyiwhale/gists{/gist_id}","starred_url":"https://api.github.com/users/daiyiwhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daiyiwhale/subscriptions","organizations_url":"https://api.github.com/users/daiyiwhale/orgs","repos_url":"https://api.github.com/users/daiyiwhale/repos","events_url":"https://api.github.com/users/daiyiwhale/events{/privacy}","received_events_url":"https://api.github.com/users/daiyiwhale/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-23T17:16:48Z","updated_at":"2016-08-24T17:02:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dcos/dcos-ui/pulls/996","html_url":"https://github.com/dcos/dcos-ui/pull/996","diff_url":"https://github.com/dcos/dcos-ui/pull/996.diff","patch_url":"https://github.com/dcos/dcos-ui/pull/996.patch"},"body":"Only change in this version is this: https://github.com/dcos/mesosphere-shared-reactjs/pull/15, which makes sure that the hanging requests actually works.\r\n\r\nThis also fixes a problem, where the history server would always be set to offline in the beginning.\r\n\r\nBefore (with network delay):\r\n![](https://cl.ly/0o2g0n002A2c/Screen%20Recording%202016-08-23%20at%2012.14.gif)\r\n\r\nBefore (without network delay):\r\n![](https://cl.ly/0w0e16341a2g/Screen%20Recording%202016-08-23%20at%2012.15.gif)\r\n\r\nAfter:\r\n![](https://cl.ly/3M2H0h133Z47/Screen%20Recording%202016-08-23%20at%2012.10.gif)"},"comment":{"url":"https://api.github.com/repos/dcos/dcos-ui/issues/comments/242137521","html_url":"https://github.com/dcos/dcos-ui/pull/996#issuecomment-242137521","issue_url":"https://api.github.com/repos/dcos/dcos-ui/issues/996","id":242137521,"user":{"login":"mlunoe","id":1097941,"avatar_url":"https://avatars.githubusercontent.com/u/1097941?v=3","gravatar_id":"","url":"https://api.github.com/users/mlunoe","html_url":"https://github.com/mlunoe","followers_url":"https://api.github.com/users/mlunoe/followers","following_url":"https://api.github.com/users/mlunoe/following{/other_user}","gists_url":"https://api.github.com/users/mlunoe/gists{/gist_id}","starred_url":"https://api.github.com/users/mlunoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlunoe/subscriptions","organizations_url":"https://api.github.com/users/mlunoe/orgs","repos_url":"https://api.github.com/users/mlunoe/repos","events_url":"https://api.github.com/users/mlunoe/events{/privacy}","received_events_url":"https://api.github.com/users/mlunoe/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T17:02:26Z","updated_at":"2016-08-24T17:02:26Z","body":"If you open up `./node_modules/mesosphere-shared-reactjs/utils/RequestUtil.js` and replace the `createCallbackWrapper` with this:\r\n```js\r\nfunction createCallbackWrapper(callback, requestID) {\r\n  return function () {\r\n    setTimeout(() => {\r\n      setRequestState(requestID, false);\r\n\r\n      if (Util.isFunction(callback)) {\r\n        callback.apply(null, arguments);\r\n      }\r\n    }, 2100);\r\n  };\r\n}\r\n```\r\n\r\nThat will create a delay for some of the requests to trigger the hanging function for one and not for the other."}}
{"actor":{"display_login":"mlunoe"}}