{"action":"created","comment":{"url":"https://api.github.com/repos/ReactWindows/react-native/pulls/comments/61519003","id":61519003,"diff_hunk":"@@ -0,0 +1,83 @@\n+﻿using ReactNative.UIManager;\n+using ReactNative.UIManager.Annotations;\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+using Windows.UI.Xaml.Controls;\n+using Windows.UI.Xaml.Media;\n+\n+namespace ReactNative.Views.Progress\n+{\n+    /// <summary>\n+    /// Represents a native <see cref=\"ProgressRing\"/> component.\n+    /// </summary>\n+    class ReactProgressRingManager : BaseViewManager<ProgressRing, ReactProgressRingShadowNode>\n+    {\n+        private const string ReactClass = \"RCTProgressRing\";\n+\n+        /// <summary>\n+        /// The name of this view manager. This will be the name used to \n+        /// reference this view manager from JavaScript.\n+        /// </summary>\n+        public override string Name\n+        {\n+            get\n+            {\n+                return ReactClass;\n+            }\n+        }\n+\n+        /// <summary>\n+        /// This method should return the <see cref=\"ReactProgressRingShadowNode\"/>\n+        /// which will be then used for measuring the position and size of the\n+        /// view. \n+        /// </summary>\n+        /// <returns>The shadow node instance.</returns>\n+        public override ReactProgressRingShadowNode CreateShadowNodeInstance()\n+        {\n+            return new ReactProgressRingShadowNode();\n+        }\n+\n+        /// <summary>\n+        /// Implement this method to receive optional extra data enqueued from\n+        /// the corresponding instance of <see cref=\"ReactShadowNode\"/> in\n+        /// <see cref=\"ReactShadowNode.OnCollectExtraUpdates\"/>.\n+        /// </summary>\n+        /// <param name=\"root\">The root view.</param>\n+        /// <param name=\"extraData\">The extra data.</param>\n+        public override void UpdateExtraData(ProgressRing root, object extraData)\n+        {\n+        }\n+\n+        /// <summary>\n+        /// Sets the font color for the node.\n+        /// </summary>\n+        /// <param name=\"view\">The view instance.</param>\n+        /// <param name=\"color\">The masked color value.</param>\n+        [ReactProp(ViewProps.Color, CustomType = \"Color\")]\n+        public void SetColor(ProgressRing view, uint? color)\n+        {\n+            view.Foreground = color.HasValue\n+                ? new SolidColorBrush(ColorHelpers.Parse(color.Value))\n+                : null;\n+        }\n+\n+        /// <summary>\n+        /// Determines the visibility of a <see cref=\"ProgressRing\"/> component.\n+        /// </summary>\n+        /// <param name=\"view\">The native <see cref=\"ProgressRing\"/>.</param>\n+        /// <param name=\"value\">The visibilty.</param>\n+        [ReactProp(\"isActive\", DefaultBoolean = false)]\n+        public void SetIsActive(ProgressRing view, bool value)\n+        {\n+            view.IsActive = value;\n+        }\n+\n+        protected override ProgressRing CreateViewInstance(ThemedReactContext reactContext)","path":"ReactWindows/ReactNative/Views/Progress/ReactProgressRingManager.cs","position":78,"original_position":78,"commit_id":"c019d3e85834755ffba0bf3abc8979204d5226d4","original_commit_id":"c019d3e85834755ffba0bf3abc8979204d5226d4","user":{"login":"rozele","id":1106239,"avatar_url":"https://avatars.githubusercontent.com/u/1106239?v=3","gravatar_id":"","url":"https://api.github.com/users/rozele","html_url":"https://github.com/rozele","followers_url":"https://api.github.com/users/rozele/followers","following_url":"https://api.github.com/users/rozele/following{/other_user}","gists_url":"https://api.github.com/users/rozele/gists{/gist_id}","starred_url":"https://api.github.com/users/rozele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozele/subscriptions","organizations_url":"https://api.github.com/users/rozele/orgs","repos_url":"https://api.github.com/users/rozele/repos","events_url":"https://api.github.com/users/rozele/events{/privacy}","received_events_url":"https://api.github.com/users/rozele/received_events","type":"User","site_admin":false},"body":"Add a comment to this as well (since all other API surfaces have comments).","created_at":"2016-04-28T23:33:42Z","updated_at":"2016-04-28T23:33:42Z","html_url":"https://github.com/ReactWindows/react-native/pull/403#discussion_r61519003","pull_request_url":"https://api.github.com/repos/ReactWindows/react-native/pulls/403","_links":{"self":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/comments/61519003"},"html":{"href":"https://github.com/ReactWindows/react-native/pull/403#discussion_r61519003"},"pull_request":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/403"}}},"pull_request":{"url":"https://api.github.com/repos/ReactWindows/react-native/pulls/403","id":68299723,"html_url":"https://github.com/ReactWindows/react-native/pull/403","diff_url":"https://github.com/ReactWindows/react-native/pull/403.diff","patch_url":"https://github.com/ReactWindows/react-native/pull/403.patch","issue_url":"https://api.github.com/repos/ReactWindows/react-native/issues/403","number":403,"state":"open","locked":false,"title":"Added WindowsProgressRing component and integrated the UWP platform f…","user":{"login":"erikschlegel","id":7635865,"avatar_url":"https://avatars.githubusercontent.com/u/7635865?v=3","gravatar_id":"","url":"https://api.github.com/users/erikschlegel","html_url":"https://github.com/erikschlegel","followers_url":"https://api.github.com/users/erikschlegel/followers","following_url":"https://api.github.com/users/erikschlegel/following{/other_user}","gists_url":"https://api.github.com/users/erikschlegel/gists{/gist_id}","starred_url":"https://api.github.com/users/erikschlegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikschlegel/subscriptions","organizations_url":"https://api.github.com/users/erikschlegel/orgs","repos_url":"https://api.github.com/users/erikschlegel/repos","events_url":"https://api.github.com/users/erikschlegel/events{/privacy}","received_events_url":"https://api.github.com/users/erikschlegel/received_events","type":"User","site_admin":false},"body":"Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:\r\n\r\n(You can skip this if you're fixing a typo or adding an app to the Showcase.)\r\n\r\nExplain the **motivation** for making this change. What existing problem does the pull request solve?\r\n\r\nPrefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.\r\n\r\n**Test plan (required)**\r\n\r\nDemonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.\r\n\r\nMake sure tests pass on both Travis and Circle CI.\r\n\r\n**Code formatting**\r\n\r\nLook around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide).\r\n\r\n…or the Movies demo app for the decoded conference.","created_at":"2016-04-28T22:18:15Z","updated_at":"2016-04-28T23:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d0301f8769e4cd653ea53541912a860fee38f08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReactWindows/react-native/pulls/403/commits","review_comments_url":"https://api.github.com/repos/ReactWindows/react-native/pulls/403/comments","review_comment_url":"https://api.github.com/repos/ReactWindows/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactWindows/react-native/issues/403/comments","statuses_url":"https://api.github.com/repos/ReactWindows/react-native/statuses/c019d3e85834755ffba0bf3abc8979204d5226d4","head":{"label":"erikschlegel:movies-demo-windows","ref":"movies-demo-windows","sha":"c019d3e85834755ffba0bf3abc8979204d5226d4","user":{"login":"erikschlegel","id":7635865,"avatar_url":"https://avatars.githubusercontent.com/u/7635865?v=3","gravatar_id":"","url":"https://api.github.com/users/erikschlegel","html_url":"https://github.com/erikschlegel","followers_url":"https://api.github.com/users/erikschlegel/followers","following_url":"https://api.github.com/users/erikschlegel/following{/other_user}","gists_url":"https://api.github.com/users/erikschlegel/gists{/gist_id}","starred_url":"https://api.github.com/users/erikschlegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikschlegel/subscriptions","organizations_url":"https://api.github.com/users/erikschlegel/orgs","repos_url":"https://api.github.com/users/erikschlegel/repos","events_url":"https://api.github.com/users/erikschlegel/events{/privacy}","received_events_url":"https://api.github.com/users/erikschlegel/received_events","type":"User","site_admin":false},"repo":{"id":57135909,"name":"react-native","full_name":"erikschlegel/react-native","owner":{"login":"erikschlegel","id":7635865,"avatar_url":"https://avatars.githubusercontent.com/u/7635865?v=3","gravatar_id":"","url":"https://api.github.com/users/erikschlegel","html_url":"https://github.com/erikschlegel","followers_url":"https://api.github.com/users/erikschlegel/followers","following_url":"https://api.github.com/users/erikschlegel/following{/other_user}","gists_url":"https://api.github.com/users/erikschlegel/gists{/gist_id}","starred_url":"https://api.github.com/users/erikschlegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikschlegel/subscriptions","organizations_url":"https://api.github.com/users/erikschlegel/orgs","repos_url":"https://api.github.com/users/erikschlegel/repos","events_url":"https://api.github.com/users/erikschlegel/events{/privacy}","received_events_url":"https://api.github.com/users/erikschlegel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikschlegel/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/erikschlegel/react-native","forks_url":"https://api.github.com/repos/erikschlegel/react-native/forks","keys_url":"https://api.github.com/repos/erikschlegel/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikschlegel/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikschlegel/react-native/teams","hooks_url":"https://api.github.com/repos/erikschlegel/react-native/hooks","issue_events_url":"https://api.github.com/repos/erikschlegel/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/erikschlegel/react-native/events","assignees_url":"https://api.github.com/repos/erikschlegel/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/erikschlegel/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/erikschlegel/react-native/tags","blobs_url":"https://api.github.com/repos/erikschlegel/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikschlegel/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikschlegel/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikschlegel/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikschlegel/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/erikschlegel/react-native/languages","stargazers_url":"https://api.github.com/repos/erikschlegel/react-native/stargazers","contributors_url":"https://api.github.com/repos/erikschlegel/react-native/contributors","subscribers_url":"https://api.github.com/repos/erikschlegel/react-native/subscribers","subscription_url":"https://api.github.com/repos/erikschlegel/react-native/subscription","commits_url":"https://api.github.com/repos/erikschlegel/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikschlegel/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikschlegel/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikschlegel/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikschlegel/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/erikschlegel/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikschlegel/react-native/merges","archive_url":"https://api.github.com/repos/erikschlegel/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikschlegel/react-native/downloads","issues_url":"https://api.github.com/repos/erikschlegel/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/erikschlegel/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/erikschlegel/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/erikschlegel/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikschlegel/react-native/labels{/name}","releases_url":"https://api.github.com/repos/erikschlegel/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/erikschlegel/react-native/deployments","created_at":"2016-04-26T14:39:16Z","updated_at":"2016-04-26T14:39:23Z","pushed_at":"2016-04-28T22:13:23Z","git_url":"git://github.com/erikschlegel/react-native.git","ssh_url":"git@github.com:erikschlegel/react-native.git","clone_url":"https://github.com/erikschlegel/react-native.git","svn_url":"https://github.com/erikschlegel/react-native","homepage":"http://facebook.github.io/react-native/","size":142050,"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":"ReactWindows"}},"base":{"label":"ReactWindows:ReactWindows","ref":"ReactWindows","sha":"a2810279864db9468e3580eadbc368b0f05eef93","user":{"login":"ReactWindows","id":18399765,"avatar_url":"https://avatars.githubusercontent.com/u/18399765?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactWindows","html_url":"https://github.com/ReactWindows","followers_url":"https://api.github.com/users/ReactWindows/followers","following_url":"https://api.github.com/users/ReactWindows/following{/other_user}","gists_url":"https://api.github.com/users/ReactWindows/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactWindows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactWindows/subscriptions","organizations_url":"https://api.github.com/users/ReactWindows/orgs","repos_url":"https://api.github.com/users/ReactWindows/repos","events_url":"https://api.github.com/users/ReactWindows/events{/privacy}","received_events_url":"https://api.github.com/users/ReactWindows/received_events","type":"Organization","site_admin":false},"repo":{"id":48009214,"name":"react-native","full_name":"ReactWindows/react-native","owner":{"login":"ReactWindows","id":18399765,"avatar_url":"https://avatars.githubusercontent.com/u/18399765?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactWindows","html_url":"https://github.com/ReactWindows","followers_url":"https://api.github.com/users/ReactWindows/followers","following_url":"https://api.github.com/users/ReactWindows/following{/other_user}","gists_url":"https://api.github.com/users/ReactWindows/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactWindows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactWindows/subscriptions","organizations_url":"https://api.github.com/users/ReactWindows/orgs","repos_url":"https://api.github.com/users/ReactWindows/repos","events_url":"https://api.github.com/users/ReactWindows/events{/privacy}","received_events_url":"https://api.github.com/users/ReactWindows/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactWindows/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/ReactWindows/react-native","forks_url":"https://api.github.com/repos/ReactWindows/react-native/forks","keys_url":"https://api.github.com/repos/ReactWindows/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactWindows/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactWindows/react-native/teams","hooks_url":"https://api.github.com/repos/ReactWindows/react-native/hooks","issue_events_url":"https://api.github.com/repos/ReactWindows/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/ReactWindows/react-native/events","assignees_url":"https://api.github.com/repos/ReactWindows/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/ReactWindows/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/ReactWindows/react-native/tags","blobs_url":"https://api.github.com/repos/ReactWindows/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactWindows/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactWindows/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactWindows/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactWindows/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactWindows/react-native/languages","stargazers_url":"https://api.github.com/repos/ReactWindows/react-native/stargazers","contributors_url":"https://api.github.com/repos/ReactWindows/react-native/contributors","subscribers_url":"https://api.github.com/repos/ReactWindows/react-native/subscribers","subscription_url":"https://api.github.com/repos/ReactWindows/react-native/subscription","commits_url":"https://api.github.com/repos/ReactWindows/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactWindows/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactWindows/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactWindows/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactWindows/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/ReactWindows/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactWindows/react-native/merges","archive_url":"https://api.github.com/repos/ReactWindows/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactWindows/react-native/downloads","issues_url":"https://api.github.com/repos/ReactWindows/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/ReactWindows/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactWindows/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactWindows/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactWindows/react-native/labels{/name}","releases_url":"https://api.github.com/repos/ReactWindows/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/ReactWindows/react-native/deployments","created_at":"2015-12-15T00:16:54Z","updated_at":"2016-04-28T20:03:13Z","pushed_at":"2016-04-28T22:18:16Z","git_url":"git://github.com/ReactWindows/react-native.git","ssh_url":"git@github.com:ReactWindows/react-native.git","clone_url":"https://github.com/ReactWindows/react-native.git","svn_url":"https://github.com/ReactWindows/react-native","homepage":"http://facebook.github.io/react-native/","size":142329,"stargazers_count":503,"watchers_count":503,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":68,"forks":30,"open_issues":68,"watchers":503,"default_branch":"ReactWindows"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/403"},"html":{"href":"https://github.com/ReactWindows/react-native/pull/403"},"issue":{"href":"https://api.github.com/repos/ReactWindows/react-native/issues/403"},"comments":{"href":"https://api.github.com/repos/ReactWindows/react-native/issues/403/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/403/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactWindows/react-native/pulls/403/commits"},"statuses":{"href":"https://api.github.com/repos/ReactWindows/react-native/statuses/c019d3e85834755ffba0bf3abc8979204d5226d4"}}}}