{"action":"created","comment":{"url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/comments/43897124","id":43897124,"diff_hunk":"@@ -0,0 +1,88 @@\n+---\n+title: Congratulations\n+layout: default\n+category: API\n+---\n+\n+## Overview\n+\n+**Component Name:** `gpii.firstDiscovery.panel.congratulations`\n+\n+**File:** `panels.js`\n+\n+Displays the congratulations message.\n+\n+## Using the Congratulations Panel\n+\n+*Option 1*: In the\n+[Auxiliary Schema](http://docs.fluidproject.org/infusion/development/AuxiliarySchemaForPreferencesFramework.html),\n+specify the name of the panel as the `type` property of the `panel` section:\n+```javascript\n+\"congratulations\": {\n+    \"type\": \"gpii.firstDiscovery.congratulations\",\n+    \"panel\": {\n+        \"type\": \"gpii.firstDiscovery.panel.congratulations\",\n+        \"container\": \".gpiic-fd-prefsEditor-panel-congratulations\",\n+        \"template\": \"%templatePrefix/congratulationsTemplate.html\",\n+        \"message\": \"%messagePrefix/congratulations.json\"\n+    }\n+}\n+```\n+\n+*Option 2*: Outside the context of the First Discovery Tool, developers may wish to create a standalone component:\n+```javascript\n+var myPanel = gpii.firstDiscovery.panel.congratulations(container, options);\n+```\n+\n+## Grades\n+\n+This component uses the following base\n+[grades](http://docs.fluidproject.org/infusion/development/ComponentGrades.html):\n+\n+* [`fluid.prefs.panel`](http://docs.fluidproject.org/infusion/development/Panels.html)\n+\n+## Options\n+\n+This component can be configured using the following\n+[options](http://docs.fluidproject.org/infusion/development/ComponentOptionsAndDefaults.html):\n+\n+<table>\n+    <tr><th>Name</th><th>Description</th><th>Values</th><th>Default</th></tr>\n+    <tr>\n+        <td>`selectors`</td>\n+        <td>Javascript object containing selectors for various fragments of the markup, including the containers for the subcomponents.</td>\n+        <td></td>\n+        <td>See [Selectors](#selectors) below</td>\n+    </tr>\n+</table>\n+\n+## Selectors","path":"src/documents/congratulations.md","position":59,"original_position":59,"commit_id":"1e3f5bdf2e4dc6e9fd034cfdc56c98e8ead6c81a","original_commit_id":"1e3f5bdf2e4dc6e9fd034cfdc56c98e8ead6c81a","user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"body":"This standard paragraph and example is cut and pasted 17 times into the docs! We should consolidate this material into a single place and refer to it with a .... link. ","created_at":"2015-11-04T15:52:08Z","updated_at":"2015-11-04T15:52:08Z","html_url":"https://github.com/GPII/docs-first-discovery/pull/1#discussion_r43897124","pull_request_url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/comments/43897124"},"html":{"href":"https://github.com/GPII/docs-first-discovery/pull/1#discussion_r43897124"},"pull_request":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1","id":48610055,"html_url":"https://github.com/GPII/docs-first-discovery/pull/1","diff_url":"https://github.com/GPII/docs-first-discovery/pull/1.diff","patch_url":"https://github.com/GPII/docs-first-discovery/pull/1.patch","issue_url":"https://api.github.com/repos/GPII/docs-first-discovery/issues/1","number":1,"state":"open","locked":false,"title":"FLOE-425: Documentation for the First Discovery Tool","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":"","created_at":"2015-10-23T17:57:05Z","updated_at":"2015-11-04T15:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10bad46199d7c353971a2fdfbac7324d0e439b00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1/commits","review_comments_url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1/comments","review_comment_url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPII/docs-first-discovery/issues/1/comments","statuses_url":"https://api.github.com/repos/GPII/docs-first-discovery/statuses/1e3f5bdf2e4dc6e9fd034cfdc56c98e8ead6c81a","head":{"label":"acheetham:FLOE-425","ref":"FLOE-425","sha":"1e3f5bdf2e4dc6e9fd034cfdc56c98e8ead6c81a","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},"repo":{"id":43696993,"name":"docs-first-discovery","full_name":"acheetham/docs-first-discovery","owner":{"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},"private":false,"html_url":"https://github.com/acheetham/docs-first-discovery","description":"Documentation for the First Discovery Tool","fork":true,"url":"https://api.github.com/repos/acheetham/docs-first-discovery","forks_url":"https://api.github.com/repos/acheetham/docs-first-discovery/forks","keys_url":"https://api.github.com/repos/acheetham/docs-first-discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acheetham/docs-first-discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acheetham/docs-first-discovery/teams","hooks_url":"https://api.github.com/repos/acheetham/docs-first-discovery/hooks","issue_events_url":"https://api.github.com/repos/acheetham/docs-first-discovery/issues/events{/number}","events_url":"https://api.github.com/repos/acheetham/docs-first-discovery/events","assignees_url":"https://api.github.com/repos/acheetham/docs-first-discovery/assignees{/user}","branches_url":"https://api.github.com/repos/acheetham/docs-first-discovery/branches{/branch}","tags_url":"https://api.github.com/repos/acheetham/docs-first-discovery/tags","blobs_url":"https://api.github.com/repos/acheetham/docs-first-discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acheetham/docs-first-discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acheetham/docs-first-discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/acheetham/docs-first-discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acheetham/docs-first-discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/acheetham/docs-first-discovery/languages","stargazers_url":"https://api.github.com/repos/acheetham/docs-first-discovery/stargazers","contributors_url":"https://api.github.com/repos/acheetham/docs-first-discovery/contributors","subscribers_url":"https://api.github.com/repos/acheetham/docs-first-discovery/subscribers","subscription_url":"https://api.github.com/repos/acheetham/docs-first-discovery/subscription","commits_url":"https://api.github.com/repos/acheetham/docs-first-discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/acheetham/docs-first-discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/acheetham/docs-first-discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/acheetham/docs-first-discovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/acheetham/docs-first-discovery/contents/{+path}","compare_url":"https://api.github.com/repos/acheetham/docs-first-discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acheetham/docs-first-discovery/merges","archive_url":"https://api.github.com/repos/acheetham/docs-first-discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acheetham/docs-first-discovery/downloads","issues_url":"https://api.github.com/repos/acheetham/docs-first-discovery/issues{/number}","pulls_url":"https://api.github.com/repos/acheetham/docs-first-discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/acheetham/docs-first-discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/acheetham/docs-first-discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acheetham/docs-first-discovery/labels{/name}","releases_url":"https://api.github.com/repos/acheetham/docs-first-discovery/releases{/id}","created_at":"2015-10-05T16:08:49Z","updated_at":"2015-10-05T16:08:39Z","pushed_at":"2015-11-03T18:30:43Z","git_url":"git://github.com/acheetham/docs-first-discovery.git","ssh_url":"git@github.com:acheetham/docs-first-discovery.git","clone_url":"https://github.com/acheetham/docs-first-discovery.git","svn_url":"https://github.com/acheetham/docs-first-discovery","homepage":null,"size":2030,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GPII:master","ref":"master","sha":"4962c9560bf8ca6f144d98ae3b1145685f24c501","user":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"repo":{"id":43696984,"name":"docs-first-discovery","full_name":"GPII/docs-first-discovery","owner":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPII/docs-first-discovery","description":"Documentation for the First Discovery Tool","fork":false,"url":"https://api.github.com/repos/GPII/docs-first-discovery","forks_url":"https://api.github.com/repos/GPII/docs-first-discovery/forks","keys_url":"https://api.github.com/repos/GPII/docs-first-discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPII/docs-first-discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPII/docs-first-discovery/teams","hooks_url":"https://api.github.com/repos/GPII/docs-first-discovery/hooks","issue_events_url":"https://api.github.com/repos/GPII/docs-first-discovery/issues/events{/number}","events_url":"https://api.github.com/repos/GPII/docs-first-discovery/events","assignees_url":"https://api.github.com/repos/GPII/docs-first-discovery/assignees{/user}","branches_url":"https://api.github.com/repos/GPII/docs-first-discovery/branches{/branch}","tags_url":"https://api.github.com/repos/GPII/docs-first-discovery/tags","blobs_url":"https://api.github.com/repos/GPII/docs-first-discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPII/docs-first-discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPII/docs-first-discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPII/docs-first-discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPII/docs-first-discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/GPII/docs-first-discovery/languages","stargazers_url":"https://api.github.com/repos/GPII/docs-first-discovery/stargazers","contributors_url":"https://api.github.com/repos/GPII/docs-first-discovery/contributors","subscribers_url":"https://api.github.com/repos/GPII/docs-first-discovery/subscribers","subscription_url":"https://api.github.com/repos/GPII/docs-first-discovery/subscription","commits_url":"https://api.github.com/repos/GPII/docs-first-discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPII/docs-first-discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPII/docs-first-discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPII/docs-first-discovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPII/docs-first-discovery/contents/{+path}","compare_url":"https://api.github.com/repos/GPII/docs-first-discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPII/docs-first-discovery/merges","archive_url":"https://api.github.com/repos/GPII/docs-first-discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPII/docs-first-discovery/downloads","issues_url":"https://api.github.com/repos/GPII/docs-first-discovery/issues{/number}","pulls_url":"https://api.github.com/repos/GPII/docs-first-discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/GPII/docs-first-discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/GPII/docs-first-discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPII/docs-first-discovery/labels{/name}","releases_url":"https://api.github.com/repos/GPII/docs-first-discovery/releases{/id}","created_at":"2015-10-05T16:08:39Z","updated_at":"2015-10-19T15:38:53Z","pushed_at":"2015-11-02T15:40:43Z","git_url":"git://github.com/GPII/docs-first-discovery.git","ssh_url":"git@github.com:GPII/docs-first-discovery.git","clone_url":"https://github.com/GPII/docs-first-discovery.git","svn_url":"https://github.com/GPII/docs-first-discovery","homepage":null,"size":1407,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1"},"html":{"href":"https://github.com/GPII/docs-first-discovery/pull/1"},"issue":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/issues/1"},"comments":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/GPII/docs-first-discovery/statuses/1e3f5bdf2e4dc6e9fd034cfdc56c98e8ead6c81a"}}}}