{"action":"created","comment":{"url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments/43661645","id":43661645,"diff_hunk":"@@ -0,0 +1,82 @@\n+/*\n+Copyright 2015 OCAD University\n+\n+Licensed under the Educational Community License (ECL), Version 2.0 or the New\n+BSD license. You may not use this file except in compliance with one these\n+Licenses.\n+\n+You may obtain a copy of the ECL 2.0 License and BSD License at\n+https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.txt\n+*/\n+\n+var demo = demo || {};\n+\n+(function ($, fluid) {\n+\n+    \"use strict\";\n+\n+    fluid.registerNamespace(\"demo.chartAuthoring\");\n+\n+    fluid.defaults(\"demo.chartAuthoring.overview\", {\n+            gradeNames: [\"fluid.viewComponent\", \"autoInit\"],\n+            components: {\n+                overviewPanel: {\n+                    type: \"fluid.overviewPanel\",\n+                    container: \"{overview}.container\"\n+                },\n+                storeModel: {\n+                    type: \"floe.chartAuthoring.storeModel\",\n+                    // Implicit model relay, persists the model state of the\n+                    // overviewPanel via a storeModel subcomponent\n+                    options: {\n+                        model: \"{overviewPanel}.model\"\n+                    }\n+                }\n+            },\n+            distributeOptions: [{\n+                source: \"{that}.options.overviewPanelTemplate\",\n+                removeSource: true,\n+                target: \"{that > overviewPanel}.options.resources.template.href\"\n+            }, {\n+                source: \"{that}.options.strings\",\n+                removeSource: true,\n+                target: \"{that > overviewPanel}.options.strings\"\n+            }, {\n+                source: \"{that}.options.markup\",\n+                removeSource: true,\n+                target: \"{that > overviewPanel}.options.markup\"\n+            }, {\n+                source: \"{that}.options.links\",\n+                removeSource: true,\n+                target: \"{that > overviewPanel}.options.links\"\n+            }, {\n+                source: \"{that}.options.cookieName\",\n+                removeSource: true,\n+                target: \"{that > storeModel}.options.cookie.name\"\n+            }]\n+        });\n+\n+    $(document).ready(function () {\n+        demo.chartAuthoring.overview(\"#floec-overviewPanel\", {\n+            overviewPanelTemplate: \"src/html/overviewPanelTemplate-chartAuthoring.html\",\n+            cookieName: \"chartAuthoring-demo-showPanel\",\n+            strings: {\n+                componentName: \"Chart Authoring Tool\",\n+                infusionCodeLinkText: \"get Chart Authoring\",\n+                titleBegin: \"A\",\n+                titleLinkText: \"Chart Authoring\"\n+            },\n+            markup: {\n+                description: \"The Chart Authoring Tool supports the authoring, export and embedding of highly accessible charts. Development of this component is currently in progress and does not represent final state. Eventually, these charts will feature sonified representation of their data in addition to visual display.\",\n+                instructions: \"<p>Enter labels and data for your pie chart in the data entry area. The pie chart and its corresponding legend will update each time you update your data.</p>\"\n+            },","path":"demos/src/js/overview.js","position":72,"original_position":72,"commit_id":"74fa1dda12a2a0c65a759e4dbf5f973f0432f6bb","original_commit_id":"74fa1dda12a2a0c65a759e4dbf5f973f0432f6bb","user":{"login":"acheetham","id":562946,"avatar_url":"https://avatars.githubusercontent.com/u/562946?v=3","gravatar_id":"","url":"https://api.github.com/users/acheetham","html_url":"https://github.com/acheetham","followers_url":"https://api.github.com/users/acheetham/followers","following_url":"https://api.github.com/users/acheetham/following{/other_user}","gists_url":"https://api.github.com/users/acheetham/gists{/gist_id}","starred_url":"https://api.github.com/users/acheetham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acheetham/subscriptions","organizations_url":"https://api.github.com/users/acheetham/orgs","repos_url":"https://api.github.com/users/acheetham/repos","events_url":"https://api.github.com/users/acheetham/events{/privacy}","received_events_url":"https://api.github.com/users/acheetham/received_events","type":"User","site_admin":false},"body":"The text in the overlay panel reads just fine to me.","created_at":"2015-11-02T18:24:51Z","updated_at":"2015-11-02T18:24:51Z","html_url":"https://github.com/fluid-project/chartAuthoring/pull/9#discussion_r43661645","pull_request_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments/43661645"},"html":{"href":"https://github.com/fluid-project/chartAuthoring/pull/9#discussion_r43661645"},"pull_request":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9","id":48768222,"html_url":"https://github.com/fluid-project/chartAuthoring/pull/9","diff_url":"https://github.com/fluid-project/chartAuthoring/pull/9.diff","patch_url":"https://github.com/fluid-project/chartAuthoring/pull/9.patch","issue_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9","number":9,"state":"open","locked":false,"title":"FLOE 403: add overlay panel for demo","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"body":"This PR adds an overlay panel to the chart authoring demo. It also updates the included custom version of Infusion to include the overlay panel code and components.","created_at":"2015-10-26T17:09:22Z","updated_at":"2015-11-02T18:24:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21089de6b9cdbdb60fe873c26cce471084a4e8f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/commits","review_comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/comments","review_comment_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9/comments","statuses_url":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/74fa1dda12a2a0c65a759e4dbf5f973f0432f6bb","head":{"label":"waharnum:FLOE-403","ref":"FLOE-403","sha":"74fa1dda12a2a0c65a759e4dbf5f973f0432f6bb","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"repo":{"id":40918997,"name":"chartAuthoring","full_name":"waharnum/chartAuthoring","owner":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waharnum/chartAuthoring","description":"A tool for authoring accessible charts for the web.","fork":true,"url":"https://api.github.com/repos/waharnum/chartAuthoring","forks_url":"https://api.github.com/repos/waharnum/chartAuthoring/forks","keys_url":"https://api.github.com/repos/waharnum/chartAuthoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waharnum/chartAuthoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waharnum/chartAuthoring/teams","hooks_url":"https://api.github.com/repos/waharnum/chartAuthoring/hooks","issue_events_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues/events{/number}","events_url":"https://api.github.com/repos/waharnum/chartAuthoring/events","assignees_url":"https://api.github.com/repos/waharnum/chartAuthoring/assignees{/user}","branches_url":"https://api.github.com/repos/waharnum/chartAuthoring/branches{/branch}","tags_url":"https://api.github.com/repos/waharnum/chartAuthoring/tags","blobs_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waharnum/chartAuthoring/statuses/{sha}","languages_url":"https://api.github.com/repos/waharnum/chartAuthoring/languages","stargazers_url":"https://api.github.com/repos/waharnum/chartAuthoring/stargazers","contributors_url":"https://api.github.com/repos/waharnum/chartAuthoring/contributors","subscribers_url":"https://api.github.com/repos/waharnum/chartAuthoring/subscribers","subscription_url":"https://api.github.com/repos/waharnum/chartAuthoring/subscription","commits_url":"https://api.github.com/repos/waharnum/chartAuthoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/waharnum/chartAuthoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/waharnum/chartAuthoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/waharnum/chartAuthoring/contents/{+path}","compare_url":"https://api.github.com/repos/waharnum/chartAuthoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waharnum/chartAuthoring/merges","archive_url":"https://api.github.com/repos/waharnum/chartAuthoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waharnum/chartAuthoring/downloads","issues_url":"https://api.github.com/repos/waharnum/chartAuthoring/issues{/number}","pulls_url":"https://api.github.com/repos/waharnum/chartAuthoring/pulls{/number}","milestones_url":"https://api.github.com/repos/waharnum/chartAuthoring/milestones{/number}","notifications_url":"https://api.github.com/repos/waharnum/chartAuthoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waharnum/chartAuthoring/labels{/name}","releases_url":"https://api.github.com/repos/waharnum/chartAuthoring/releases{/id}","created_at":"2015-08-17T18:35:53Z","updated_at":"2015-08-17T18:35:54Z","pushed_at":"2015-11-02T14:47:55Z","git_url":"git://github.com/waharnum/chartAuthoring.git","ssh_url":"git@github.com:waharnum/chartAuthoring.git","clone_url":"https://github.com/waharnum/chartAuthoring.git","svn_url":"https://github.com/waharnum/chartAuthoring","homepage":null,"size":2165,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fluid-project:master","ref":"master","sha":"38330d87884f761a25009e4be01019b8bf57c889","user":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"repo":{"id":37926920,"name":"chartAuthoring","full_name":"fluid-project/chartAuthoring","owner":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluid-project/chartAuthoring","description":"A tool for authoring accessible charts for the web.","fork":false,"url":"https://api.github.com/repos/fluid-project/chartAuthoring","forks_url":"https://api.github.com/repos/fluid-project/chartAuthoring/forks","keys_url":"https://api.github.com/repos/fluid-project/chartAuthoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluid-project/chartAuthoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluid-project/chartAuthoring/teams","hooks_url":"https://api.github.com/repos/fluid-project/chartAuthoring/hooks","issue_events_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/events{/number}","events_url":"https://api.github.com/repos/fluid-project/chartAuthoring/events","assignees_url":"https://api.github.com/repos/fluid-project/chartAuthoring/assignees{/user}","branches_url":"https://api.github.com/repos/fluid-project/chartAuthoring/branches{/branch}","tags_url":"https://api.github.com/repos/fluid-project/chartAuthoring/tags","blobs_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/{sha}","languages_url":"https://api.github.com/repos/fluid-project/chartAuthoring/languages","stargazers_url":"https://api.github.com/repos/fluid-project/chartAuthoring/stargazers","contributors_url":"https://api.github.com/repos/fluid-project/chartAuthoring/contributors","subscribers_url":"https://api.github.com/repos/fluid-project/chartAuthoring/subscribers","subscription_url":"https://api.github.com/repos/fluid-project/chartAuthoring/subscription","commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluid-project/chartAuthoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluid-project/chartAuthoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluid-project/chartAuthoring/contents/{+path}","compare_url":"https://api.github.com/repos/fluid-project/chartAuthoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluid-project/chartAuthoring/merges","archive_url":"https://api.github.com/repos/fluid-project/chartAuthoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluid-project/chartAuthoring/downloads","issues_url":"https://api.github.com/repos/fluid-project/chartAuthoring/issues{/number}","pulls_url":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls{/number}","milestones_url":"https://api.github.com/repos/fluid-project/chartAuthoring/milestones{/number}","notifications_url":"https://api.github.com/repos/fluid-project/chartAuthoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluid-project/chartAuthoring/labels{/name}","releases_url":"https://api.github.com/repos/fluid-project/chartAuthoring/releases{/id}","created_at":"2015-06-23T15:16:51Z","updated_at":"2015-06-24T17:07:26Z","pushed_at":"2015-11-02T14:47:57Z","git_url":"git://github.com/fluid-project/chartAuthoring.git","ssh_url":"git@github.com:fluid-project/chartAuthoring.git","clone_url":"https://github.com/fluid-project/chartAuthoring.git","svn_url":"https://github.com/fluid-project/chartAuthoring","homepage":null,"size":2255,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9"},"html":{"href":"https://github.com/fluid-project/chartAuthoring/pull/9"},"issue":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9"},"comments":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/fluid-project/chartAuthoring/statuses/74fa1dda12a2a0c65a759e4dbf5f973f0432f6bb"}}}}