{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2521","labels_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2521/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2521/comments","events_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2521/events","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2521","id":97063936,"number":2521,"title":"Different handling of topic loading at application start","user":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-24T14:21:36Z","updated_at":"2015-07-27T07:20:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/pulls/2521","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2521","diff_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2521.diff","patch_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2521.patch"},"body":"This is an alternative to https://github.com/geoadmin/mf-geoadmin3/pull/2520\r\n\r\nBefore, we handled 2 concerns (application init when topics are loaded and topic changes) in one broddcast. This could lead to timing issues as described by @Jenselme in his PR.\r\n\r\nThis PR tries to separate those 2 concerns. It distinguishes application init and topic changes.\r\n"},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/comments/125109145","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2521#issuecomment-125109145","issue_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2521","id":125109145,"user":{"login":"oterral","id":621420,"avatar_url":"https://avatars.githubusercontent.com/u/621420?v=3","gravatar_id":"","url":"https://api.github.com/users/oterral","html_url":"https://github.com/oterral","followers_url":"https://api.github.com/users/oterral/followers","following_url":"https://api.github.com/users/oterral/following{/other_user}","gists_url":"https://api.github.com/users/oterral/gists{/gist_id}","starred_url":"https://api.github.com/users/oterral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oterral/subscriptions","organizations_url":"https://api.github.com/users/oterral/orgs","repos_url":"https://api.github.com/users/oterral/repos","events_url":"https://api.github.com/users/oterral/events{/privacy}","received_events_url":"https://api.github.com/users/oterral/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T07:20:05Z","updated_at":"2015-07-27T07:20:05Z","body":"+1 I like the promise way. Just a comment of setting the `activeTopic` variable otherwse lgtm"}}