{"action":"reopened","number":98,"pull_request":{"url":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98","id":189358877,"html_url":"https://github.com/vaadin/vaadin-router/pull/98","diff_url":"https://github.com/vaadin/vaadin-router/pull/98.diff","patch_url":"https://github.com/vaadin/vaadin-router/pull/98.patch","issue_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/98","number":98,"state":"open","locked":false,"title":"Prevent duplicate navigation event for same pathname","user":{"login":"web-padawan","id":10589913,"avatar_url":"https://avatars2.githubusercontent.com/u/10589913?v=4","gravatar_id":"","url":"https://api.github.com/users/web-padawan","html_url":"https://github.com/web-padawan","followers_url":"https://api.github.com/users/web-padawan/followers","following_url":"https://api.github.com/users/web-padawan/following{/other_user}","gists_url":"https://api.github.com/users/web-padawan/gists{/gist_id}","starred_url":"https://api.github.com/users/web-padawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-padawan/subscriptions","organizations_url":"https://api.github.com/users/web-padawan/orgs","repos_url":"https://api.github.com/users/web-padawan/repos","events_url":"https://api.github.com/users/web-padawan/events{/privacy}","received_events_url":"https://api.github.com/users/web-padawan/received_events","type":"User","site_admin":false},"body":"Fixes #89\r\n\r\nDepends on #96 for the demo and tests (but not implementation)\r\n- check \"Custom Route Action\" demo\r\n- click the \"All Users\" link\r\n- see the `Statistics on URL visits: { \"/users\": 1 }}`\r\n\r\nSame results in `\"/users\": 2` when running fix on top of the master, most likely because of the fact that `triggerNavigation.js` is bundled into two different locations at the same time.\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/vaadin/vaadin-router/98)\r\n<!-- Reviewable:end -->\r\n","created_at":"2018-05-21T11:56:34Z","updated_at":"2018-05-21T12:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a7a21f93291960c24c08f54c6ceb7e10218c43c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98/commits","review_comments_url":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98/comments","review_comment_url":"https://api.github.com/repos/vaadin/vaadin-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/98/comments","statuses_url":"https://api.github.com/repos/vaadin/vaadin-router/statuses/a389eb94de394314e7c1d06d97a11b9070d82290","head":{"label":"vaadin:fix/89-duplicate-navigation-event","ref":"fix/89-duplicate-navigation-event","sha":"a389eb94de394314e7c1d06d97a11b9070d82290","user":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars2.githubusercontent.com/u/1171922?v=4","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"repo":{"id":125837527,"name":"vaadin-router","full_name":"vaadin/vaadin-router","owner":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars2.githubusercontent.com/u/1171922?v=4","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaadin/vaadin-router","description":"Small and powerful client-side router for Web Components. Framework-agnostic.","fork":false,"url":"https://api.github.com/repos/vaadin/vaadin-router","forks_url":"https://api.github.com/repos/vaadin/vaadin-router/forks","keys_url":"https://api.github.com/repos/vaadin/vaadin-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaadin/vaadin-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaadin/vaadin-router/teams","hooks_url":"https://api.github.com/repos/vaadin/vaadin-router/hooks","issue_events_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/events{/number}","events_url":"https://api.github.com/repos/vaadin/vaadin-router/events","assignees_url":"https://api.github.com/repos/vaadin/vaadin-router/assignees{/user}","branches_url":"https://api.github.com/repos/vaadin/vaadin-router/branches{/branch}","tags_url":"https://api.github.com/repos/vaadin/vaadin-router/tags","blobs_url":"https://api.github.com/repos/vaadin/vaadin-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaadin/vaadin-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaadin/vaadin-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaadin/vaadin-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaadin/vaadin-router/statuses/{sha}","languages_url":"https://api.github.com/repos/vaadin/vaadin-router/languages","stargazers_url":"https://api.github.com/repos/vaadin/vaadin-router/stargazers","contributors_url":"https://api.github.com/repos/vaadin/vaadin-router/contributors","subscribers_url":"https://api.github.com/repos/vaadin/vaadin-router/subscribers","subscription_url":"https://api.github.com/repos/vaadin/vaadin-router/subscription","commits_url":"https://api.github.com/repos/vaadin/vaadin-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaadin/vaadin-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaadin/vaadin-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaadin/vaadin-router/contents/{+path}","compare_url":"https://api.github.com/repos/vaadin/vaadin-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaadin/vaadin-router/merges","archive_url":"https://api.github.com/repos/vaadin/vaadin-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaadin/vaadin-router/downloads","issues_url":"https://api.github.com/repos/vaadin/vaadin-router/issues{/number}","pulls_url":"https://api.github.com/repos/vaadin/vaadin-router/pulls{/number}","milestones_url":"https://api.github.com/repos/vaadin/vaadin-router/milestones{/number}","notifications_url":"https://api.github.com/repos/vaadin/vaadin-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaadin/vaadin-router/labels{/name}","releases_url":"https://api.github.com/repos/vaadin/vaadin-router/releases{/id}","deployments_url":"https://api.github.com/repos/vaadin/vaadin-router/deployments","created_at":"2018-03-19T10:00:42Z","updated_at":"2018-05-21T12:46:54Z","pushed_at":"2018-05-21T12:46:53Z","git_url":"git://github.com/vaadin/vaadin-router.git","ssh_url":"git@github.com:vaadin/vaadin-router.git","clone_url":"https://github.com/vaadin/vaadin-router.git","svn_url":"https://github.com/vaadin/vaadin-router","homepage":"https://vaadin.github.io/vaadin-router/vaadin-router/","size":1895,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":52,"watchers":1,"default_branch":"master"}},"base":{"label":"vaadin:master","ref":"master","sha":"58898221eceb4f60776638fbcde04cad9c7cbc18","user":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars2.githubusercontent.com/u/1171922?v=4","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"repo":{"id":125837527,"name":"vaadin-router","full_name":"vaadin/vaadin-router","owner":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars2.githubusercontent.com/u/1171922?v=4","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaadin/vaadin-router","description":"Small and powerful client-side router for Web Components. Framework-agnostic.","fork":false,"url":"https://api.github.com/repos/vaadin/vaadin-router","forks_url":"https://api.github.com/repos/vaadin/vaadin-router/forks","keys_url":"https://api.github.com/repos/vaadin/vaadin-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaadin/vaadin-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaadin/vaadin-router/teams","hooks_url":"https://api.github.com/repos/vaadin/vaadin-router/hooks","issue_events_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/events{/number}","events_url":"https://api.github.com/repos/vaadin/vaadin-router/events","assignees_url":"https://api.github.com/repos/vaadin/vaadin-router/assignees{/user}","branches_url":"https://api.github.com/repos/vaadin/vaadin-router/branches{/branch}","tags_url":"https://api.github.com/repos/vaadin/vaadin-router/tags","blobs_url":"https://api.github.com/repos/vaadin/vaadin-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaadin/vaadin-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaadin/vaadin-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaadin/vaadin-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaadin/vaadin-router/statuses/{sha}","languages_url":"https://api.github.com/repos/vaadin/vaadin-router/languages","stargazers_url":"https://api.github.com/repos/vaadin/vaadin-router/stargazers","contributors_url":"https://api.github.com/repos/vaadin/vaadin-router/contributors","subscribers_url":"https://api.github.com/repos/vaadin/vaadin-router/subscribers","subscription_url":"https://api.github.com/repos/vaadin/vaadin-router/subscription","commits_url":"https://api.github.com/repos/vaadin/vaadin-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaadin/vaadin-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaadin/vaadin-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaadin/vaadin-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaadin/vaadin-router/contents/{+path}","compare_url":"https://api.github.com/repos/vaadin/vaadin-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaadin/vaadin-router/merges","archive_url":"https://api.github.com/repos/vaadin/vaadin-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaadin/vaadin-router/downloads","issues_url":"https://api.github.com/repos/vaadin/vaadin-router/issues{/number}","pulls_url":"https://api.github.com/repos/vaadin/vaadin-router/pulls{/number}","milestones_url":"https://api.github.com/repos/vaadin/vaadin-router/milestones{/number}","notifications_url":"https://api.github.com/repos/vaadin/vaadin-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaadin/vaadin-router/labels{/name}","releases_url":"https://api.github.com/repos/vaadin/vaadin-router/releases{/id}","deployments_url":"https://api.github.com/repos/vaadin/vaadin-router/deployments","created_at":"2018-03-19T10:00:42Z","updated_at":"2018-05-21T12:46:54Z","pushed_at":"2018-05-21T12:46:53Z","git_url":"git://github.com/vaadin/vaadin-router.git","ssh_url":"git@github.com:vaadin/vaadin-router.git","clone_url":"https://github.com/vaadin/vaadin-router.git","svn_url":"https://github.com/vaadin/vaadin-router","homepage":"https://vaadin.github.io/vaadin-router/vaadin-router/","size":1895,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":52,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98"},"html":{"href":"https://github.com/vaadin/vaadin-router/pull/98"},"issue":{"href":"https://api.github.com/repos/vaadin/vaadin-router/issues/98"},"comments":{"href":"https://api.github.com/repos/vaadin/vaadin-router/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/vaadin/vaadin-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vaadin/vaadin-router/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/vaadin/vaadin-router/statuses/a389eb94de394314e7c1d06d97a11b9070d82290"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":36,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"web-padawan"}}