{"action":"closed","number":420,"pull_request":{"url":"https://api.github.com/repos/gem/oq-platform/pulls/420","id":36488853,"html_url":"https://github.com/gem/oq-platform/pull/420","diff_url":"https://github.com/gem/oq-platform/pull/420.diff","patch_url":"https://github.com/gem/oq-platform/pull/420.patch","issue_url":"https://api.github.com/repos/gem/oq-platform/issues/420","number":420,"state":"closed","locked":false,"title":"Irv small ux improvements","user":{"login":"bwyss","id":340159,"avatar_url":"https://avatars.githubusercontent.com/u/340159?v=3","gravatar_id":"","url":"https://api.github.com/users/bwyss","html_url":"https://github.com/bwyss","followers_url":"https://api.github.com/users/bwyss/followers","following_url":"https://api.github.com/users/bwyss/following{/other_user}","gists_url":"https://api.github.com/users/bwyss/gists{/gist_id}","starred_url":"https://api.github.com/users/bwyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwyss/subscriptions","organizations_url":"https://api.github.com/users/bwyss/orgs","repos_url":"https://api.github.com/users/bwyss/repos","events_url":"https://api.github.com/users/bwyss/events{/privacy}","received_events_url":"https://api.github.com/users/bwyss/received_events","type":"User","site_admin":false},"body":"This PR includes several small UX improvements. \r\n\r\n1. Automatically select and trigger the selection of the first project definition in the selection dropdown menu. To test, open the IRV application, and select a project. The loading spinner will indicate that the APIs are working, after a few moments, the loading spinner will be hidden and now you can see that the first project definition has been automatically selected in the dropdown menu and triggered. In addition, this d3.js project definition tree is now rendered.\r\n\r\n2. Automatically select and trigger the selection of the first primary indicator. Similar to #1, once a project has been selected, the first primary indicator from inside the 'primary indicator chart' tab is automatically selected and triggered.\r\n\r\n3. Disable the theme tab if there is only one theme in themeData. This can be tested by loading a project that has only one SVI theme child. You will now see that once the project is loaded, the 'SVI theme chart' tab will be disabled.\r\n\r\n4. If the selected zone includes numbers instead of chericters, then these values were being used to identify the max value used for the SVI theme chart. To correct this I am now discriminating againset the 'region' elements.\r\n\r\n5. Provide a default operator for the pd tree (for corner cases)\r\n\r\n6. Call the project list API each time the load project dialog is opened. This will allow the user to access newly created project without reloading the page.","created_at":"2015-05-29T09:39:23Z","updated_at":"2015-05-29T14:38:28Z","closed_at":"2015-05-29T14:38:28Z","merged_at":"2015-05-29T14:38:28Z","merge_commit_sha":"9f5bc052c0afc973f221f921ac61537463c96527","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-platform/pulls/420/commits","review_comments_url":"https://api.github.com/repos/gem/oq-platform/pulls/420/comments","review_comment_url":"https://api.github.com/repos/gem/oq-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-platform/issues/420/comments","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/bc8ce32493bd2b7217d48f747187f5beff22ada5","head":{"label":"gem:irv-small-UX-improvements","ref":"irv-small-UX-improvements","sha":"bc8ce32493bd2b7217d48f747187f5beff22ada5","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2015-05-08T07:43:32Z","pushed_at":"2015-05-29T14:38:28Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":161037,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"2a05fee204b7ec250f11c540538acaabb290cbc9","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2015-05-08T07:43:32Z","pushed_at":"2015-05-29T14:38:28Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":161037,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/420"},"html":{"href":"https://github.com/gem/oq-platform/pull/420"},"issue":{"href":"https://api.github.com/repos/gem/oq-platform/issues/420"},"comments":{"href":"https://api.github.com/repos/gem/oq-platform/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-platform/statuses/bc8ce32493bd2b7217d48f747187f5beff22ada5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bwyss","id":340159,"avatar_url":"https://avatars.githubusercontent.com/u/340159?v=3","gravatar_id":"","url":"https://api.github.com/users/bwyss","html_url":"https://github.com/bwyss","followers_url":"https://api.github.com/users/bwyss/followers","following_url":"https://api.github.com/users/bwyss/following{/other_user}","gists_url":"https://api.github.com/users/bwyss/gists{/gist_id}","starred_url":"https://api.github.com/users/bwyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwyss/subscriptions","organizations_url":"https://api.github.com/users/bwyss/orgs","repos_url":"https://api.github.com/users/bwyss/repos","events_url":"https://api.github.com/users/bwyss/events{/privacy}","received_events_url":"https://api.github.com/users/bwyss/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":7,"additions":90,"deletions":47,"changed_files":5}}