{"action":"created","comment":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments/34723565","id":34723565,"diff_hunk":"@@ -54,5 +72,63 @@ private void OnMessageLogged(ILogMessage msg)\n         }\n \n         #endregion\n+\n+        #region Helpers\n+\n+        private MenuItem GenerateMenuItem()\n+        {\n+            MenuItem item = new MenuItem();\n+            item.Header = Resource.DynamoViewMenuItemPublishTitle;\n+\n+            item.Click += (sender, args) =>\n+                {\n+                    PublishView publishWindow = new PublishView(publishViewModel);\n+                    publishWindow.ShowDialog();\n+                };\n+\n+            return item;\n+        }\n+\n+        /// <summary>\n+        /// Delete menu item from Dynamo.\n+        /// </summary>\n+        public void ClearMenuItem(MenuItem menuItem)","path":"src/DynamoPublish/DynamoPublishExtension.cs","position":82,"original_position":82,"commit_id":"02ab7d7b67a489b72c7086ddc79d665cba4a7a4e","original_commit_id":"02ab7d7b67a489b72c7086ddc79d665cba4a7a4e","user":{"login":"pboyer","id":916345,"avatar_url":"https://avatars.githubusercontent.com/u/916345?v=3","gravatar_id":"","url":"https://api.github.com/users/pboyer","html_url":"https://github.com/pboyer","followers_url":"https://api.github.com/users/pboyer/followers","following_url":"https://api.github.com/users/pboyer/following{/other_user}","gists_url":"https://api.github.com/users/pboyer/gists{/gist_id}","starred_url":"https://api.github.com/users/pboyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pboyer/subscriptions","organizations_url":"https://api.github.com/users/pboyer/orgs","repos_url":"https://api.github.com/users/pboyer/repos","events_url":"https://api.github.com/users/pboyer/events{/privacy}","received_events_url":"https://api.github.com/users/pboyer/received_events","type":"User","site_admin":false},"body":"Let's make this method private.","created_at":"2015-07-15T20:15:35Z","updated_at":"2015-07-15T20:15:35Z","html_url":"https://github.com/DynamoDS/Dynamo/pull/4845#discussion_r34723565","pull_request_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845","_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments/34723565"},"html":{"href":"https://github.com/DynamoDS/Dynamo/pull/4845#discussion_r34723565"},"pull_request":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845"}}},"pull_request":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845","id":39093281,"html_url":"https://github.com/DynamoDS/Dynamo/pull/4845","diff_url":"https://github.com/DynamoDS/Dynamo/pull/4845.diff","patch_url":"https://github.com/DynamoDS/Dynamo/pull/4845.patch","issue_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/4845","number":4845,"state":"open","locked":false,"title":"ViewExtension Framework: UI part","user":{"login":"aosyatnik","id":8158404,"avatar_url":"https://avatars.githubusercontent.com/u/8158404?v=3","gravatar_id":"","url":"https://api.github.com/users/aosyatnik","html_url":"https://github.com/aosyatnik","followers_url":"https://api.github.com/users/aosyatnik/followers","following_url":"https://api.github.com/users/aosyatnik/following{/other_user}","gists_url":"https://api.github.com/users/aosyatnik/gists{/gist_id}","starred_url":"https://api.github.com/users/aosyatnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aosyatnik/subscriptions","organizations_url":"https://api.github.com/users/aosyatnik/orgs","repos_url":"https://api.github.com/users/aosyatnik/repos","events_url":"https://api.github.com/users/aosyatnik/events{/privacy}","received_events_url":"https://api.github.com/users/aosyatnik/received_events","type":"User","site_admin":false},"body":"### Purpose\r\n\r\nLink to YouTrack:\r\n[MAGN-7719](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-7719) UI to submit a workspace to the Flood persistence service, so it can be accessed as a customizer\r\n\r\nLink to PR with Extension https://github.com/DynamoDS/Dynamo/pull/4670\r\n\r\nThis PR introduces UI. Also it enables XML reading and authenticating Reach server.\r\n\r\nThat's how UI looks like.\r\n![image](https://cloud.githubusercontent.com/assets/8158404/8480177/d9854cb8-20e4-11e5-9d96-9541aaa672aa.png)\r\n\r\nWhen we click on Publish button:\r\n![image](https://cloud.githubusercontent.com/assets/8158404/8480373/ef86fe66-20e5-11e5-9a2f-e0712789d490.png)\r\n\r\nYes, Russian text. Sorry =P\r\n\r\n\r\nWhat's done:\r\n* Created `PublishView`, `PublishViewModel` and `PublishModel`.\r\n* All information needed for authentication is stored in Configuration.xml file.\r\n* DynamoPublish builds in next folder `bin\\AnyCPU\\Debug\\viewExtensions\\DynamoPublish`;\r\n configuration file for server connection can be found in `bin\\AnyCPU\\Debug\\viewExtensions\\DynamoPublish\\Configurations`;\r\n configuration file for view extension can be found in `\\bin\\AnyCPU\\Debug\\viewExtensions`.\r\n* Added Resourse.res file for storing error messages and other localization stuff.\r\n\r\n### Impact assessment\r\n\r\n- [ ] Changes the way 3rd party nodes work (Add ikeough to the reviewer list)\r\n- [ ] Includes migrations (Add ikeough to the reviewer list)\r\n- [ ] Changes a public interface (Add lukechurch to the reviewer list)\r\n- [x] Affects which components of the system depends on which other components (Add pboyer to the reviewer list)\r\n- [ ] Introduces new components (Add lukechurch to the reviewer list)\r\n- [ ] Has a performance impact (Add keyu to the reviewer list)\r\n- [ ] Changes the installer (Add sharadkjaiswal to the reviewer list)\r\n\r\n#### References\r\n\r\n* [Link to architectural design](https://github.com/DynamoDS/Dynamo/pull/4472)\r\n* [Link to UI design](https://drive.google.com/open?id=0B1DIxgnuFPMlOG5SVVMwVnpkdFE&authuser=1)\r\n\r\n#### Testing strategy\r\n\r\nFor now leave it.\r\n\r\n### Review staging\r\n\r\n- [x] Architectural Design Review\r\n- [x] UI Review\r\n\r\n### Reviewers\r\n\r\n@pboyer ","created_at":"2015-07-02T15:14:08Z","updated_at":"2015-07-15T20:15:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02d5f4bf3e31a6e3b8dda6cdc0132484bdec397c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845/commits","review_comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845/comments","review_comment_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/4845/comments","statuses_url":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/02ab7d7b67a489b72c7086ddc79d665cba4a7a4e","head":{"label":"aosyatnik:Flood-View","ref":"Flood-View","sha":"02ab7d7b67a489b72c7086ddc79d665cba4a7a4e","user":{"login":"aosyatnik","id":8158404,"avatar_url":"https://avatars.githubusercontent.com/u/8158404?v=3","gravatar_id":"","url":"https://api.github.com/users/aosyatnik","html_url":"https://github.com/aosyatnik","followers_url":"https://api.github.com/users/aosyatnik/followers","following_url":"https://api.github.com/users/aosyatnik/following{/other_user}","gists_url":"https://api.github.com/users/aosyatnik/gists{/gist_id}","starred_url":"https://api.github.com/users/aosyatnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aosyatnik/subscriptions","organizations_url":"https://api.github.com/users/aosyatnik/orgs","repos_url":"https://api.github.com/users/aosyatnik/repos","events_url":"https://api.github.com/users/aosyatnik/events{/privacy}","received_events_url":"https://api.github.com/users/aosyatnik/received_events","type":"User","site_admin":false},"repo":{"id":21854907,"name":"Dynamo","full_name":"aosyatnik/Dynamo","owner":{"login":"aosyatnik","id":8158404,"avatar_url":"https://avatars.githubusercontent.com/u/8158404?v=3","gravatar_id":"","url":"https://api.github.com/users/aosyatnik","html_url":"https://github.com/aosyatnik","followers_url":"https://api.github.com/users/aosyatnik/followers","following_url":"https://api.github.com/users/aosyatnik/following{/other_user}","gists_url":"https://api.github.com/users/aosyatnik/gists{/gist_id}","starred_url":"https://api.github.com/users/aosyatnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aosyatnik/subscriptions","organizations_url":"https://api.github.com/users/aosyatnik/orgs","repos_url":"https://api.github.com/users/aosyatnik/repos","events_url":"https://api.github.com/users/aosyatnik/events{/privacy}","received_events_url":"https://api.github.com/users/aosyatnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aosyatnik/Dynamo","description":"Visual Programming For Revit","fork":true,"url":"https://api.github.com/repos/aosyatnik/Dynamo","forks_url":"https://api.github.com/repos/aosyatnik/Dynamo/forks","keys_url":"https://api.github.com/repos/aosyatnik/Dynamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aosyatnik/Dynamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aosyatnik/Dynamo/teams","hooks_url":"https://api.github.com/repos/aosyatnik/Dynamo/hooks","issue_events_url":"https://api.github.com/repos/aosyatnik/Dynamo/issues/events{/number}","events_url":"https://api.github.com/repos/aosyatnik/Dynamo/events","assignees_url":"https://api.github.com/repos/aosyatnik/Dynamo/assignees{/user}","branches_url":"https://api.github.com/repos/aosyatnik/Dynamo/branches{/branch}","tags_url":"https://api.github.com/repos/aosyatnik/Dynamo/tags","blobs_url":"https://api.github.com/repos/aosyatnik/Dynamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aosyatnik/Dynamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aosyatnik/Dynamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/aosyatnik/Dynamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aosyatnik/Dynamo/statuses/{sha}","languages_url":"https://api.github.com/repos/aosyatnik/Dynamo/languages","stargazers_url":"https://api.github.com/repos/aosyatnik/Dynamo/stargazers","contributors_url":"https://api.github.com/repos/aosyatnik/Dynamo/contributors","subscribers_url":"https://api.github.com/repos/aosyatnik/Dynamo/subscribers","subscription_url":"https://api.github.com/repos/aosyatnik/Dynamo/subscription","commits_url":"https://api.github.com/repos/aosyatnik/Dynamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/aosyatnik/Dynamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/aosyatnik/Dynamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/aosyatnik/Dynamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/aosyatnik/Dynamo/contents/{+path}","compare_url":"https://api.github.com/repos/aosyatnik/Dynamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aosyatnik/Dynamo/merges","archive_url":"https://api.github.com/repos/aosyatnik/Dynamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aosyatnik/Dynamo/downloads","issues_url":"https://api.github.com/repos/aosyatnik/Dynamo/issues{/number}","pulls_url":"https://api.github.com/repos/aosyatnik/Dynamo/pulls{/number}","milestones_url":"https://api.github.com/repos/aosyatnik/Dynamo/milestones{/number}","notifications_url":"https://api.github.com/repos/aosyatnik/Dynamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aosyatnik/Dynamo/labels{/name}","releases_url":"https://api.github.com/repos/aosyatnik/Dynamo/releases{/id}","created_at":"2014-07-15T10:00:34Z","updated_at":"2015-05-06T07:46:29Z","pushed_at":"2015-07-15T16:16:35Z","git_url":"git://github.com/aosyatnik/Dynamo.git","ssh_url":"git@github.com:aosyatnik/Dynamo.git","clone_url":"https://github.com/aosyatnik/Dynamo.git","svn_url":"https://github.com/aosyatnik/Dynamo","homepage":"http://dynamobim.org","size":741730,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"DynamoDS:master","ref":"master","sha":"36adffe16ca4e2e27508f14dbde9097a385bb85e","user":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"repo":{"id":3395179,"name":"Dynamo","full_name":"DynamoDS/Dynamo","owner":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DynamoDS/Dynamo","description":"Visual Programming","fork":false,"url":"https://api.github.com/repos/DynamoDS/Dynamo","forks_url":"https://api.github.com/repos/DynamoDS/Dynamo/forks","keys_url":"https://api.github.com/repos/DynamoDS/Dynamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DynamoDS/Dynamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DynamoDS/Dynamo/teams","hooks_url":"https://api.github.com/repos/DynamoDS/Dynamo/hooks","issue_events_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/events{/number}","events_url":"https://api.github.com/repos/DynamoDS/Dynamo/events","assignees_url":"https://api.github.com/repos/DynamoDS/Dynamo/assignees{/user}","branches_url":"https://api.github.com/repos/DynamoDS/Dynamo/branches{/branch}","tags_url":"https://api.github.com/repos/DynamoDS/Dynamo/tags","blobs_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/{sha}","languages_url":"https://api.github.com/repos/DynamoDS/Dynamo/languages","stargazers_url":"https://api.github.com/repos/DynamoDS/Dynamo/stargazers","contributors_url":"https://api.github.com/repos/DynamoDS/Dynamo/contributors","subscribers_url":"https://api.github.com/repos/DynamoDS/Dynamo/subscribers","subscription_url":"https://api.github.com/repos/DynamoDS/Dynamo/subscription","commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/DynamoDS/Dynamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/DynamoDS/Dynamo/contents/{+path}","compare_url":"https://api.github.com/repos/DynamoDS/Dynamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DynamoDS/Dynamo/merges","archive_url":"https://api.github.com/repos/DynamoDS/Dynamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DynamoDS/Dynamo/downloads","issues_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues{/number}","pulls_url":"https://api.github.com/repos/DynamoDS/Dynamo/pulls{/number}","milestones_url":"https://api.github.com/repos/DynamoDS/Dynamo/milestones{/number}","notifications_url":"https://api.github.com/repos/DynamoDS/Dynamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DynamoDS/Dynamo/labels{/name}","releases_url":"https://api.github.com/repos/DynamoDS/Dynamo/releases{/id}","created_at":"2012-02-09T07:35:33Z","updated_at":"2015-07-10T13:42:05Z","pushed_at":"2015-07-15T16:16:37Z","git_url":"git://github.com/DynamoDS/Dynamo.git","ssh_url":"git@github.com:DynamoDS/Dynamo.git","clone_url":"https://github.com/DynamoDS/Dynamo.git","svn_url":"https://github.com/DynamoDS/Dynamo","homepage":"http://dynamobim.org","size":992037,"stargazers_count":240,"watchers_count":240,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":676,"forks":180,"open_issues":676,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845"},"html":{"href":"https://github.com/DynamoDS/Dynamo/pull/4845"},"issue":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/issues/4845"},"comments":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/issues/4845/comments"},"review_comments":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845/comments"},"review_comment":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/pulls/4845/commits"},"statuses":{"href":"https://api.github.com/repos/DynamoDS/Dynamo/statuses/02ab7d7b67a489b72c7086ddc79d665cba4a7a4e"}}}}