{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/9215","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/9215/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/9215/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/9215/events","html_url":"https://github.com/driftyco/ionic/issues/9215","id":190178197,"number":9215,"title":"Should the navPush directive default to not allow pushing the same page multiple times?","user":{"login":"kamok","id":9758567,"avatar_url":"https://avatars.githubusercontent.com/u/9758567?v=3","gravatar_id":"","url":"https://api.github.com/users/kamok","html_url":"https://github.com/kamok","followers_url":"https://api.github.com/users/kamok/followers","following_url":"https://api.github.com/users/kamok/following{/other_user}","gists_url":"https://api.github.com/users/kamok/gists{/gist_id}","starred_url":"https://api.github.com/users/kamok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamok/subscriptions","organizations_url":"https://api.github.com/users/kamok/orgs","repos_url":"https://api.github.com/users/kamok/repos","events_url":"https://api.github.com/users/kamok/events{/privacy}","received_events_url":"https://api.github.com/users/kamok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-17T22:06:40Z","updated_at":"2016-11-18T00:37:14Z","closed_at":null,"body":"I feel like it should be a built-in feature within the directive. I would like to customize the directive right now, but I'm not sure how to. One workaround I thought up to fix this is to disable the button for  the navPush when currentpage = the page it points to. But that's kinda hacky. "},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/261414893","html_url":"https://github.com/driftyco/ionic/issues/9215#issuecomment-261414893","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/9215","id":261414893,"user":{"login":"biesbjerg","id":230182,"avatar_url":"https://avatars.githubusercontent.com/u/230182?v=3","gravatar_id":"","url":"https://api.github.com/users/biesbjerg","html_url":"https://github.com/biesbjerg","followers_url":"https://api.github.com/users/biesbjerg/followers","following_url":"https://api.github.com/users/biesbjerg/following{/other_user}","gists_url":"https://api.github.com/users/biesbjerg/gists{/gist_id}","starred_url":"https://api.github.com/users/biesbjerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biesbjerg/subscriptions","organizations_url":"https://api.github.com/users/biesbjerg/orgs","repos_url":"https://api.github.com/users/biesbjerg/repos","events_url":"https://api.github.com/users/biesbjerg/events{/privacy}","received_events_url":"https://api.github.com/users/biesbjerg/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T00:37:14Z","updated_at":"2016-11-18T00:37:14Z","body":"I disagree. \r\n\r\nHere's a scenario that is not an edge case:\r\n\r\n`ProductDetailPage` shows a product. It also shows a a list of related products. The user can tap a related product to show it, and it would also use the `ProductDetailPage`. \r\n\r\nIt's a perfectly valid use-case and it would be pretty confusing just updating the page with the tapped related product + you would lose the ability to nagivate back using the back button.\r\n\r\nWhy do you need the framework to protect you from pushing a page multiple times anyway?"}}
{"actor":{"display_login":"biesbjerg"}}