{"action":"created","comment":{"url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/comments/134421793","pull_request_review_id":57708998,"id":134421793,"diff_hunk":"@@ -30,6 +30,12 @@\n                     {% for key, value in menu_config.fields|merge(menuitem) if key not in ['submenu', 'label'] %}\n                         {{ fields.field(key, value, id, menu_config, name) }}\n                     {% endfor %}\n+\n+                    {% for items in menu_event_fields %}\n+                        {% for item in items %}\n+                            {{ fields.event_field(item, id, menu_config, name, menuitem) }}","path":"templates/menuitem.twig","position":7,"original_position":7,"commit_id":"fd1047c80f01c41557650e9f38e432a39a4e487f","original_commit_id":"2ca28786bdbc367eff58b320edef85c389b75951","user":{"login":"SantinoPetrovic","id":9797875,"avatar_url":"https://avatars2.githubusercontent.com/u/9797875?v=4","gravatar_id":"","url":"https://api.github.com/users/SantinoPetrovic","html_url":"https://github.com/SantinoPetrovic","followers_url":"https://api.github.com/users/SantinoPetrovic/followers","following_url":"https://api.github.com/users/SantinoPetrovic/following{/other_user}","gists_url":"https://api.github.com/users/SantinoPetrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/SantinoPetrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SantinoPetrovic/subscriptions","organizations_url":"https://api.github.com/users/SantinoPetrovic/orgs","repos_url":"https://api.github.com/users/SantinoPetrovic/repos","events_url":"https://api.github.com/users/SantinoPetrovic/events{/privacy}","received_events_url":"https://api.github.com/users/SantinoPetrovic/received_events","type":"User","site_admin":false},"body":"While I think about it, there is a possibility if I add empty key and empty value in macro, and add it as item in last place in the macro. ","created_at":"2017-08-22T08:57:22Z","updated_at":"2017-08-22T08:57:22Z","html_url":"https://github.com/bacbos/bolt-menu-editor/pull/67#discussion_r134421793","pull_request_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/comments/134421793"},"html":{"href":"https://github.com/bacbos/bolt-menu-editor/pull/67#discussion_r134421793"},"pull_request":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67","id":136475819,"html_url":"https://github.com/bacbos/bolt-menu-editor/pull/67","diff_url":"https://github.com/bacbos/bolt-menu-editor/pull/67.diff","patch_url":"https://github.com/bacbos/bolt-menu-editor/pull/67.patch","issue_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/67","number":67,"state":"open","locked":false,"title":"Menueditor with event class so it can dispatch an event and add more field items.","user":{"login":"SantinoPetrovic","id":9797875,"avatar_url":"https://avatars2.githubusercontent.com/u/9797875?v=4","gravatar_id":"","url":"https://api.github.com/users/SantinoPetrovic","html_url":"https://github.com/SantinoPetrovic","followers_url":"https://api.github.com/users/SantinoPetrovic/followers","following_url":"https://api.github.com/users/SantinoPetrovic/following{/other_user}","gists_url":"https://api.github.com/users/SantinoPetrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/SantinoPetrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SantinoPetrovic/subscriptions","organizations_url":"https://api.github.com/users/SantinoPetrovic/orgs","repos_url":"https://api.github.com/users/SantinoPetrovic/repos","events_url":"https://api.github.com/users/SantinoPetrovic/events{/privacy}","received_events_url":"https://api.github.com/users/SantinoPetrovic/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-18T13:10:17Z","updated_at":"2017-08-22T08:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84134d4ff538c0663fb39ca363140d471a59993c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67/commits","review_comments_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67/comments","review_comment_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/67/comments","statuses_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/statuses/fd1047c80f01c41557650e9f38e432a39a4e487f","head":{"label":"SantinoPetrovic:dev","ref":"dev","sha":"fd1047c80f01c41557650e9f38e432a39a4e487f","user":{"login":"SantinoPetrovic","id":9797875,"avatar_url":"https://avatars2.githubusercontent.com/u/9797875?v=4","gravatar_id":"","url":"https://api.github.com/users/SantinoPetrovic","html_url":"https://github.com/SantinoPetrovic","followers_url":"https://api.github.com/users/SantinoPetrovic/followers","following_url":"https://api.github.com/users/SantinoPetrovic/following{/other_user}","gists_url":"https://api.github.com/users/SantinoPetrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/SantinoPetrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SantinoPetrovic/subscriptions","organizations_url":"https://api.github.com/users/SantinoPetrovic/orgs","repos_url":"https://api.github.com/users/SantinoPetrovic/repos","events_url":"https://api.github.com/users/SantinoPetrovic/events{/privacy}","received_events_url":"https://api.github.com/users/SantinoPetrovic/received_events","type":"User","site_admin":false},"repo":{"id":99220543,"name":"bolt-menu-editor","full_name":"SantinoPetrovic/bolt-menu-editor","owner":{"login":"SantinoPetrovic","id":9797875,"avatar_url":"https://avatars2.githubusercontent.com/u/9797875?v=4","gravatar_id":"","url":"https://api.github.com/users/SantinoPetrovic","html_url":"https://github.com/SantinoPetrovic","followers_url":"https://api.github.com/users/SantinoPetrovic/followers","following_url":"https://api.github.com/users/SantinoPetrovic/following{/other_user}","gists_url":"https://api.github.com/users/SantinoPetrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/SantinoPetrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SantinoPetrovic/subscriptions","organizations_url":"https://api.github.com/users/SantinoPetrovic/orgs","repos_url":"https://api.github.com/users/SantinoPetrovic/repos","events_url":"https://api.github.com/users/SantinoPetrovic/events{/privacy}","received_events_url":"https://api.github.com/users/SantinoPetrovic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SantinoPetrovic/bolt-menu-editor","description":"a visual menu-editor extension for the awesome bolt cms","fork":true,"url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor","forks_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/forks","keys_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/teams","hooks_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/hooks","issue_events_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/issues/events{/number}","events_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/events","assignees_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/assignees{/user}","branches_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/branches{/branch}","tags_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/tags","blobs_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/languages","stargazers_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/stargazers","contributors_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/contributors","subscribers_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/subscribers","subscription_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/subscription","commits_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/contents/{+path}","compare_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/merges","archive_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/downloads","issues_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/issues{/number}","pulls_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/labels{/name}","releases_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/releases{/id}","deployments_url":"https://api.github.com/repos/SantinoPetrovic/bolt-menu-editor/deployments","created_at":"2017-08-03T10:24:52Z","updated_at":"2017-08-03T10:24:53Z","pushed_at":"2017-08-22T07:52:52Z","git_url":"git://github.com/SantinoPetrovic/bolt-menu-editor.git","ssh_url":"git@github.com:SantinoPetrovic/bolt-menu-editor.git","clone_url":"https://github.com/SantinoPetrovic/bolt-menu-editor.git","svn_url":"https://github.com/SantinoPetrovic/bolt-menu-editor","homepage":"","size":776,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"bacbos:master","ref":"master","sha":"959e6064ab11a66e0bbc319fc7338812441b100a","user":{"login":"bacbos","id":1737019,"avatar_url":"https://avatars2.githubusercontent.com/u/1737019?v=4","gravatar_id":"","url":"https://api.github.com/users/bacbos","html_url":"https://github.com/bacbos","followers_url":"https://api.github.com/users/bacbos/followers","following_url":"https://api.github.com/users/bacbos/following{/other_user}","gists_url":"https://api.github.com/users/bacbos/gists{/gist_id}","starred_url":"https://api.github.com/users/bacbos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacbos/subscriptions","organizations_url":"https://api.github.com/users/bacbos/orgs","repos_url":"https://api.github.com/users/bacbos/repos","events_url":"https://api.github.com/users/bacbos/events{/privacy}","received_events_url":"https://api.github.com/users/bacbos/received_events","type":"User","site_admin":false},"repo":{"id":23368945,"name":"bolt-menu-editor","full_name":"bacbos/bolt-menu-editor","owner":{"login":"bacbos","id":1737019,"avatar_url":"https://avatars2.githubusercontent.com/u/1737019?v=4","gravatar_id":"","url":"https://api.github.com/users/bacbos","html_url":"https://github.com/bacbos","followers_url":"https://api.github.com/users/bacbos/followers","following_url":"https://api.github.com/users/bacbos/following{/other_user}","gists_url":"https://api.github.com/users/bacbos/gists{/gist_id}","starred_url":"https://api.github.com/users/bacbos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacbos/subscriptions","organizations_url":"https://api.github.com/users/bacbos/orgs","repos_url":"https://api.github.com/users/bacbos/repos","events_url":"https://api.github.com/users/bacbos/events{/privacy}","received_events_url":"https://api.github.com/users/bacbos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bacbos/bolt-menu-editor","description":"a visual menu-editor extension for the awesome bolt cms","fork":false,"url":"https://api.github.com/repos/bacbos/bolt-menu-editor","forks_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/forks","keys_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/teams","hooks_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/hooks","issue_events_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/events{/number}","events_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/events","assignees_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/assignees{/user}","branches_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/branches{/branch}","tags_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/tags","blobs_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/languages","stargazers_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/stargazers","contributors_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/contributors","subscribers_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/subscribers","subscription_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/subscription","commits_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/contents/{+path}","compare_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/merges","archive_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/downloads","issues_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues{/number}","pulls_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/labels{/name}","releases_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/releases{/id}","deployments_url":"https://api.github.com/repos/bacbos/bolt-menu-editor/deployments","created_at":"2014-08-26T22:27:39Z","updated_at":"2017-07-21T12:10:07Z","pushed_at":"2017-08-22T07:47:44Z","git_url":"git://github.com/bacbos/bolt-menu-editor.git","ssh_url":"git@github.com:bacbos/bolt-menu-editor.git","clone_url":"https://github.com/bacbos/bolt-menu-editor.git","svn_url":"https://github.com/bacbos/bolt-menu-editor","homepage":"","size":767,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67"},"html":{"href":"https://github.com/bacbos/bolt-menu-editor/pull/67"},"issue":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/67"},"comments":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/bacbos/bolt-menu-editor/statuses/fd1047c80f01c41557650e9f38e432a39a4e487f"}}}}
{"actor":{"display_login":"SantinoPetrovic"}}