{"action":"created","comment":{"url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/comments/201445660","pull_request_review_id":135950134,"id":201445660,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTQ0NTY2MA==","diff_hunk":"@@ -199,7 +199,15 @@ var DataSetView = function(options) {\n             displayedName = base.m_dataSet.metadata.displayedName;\n         }\n         info.append($('<div>').text(\"DataSet Name: \" + displayedName));\n-        info.append($('<div>').text(\"Program Name: \" + base.m_dataSet.metadata.program.name));\n+        if(base.m_dataSet.metadata.program.displayedName == null){\n+            //old style dataset where name/displayed name are the same\n+            //and displayedName value is null or undefined\n+            info.append($('<div>').text(\"Program Name: \" + base.m_dataSet.metadata.program.name)); \n+        }\n+        else{\n+            //modern style dataset where name/displayed name are unique\n+            info.append($('<div>').text(\"Program Name: \" + base.m_dataSet.metadata.program.displayedName));            ","path":"static/flow/views/data-set-view.js","position":12,"original_position":12,"commit_id":"3b0b5416247eb65f227bd80158d2d07c7c49b099","original_commit_id":"3b0b5416247eb65f227bd80158d2d07c7c49b099","user":{"login":"mklewandowski","id":5126913,"node_id":"MDQ6VXNlcjUxMjY5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5126913?v=4","gravatar_id":"","url":"https://api.github.com/users/mklewandowski","html_url":"https://github.com/mklewandowski","followers_url":"https://api.github.com/users/mklewandowski/followers","following_url":"https://api.github.com/users/mklewandowski/following{/other_user}","gists_url":"https://api.github.com/users/mklewandowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewandowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewandowski/subscriptions","organizations_url":"https://api.github.com/users/mklewandowski/orgs","repos_url":"https://api.github.com/users/mklewandowski/repos","events_url":"https://api.github.com/users/mklewandowski/events{/privacy}","received_events_url":"https://api.github.com/users/mklewandowski/received_events","type":"User","site_admin":false},"body":"That didn't display quite right, but I think you get the picture.","created_at":"2018-07-10T18:21:13Z","updated_at":"2018-07-10T18:21:13Z","html_url":"https://github.com/concord-consortium/flow-server/pull/56#discussion_r201445660","pull_request_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/comments/201445660"},"html":{"href":"https://github.com/concord-consortium/flow-server/pull/56#discussion_r201445660"},"pull_request":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56"}},"in_reply_to_id":201232260},"pull_request":{"url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56","id":199527670,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NTI3Njcw","html_url":"https://github.com/concord-consortium/flow-server/pull/56","diff_url":"https://github.com/concord-consortium/flow-server/pull/56.diff","patch_url":"https://github.com/concord-consortium/flow-server/pull/56.patch","issue_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/56","number":56,"state":"open","locked":false,"title":"ensure dataset displays program name used to create","user":{"login":"mklewandowski","id":5126913,"node_id":"MDQ6VXNlcjUxMjY5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5126913?v=4","gravatar_id":"","url":"https://api.github.com/users/mklewandowski","html_url":"https://github.com/mklewandowski","followers_url":"https://api.github.com/users/mklewandowski/followers","following_url":"https://api.github.com/users/mklewandowski/following{/other_user}","gists_url":"https://api.github.com/users/mklewandowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewandowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewandowski/subscriptions","organizations_url":"https://api.github.com/users/mklewandowski/orgs","repos_url":"https://api.github.com/users/mklewandowski/repos","events_url":"https://api.github.com/users/mklewandowski/events{/privacy}","received_events_url":"https://api.github.com/users/mklewandowski/received_events","type":"User","site_admin":false},"body":"[#158746013]\r\nEnsure dataset displays the program name by checking its metadata for both the name and displayedName - allows us to support current and old versions of dataset metadata.","created_at":"2018-07-05T16:40:01Z","updated_at":"2018-07-10T18:21:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28d64b7a926560188473885d1af0643723db5c1e","assignee":{"login":"ekosmin","id":3824039,"node_id":"MDQ6VXNlcjM4MjQwMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3824039?v=4","gravatar_id":"","url":"https://api.github.com/users/ekosmin","html_url":"https://github.com/ekosmin","followers_url":"https://api.github.com/users/ekosmin/followers","following_url":"https://api.github.com/users/ekosmin/following{/other_user}","gists_url":"https://api.github.com/users/ekosmin/gists{/gist_id}","starred_url":"https://api.github.com/users/ekosmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekosmin/subscriptions","organizations_url":"https://api.github.com/users/ekosmin/orgs","repos_url":"https://api.github.com/users/ekosmin/repos","events_url":"https://api.github.com/users/ekosmin/events{/privacy}","received_events_url":"https://api.github.com/users/ekosmin/received_events","type":"User","site_admin":false},"assignees":[{"login":"ekosmin","id":3824039,"node_id":"MDQ6VXNlcjM4MjQwMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3824039?v=4","gravatar_id":"","url":"https://api.github.com/users/ekosmin","html_url":"https://github.com/ekosmin","followers_url":"https://api.github.com/users/ekosmin/followers","following_url":"https://api.github.com/users/ekosmin/following{/other_user}","gists_url":"https://api.github.com/users/ekosmin/gists{/gist_id}","starred_url":"https://api.github.com/users/ekosmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekosmin/subscriptions","organizations_url":"https://api.github.com/users/ekosmin/orgs","repos_url":"https://api.github.com/users/ekosmin/repos","events_url":"https://api.github.com/users/ekosmin/events{/privacy}","received_events_url":"https://api.github.com/users/ekosmin/received_events","type":"User","site_admin":false},{"login":"mklewandowski","id":5126913,"node_id":"MDQ6VXNlcjUxMjY5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5126913?v=4","gravatar_id":"","url":"https://api.github.com/users/mklewandowski","html_url":"https://github.com/mklewandowski","followers_url":"https://api.github.com/users/mklewandowski/followers","following_url":"https://api.github.com/users/mklewandowski/following{/other_user}","gists_url":"https://api.github.com/users/mklewandowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewandowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewandowski/subscriptions","organizations_url":"https://api.github.com/users/mklewandowski/orgs","repos_url":"https://api.github.com/users/mklewandowski/repos","events_url":"https://api.github.com/users/mklewandowski/events{/privacy}","received_events_url":"https://api.github.com/users/mklewandowski/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56/commits","review_comments_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56/comments","review_comment_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/56/comments","statuses_url":"https://api.github.com/repos/concord-consortium/flow-server/statuses/3b0b5416247eb65f227bd80158d2d07c7c49b099","head":{"label":"concord-consortium:158746013-dataset-doesnt-display-program","ref":"158746013-dataset-doesnt-display-program","sha":"3b0b5416247eb65f227bd80158d2d07c7c49b099","user":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":83187691,"node_id":"MDEwOlJlcG9zaXRvcnk4MzE4NzY5MQ==","name":"flow-server","full_name":"concord-consortium/flow-server","owner":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concord-consortium/flow-server","description":"The Manylabs flow system lets people create data flow diagrams that interface with sensors and actuators.","fork":false,"url":"https://api.github.com/repos/concord-consortium/flow-server","forks_url":"https://api.github.com/repos/concord-consortium/flow-server/forks","keys_url":"https://api.github.com/repos/concord-consortium/flow-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concord-consortium/flow-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concord-consortium/flow-server/teams","hooks_url":"https://api.github.com/repos/concord-consortium/flow-server/hooks","issue_events_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/events{/number}","events_url":"https://api.github.com/repos/concord-consortium/flow-server/events","assignees_url":"https://api.github.com/repos/concord-consortium/flow-server/assignees{/user}","branches_url":"https://api.github.com/repos/concord-consortium/flow-server/branches{/branch}","tags_url":"https://api.github.com/repos/concord-consortium/flow-server/tags","blobs_url":"https://api.github.com/repos/concord-consortium/flow-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concord-consortium/flow-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concord-consortium/flow-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/concord-consortium/flow-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concord-consortium/flow-server/statuses/{sha}","languages_url":"https://api.github.com/repos/concord-consortium/flow-server/languages","stargazers_url":"https://api.github.com/repos/concord-consortium/flow-server/stargazers","contributors_url":"https://api.github.com/repos/concord-consortium/flow-server/contributors","subscribers_url":"https://api.github.com/repos/concord-consortium/flow-server/subscribers","subscription_url":"https://api.github.com/repos/concord-consortium/flow-server/subscription","commits_url":"https://api.github.com/repos/concord-consortium/flow-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/concord-consortium/flow-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/concord-consortium/flow-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/concord-consortium/flow-server/contents/{+path}","compare_url":"https://api.github.com/repos/concord-consortium/flow-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concord-consortium/flow-server/merges","archive_url":"https://api.github.com/repos/concord-consortium/flow-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concord-consortium/flow-server/downloads","issues_url":"https://api.github.com/repos/concord-consortium/flow-server/issues{/number}","pulls_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls{/number}","milestones_url":"https://api.github.com/repos/concord-consortium/flow-server/milestones{/number}","notifications_url":"https://api.github.com/repos/concord-consortium/flow-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concord-consortium/flow-server/labels{/name}","releases_url":"https://api.github.com/repos/concord-consortium/flow-server/releases{/id}","deployments_url":"https://api.github.com/repos/concord-consortium/flow-server/deployments","created_at":"2017-02-26T06:18:09Z","updated_at":"2018-07-10T18:06:37Z","pushed_at":"2018-07-10T18:06:38Z","git_url":"git://github.com/concord-consortium/flow-server.git","ssh_url":"git@github.com:concord-consortium/flow-server.git","clone_url":"https://github.com/concord-consortium/flow-server.git","svn_url":"https://github.com/concord-consortium/flow-server","homepage":null,"size":691,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":3,"watchers":4,"default_branch":"master"}},"base":{"label":"concord-consortium:master","ref":"master","sha":"81e9af760675c855d5f3feb0c8470c8d8e8c4930","user":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":83187691,"node_id":"MDEwOlJlcG9zaXRvcnk4MzE4NzY5MQ==","name":"flow-server","full_name":"concord-consortium/flow-server","owner":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concord-consortium/flow-server","description":"The Manylabs flow system lets people create data flow diagrams that interface with sensors and actuators.","fork":false,"url":"https://api.github.com/repos/concord-consortium/flow-server","forks_url":"https://api.github.com/repos/concord-consortium/flow-server/forks","keys_url":"https://api.github.com/repos/concord-consortium/flow-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concord-consortium/flow-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concord-consortium/flow-server/teams","hooks_url":"https://api.github.com/repos/concord-consortium/flow-server/hooks","issue_events_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/events{/number}","events_url":"https://api.github.com/repos/concord-consortium/flow-server/events","assignees_url":"https://api.github.com/repos/concord-consortium/flow-server/assignees{/user}","branches_url":"https://api.github.com/repos/concord-consortium/flow-server/branches{/branch}","tags_url":"https://api.github.com/repos/concord-consortium/flow-server/tags","blobs_url":"https://api.github.com/repos/concord-consortium/flow-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concord-consortium/flow-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concord-consortium/flow-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/concord-consortium/flow-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concord-consortium/flow-server/statuses/{sha}","languages_url":"https://api.github.com/repos/concord-consortium/flow-server/languages","stargazers_url":"https://api.github.com/repos/concord-consortium/flow-server/stargazers","contributors_url":"https://api.github.com/repos/concord-consortium/flow-server/contributors","subscribers_url":"https://api.github.com/repos/concord-consortium/flow-server/subscribers","subscription_url":"https://api.github.com/repos/concord-consortium/flow-server/subscription","commits_url":"https://api.github.com/repos/concord-consortium/flow-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/concord-consortium/flow-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/concord-consortium/flow-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/concord-consortium/flow-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/concord-consortium/flow-server/contents/{+path}","compare_url":"https://api.github.com/repos/concord-consortium/flow-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concord-consortium/flow-server/merges","archive_url":"https://api.github.com/repos/concord-consortium/flow-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concord-consortium/flow-server/downloads","issues_url":"https://api.github.com/repos/concord-consortium/flow-server/issues{/number}","pulls_url":"https://api.github.com/repos/concord-consortium/flow-server/pulls{/number}","milestones_url":"https://api.github.com/repos/concord-consortium/flow-server/milestones{/number}","notifications_url":"https://api.github.com/repos/concord-consortium/flow-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concord-consortium/flow-server/labels{/name}","releases_url":"https://api.github.com/repos/concord-consortium/flow-server/releases{/id}","deployments_url":"https://api.github.com/repos/concord-consortium/flow-server/deployments","created_at":"2017-02-26T06:18:09Z","updated_at":"2018-07-10T18:06:37Z","pushed_at":"2018-07-10T18:06:38Z","git_url":"git://github.com/concord-consortium/flow-server.git","ssh_url":"git@github.com:concord-consortium/flow-server.git","clone_url":"https://github.com/concord-consortium/flow-server.git","svn_url":"https://github.com/concord-consortium/flow-server","homepage":null,"size":691,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56"},"html":{"href":"https://github.com/concord-consortium/flow-server/pull/56"},"issue":{"href":"https://api.github.com/repos/concord-consortium/flow-server/issues/56"},"comments":{"href":"https://api.github.com/repos/concord-consortium/flow-server/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concord-consortium/flow-server/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/concord-consortium/flow-server/statuses/3b0b5416247eb65f227bd80158d2d07c7c49b099"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mklewandowski"}}