{"action":"created","comment":{"url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/comments/211759973","pull_request_review_id":148251072,"id":211759973,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTc1OTk3Mw==","diff_hunk":"@@ -0,0 +1,28 @@\n+﻿using System.Windows.Media;\n+using Filtration.ObjectModel.BlockItemBaseTypes;\n+using Filtration.ObjectModel.Enums;\n+\n+namespace Filtration.ObjectModel.BlockItemTypes\n+{\n+    public class GemLevelBlockItem : NumericFilterPredicateBlockItem\n+    {\n+        public GemLevelBlockItem()\n+        {\n+        }\n+\n+        public GemLevelBlockItem(FilterPredicateOperator predicateOperator, int predicateOperand)\n+            : base(predicateOperator, predicateOperand)\n+        {\n+        }\n+\n+        public override string PrefixText => \"GemLevel\";\n+        public override int MaximumAllowed => 2;\n+        public override string DisplayHeading => \"Gem Level\";\n+        public override string SummaryText => \"Gem Level \" + FilterPredicate;\n+        public override Color SummaryBackgroundColor => Colors.DarkSlateGray;\n+        public override Color SummaryTextColor => Colors.White;\n+        public override int SortOrder => 15;\n+        public override int Minimum => 0;\n+        public override int Maximum => 40;","path":"Filtration.ObjectModel/BlockItemTypes/GemLevelBlockItem.cs","position":26,"original_position":26,"commit_id":"c0e9c534de1eff8c530cb0cbf9d7f6f7224e7a7c","original_commit_id":"c0e9c534de1eff8c530cb0cbf9d7f6f7224e7a7c","user":{"login":"azakhi","id":8937832,"node_id":"MDQ6VXNlcjg5Mzc4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/8937832?v=4","gravatar_id":"","url":"https://api.github.com/users/azakhi","html_url":"https://github.com/azakhi","followers_url":"https://api.github.com/users/azakhi/followers","following_url":"https://api.github.com/users/azakhi/following{/other_user}","gists_url":"https://api.github.com/users/azakhi/gists{/gist_id}","starred_url":"https://api.github.com/users/azakhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakhi/subscriptions","organizations_url":"https://api.github.com/users/azakhi/orgs","repos_url":"https://api.github.com/users/azakhi/repos","events_url":"https://api.github.com/users/azakhi/events{/privacy}","received_events_url":"https://api.github.com/users/azakhi/received_events","type":"User","site_admin":false},"body":"I also think 21 is the highest. The reason for 40 is that we have values for upto 40 levels of a gem (according to wiki). I can change it though.","created_at":"2018-08-21T21:05:48Z","updated_at":"2018-08-21T21:05:49Z","html_url":"https://github.com/ben-wallis/Filtration/pull/53#discussion_r211759973","pull_request_url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/comments/211759973"},"html":{"href":"https://github.com/ben-wallis/Filtration/pull/53#discussion_r211759973"},"pull_request":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53"}},"in_reply_to_id":211739338},"pull_request":{"url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53","id":209936251,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5OTM2MjUx","html_url":"https://github.com/ben-wallis/Filtration/pull/53","diff_url":"https://github.com/ben-wallis/Filtration/pull/53.diff","patch_url":"https://github.com/ben-wallis/Filtration/pull/53.patch","issue_url":"https://api.github.com/repos/ben-wallis/Filtration/issues/53","number":53,"state":"open","locked":false,"title":"Improvements","user":{"login":"azakhi","id":8937832,"node_id":"MDQ6VXNlcjg5Mzc4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/8937832?v=4","gravatar_id":"","url":"https://api.github.com/users/azakhi","html_url":"https://github.com/azakhi","followers_url":"https://api.github.com/users/azakhi/followers","following_url":"https://api.github.com/users/azakhi/following{/other_user}","gists_url":"https://api.github.com/users/azakhi/gists{/gist_id}","starred_url":"https://api.github.com/users/azakhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakhi/subscriptions","organizations_url":"https://api.github.com/users/azakhi/orgs","repos_url":"https://api.github.com/users/azakhi/repos","events_url":"https://api.github.com/users/azakhi/events{/privacy}","received_events_url":"https://api.github.com/users/azakhi/received_events","type":"User","site_admin":false},"body":"Following improvements:\r\n\r\n- Sections can be collapsed/expanded\r\n- Sections can be copied/deleted/moved as a whole\r\n- Sections can be disabled/enabled as a whole\r\n- Section blocks now are expandable and shows header (Neversink style) or first line only when not expanded\r\n- Disabled block tags are removed\r\n- Original text is preserved on save if the block isn't edited\r\n- Improved parsing and bugfixes\r\n\r\nAlso includes a temporary block type for the upcoming icon feature","created_at":"2018-08-21T19:49:44Z","updated_at":"2018-08-21T21:05:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08242288b7e0176c5a005d427c20ebbf344401e8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53/commits","review_comments_url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53/comments","review_comment_url":"https://api.github.com/repos/ben-wallis/Filtration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ben-wallis/Filtration/issues/53/comments","statuses_url":"https://api.github.com/repos/ben-wallis/Filtration/statuses/c0e9c534de1eff8c530cb0cbf9d7f6f7224e7a7c","head":{"label":"azakhi:improvements","ref":"improvements","sha":"c0e9c534de1eff8c530cb0cbf9d7f6f7224e7a7c","user":{"login":"azakhi","id":8937832,"node_id":"MDQ6VXNlcjg5Mzc4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/8937832?v=4","gravatar_id":"","url":"https://api.github.com/users/azakhi","html_url":"https://github.com/azakhi","followers_url":"https://api.github.com/users/azakhi/followers","following_url":"https://api.github.com/users/azakhi/following{/other_user}","gists_url":"https://api.github.com/users/azakhi/gists{/gist_id}","starred_url":"https://api.github.com/users/azakhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakhi/subscriptions","organizations_url":"https://api.github.com/users/azakhi/orgs","repos_url":"https://api.github.com/users/azakhi/repos","events_url":"https://api.github.com/users/azakhi/events{/privacy}","received_events_url":"https://api.github.com/users/azakhi/received_events","type":"User","site_admin":false},"repo":{"id":112173973,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIxNzM5NzM=","name":"Filtration","full_name":"azakhi/Filtration","owner":{"login":"azakhi","id":8937832,"node_id":"MDQ6VXNlcjg5Mzc4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/8937832?v=4","gravatar_id":"","url":"https://api.github.com/users/azakhi","html_url":"https://github.com/azakhi","followers_url":"https://api.github.com/users/azakhi/followers","following_url":"https://api.github.com/users/azakhi/following{/other_user}","gists_url":"https://api.github.com/users/azakhi/gists{/gist_id}","starred_url":"https://api.github.com/users/azakhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakhi/subscriptions","organizations_url":"https://api.github.com/users/azakhi/orgs","repos_url":"https://api.github.com/users/azakhi/repos","events_url":"https://api.github.com/users/azakhi/events{/privacy}","received_events_url":"https://api.github.com/users/azakhi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azakhi/Filtration","description":"The Path of Exile loot filter editor","fork":true,"url":"https://api.github.com/repos/azakhi/Filtration","forks_url":"https://api.github.com/repos/azakhi/Filtration/forks","keys_url":"https://api.github.com/repos/azakhi/Filtration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azakhi/Filtration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azakhi/Filtration/teams","hooks_url":"https://api.github.com/repos/azakhi/Filtration/hooks","issue_events_url":"https://api.github.com/repos/azakhi/Filtration/issues/events{/number}","events_url":"https://api.github.com/repos/azakhi/Filtration/events","assignees_url":"https://api.github.com/repos/azakhi/Filtration/assignees{/user}","branches_url":"https://api.github.com/repos/azakhi/Filtration/branches{/branch}","tags_url":"https://api.github.com/repos/azakhi/Filtration/tags","blobs_url":"https://api.github.com/repos/azakhi/Filtration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azakhi/Filtration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azakhi/Filtration/git/refs{/sha}","trees_url":"https://api.github.com/repos/azakhi/Filtration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azakhi/Filtration/statuses/{sha}","languages_url":"https://api.github.com/repos/azakhi/Filtration/languages","stargazers_url":"https://api.github.com/repos/azakhi/Filtration/stargazers","contributors_url":"https://api.github.com/repos/azakhi/Filtration/contributors","subscribers_url":"https://api.github.com/repos/azakhi/Filtration/subscribers","subscription_url":"https://api.github.com/repos/azakhi/Filtration/subscription","commits_url":"https://api.github.com/repos/azakhi/Filtration/commits{/sha}","git_commits_url":"https://api.github.com/repos/azakhi/Filtration/git/commits{/sha}","comments_url":"https://api.github.com/repos/azakhi/Filtration/comments{/number}","issue_comment_url":"https://api.github.com/repos/azakhi/Filtration/issues/comments{/number}","contents_url":"https://api.github.com/repos/azakhi/Filtration/contents/{+path}","compare_url":"https://api.github.com/repos/azakhi/Filtration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azakhi/Filtration/merges","archive_url":"https://api.github.com/repos/azakhi/Filtration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azakhi/Filtration/downloads","issues_url":"https://api.github.com/repos/azakhi/Filtration/issues{/number}","pulls_url":"https://api.github.com/repos/azakhi/Filtration/pulls{/number}","milestones_url":"https://api.github.com/repos/azakhi/Filtration/milestones{/number}","notifications_url":"https://api.github.com/repos/azakhi/Filtration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azakhi/Filtration/labels{/name}","releases_url":"https://api.github.com/repos/azakhi/Filtration/releases{/id}","deployments_url":"https://api.github.com/repos/azakhi/Filtration/deployments","created_at":"2017-11-27T09:14:27Z","updated_at":"2018-08-20T18:19:24Z","pushed_at":"2018-08-21T14:03:46Z","git_url":"git://github.com/azakhi/Filtration.git","ssh_url":"git@github.com:azakhi/Filtration.git","clone_url":"https://github.com/azakhi/Filtration.git","svn_url":"https://github.com/azakhi/Filtration","homepage":"","size":13316,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ben-wallis:master","ref":"master","sha":"52fc1f6bbc9d20fcd52e3ac6fee86c2a85b628e5","user":{"login":"ben-wallis","id":11904214,"node_id":"MDQ6VXNlcjExOTA0MjE0","avatar_url":"https://avatars3.githubusercontent.com/u/11904214?v=4","gravatar_id":"","url":"https://api.github.com/users/ben-wallis","html_url":"https://github.com/ben-wallis","followers_url":"https://api.github.com/users/ben-wallis/followers","following_url":"https://api.github.com/users/ben-wallis/following{/other_user}","gists_url":"https://api.github.com/users/ben-wallis/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-wallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-wallis/subscriptions","organizations_url":"https://api.github.com/users/ben-wallis/orgs","repos_url":"https://api.github.com/users/ben-wallis/repos","events_url":"https://api.github.com/users/ben-wallis/events{/privacy}","received_events_url":"https://api.github.com/users/ben-wallis/received_events","type":"User","site_admin":false},"repo":{"id":36884455,"node_id":"MDEwOlJlcG9zaXRvcnkzNjg4NDQ1NQ==","name":"Filtration","full_name":"ben-wallis/Filtration","owner":{"login":"ben-wallis","id":11904214,"node_id":"MDQ6VXNlcjExOTA0MjE0","avatar_url":"https://avatars3.githubusercontent.com/u/11904214?v=4","gravatar_id":"","url":"https://api.github.com/users/ben-wallis","html_url":"https://github.com/ben-wallis","followers_url":"https://api.github.com/users/ben-wallis/followers","following_url":"https://api.github.com/users/ben-wallis/following{/other_user}","gists_url":"https://api.github.com/users/ben-wallis/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-wallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-wallis/subscriptions","organizations_url":"https://api.github.com/users/ben-wallis/orgs","repos_url":"https://api.github.com/users/ben-wallis/repos","events_url":"https://api.github.com/users/ben-wallis/events{/privacy}","received_events_url":"https://api.github.com/users/ben-wallis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ben-wallis/Filtration","description":"The Path of Exile loot filter editor","fork":false,"url":"https://api.github.com/repos/ben-wallis/Filtration","forks_url":"https://api.github.com/repos/ben-wallis/Filtration/forks","keys_url":"https://api.github.com/repos/ben-wallis/Filtration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ben-wallis/Filtration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ben-wallis/Filtration/teams","hooks_url":"https://api.github.com/repos/ben-wallis/Filtration/hooks","issue_events_url":"https://api.github.com/repos/ben-wallis/Filtration/issues/events{/number}","events_url":"https://api.github.com/repos/ben-wallis/Filtration/events","assignees_url":"https://api.github.com/repos/ben-wallis/Filtration/assignees{/user}","branches_url":"https://api.github.com/repos/ben-wallis/Filtration/branches{/branch}","tags_url":"https://api.github.com/repos/ben-wallis/Filtration/tags","blobs_url":"https://api.github.com/repos/ben-wallis/Filtration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ben-wallis/Filtration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ben-wallis/Filtration/git/refs{/sha}","trees_url":"https://api.github.com/repos/ben-wallis/Filtration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ben-wallis/Filtration/statuses/{sha}","languages_url":"https://api.github.com/repos/ben-wallis/Filtration/languages","stargazers_url":"https://api.github.com/repos/ben-wallis/Filtration/stargazers","contributors_url":"https://api.github.com/repos/ben-wallis/Filtration/contributors","subscribers_url":"https://api.github.com/repos/ben-wallis/Filtration/subscribers","subscription_url":"https://api.github.com/repos/ben-wallis/Filtration/subscription","commits_url":"https://api.github.com/repos/ben-wallis/Filtration/commits{/sha}","git_commits_url":"https://api.github.com/repos/ben-wallis/Filtration/git/commits{/sha}","comments_url":"https://api.github.com/repos/ben-wallis/Filtration/comments{/number}","issue_comment_url":"https://api.github.com/repos/ben-wallis/Filtration/issues/comments{/number}","contents_url":"https://api.github.com/repos/ben-wallis/Filtration/contents/{+path}","compare_url":"https://api.github.com/repos/ben-wallis/Filtration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ben-wallis/Filtration/merges","archive_url":"https://api.github.com/repos/ben-wallis/Filtration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ben-wallis/Filtration/downloads","issues_url":"https://api.github.com/repos/ben-wallis/Filtration/issues{/number}","pulls_url":"https://api.github.com/repos/ben-wallis/Filtration/pulls{/number}","milestones_url":"https://api.github.com/repos/ben-wallis/Filtration/milestones{/number}","notifications_url":"https://api.github.com/repos/ben-wallis/Filtration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ben-wallis/Filtration/labels{/name}","releases_url":"https://api.github.com/repos/ben-wallis/Filtration/releases{/id}","deployments_url":"https://api.github.com/repos/ben-wallis/Filtration/deployments","created_at":"2015-06-04T17:09:35Z","updated_at":"2018-08-19T10:26:53Z","pushed_at":"2018-08-21T19:49:45Z","git_url":"git://github.com/ben-wallis/Filtration.git","ssh_url":"git@github.com:ben-wallis/Filtration.git","clone_url":"https://github.com/ben-wallis/Filtration.git","svn_url":"https://github.com/ben-wallis/Filtration","homepage":"","size":13252,"stargazers_count":175,"watchers_count":175,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":37,"open_issues":19,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53"},"html":{"href":"https://github.com/ben-wallis/Filtration/pull/53"},"issue":{"href":"https://api.github.com/repos/ben-wallis/Filtration/issues/53"},"comments":{"href":"https://api.github.com/repos/ben-wallis/Filtration/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ben-wallis/Filtration/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/ben-wallis/Filtration/statuses/c0e9c534de1eff8c530cb0cbf9d7f6f7224e7a7c"}},"author_association":"NONE"}}
{"actor":{"display_login":"azakhi"}}