{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/website/issues/313","labels_url":"https://api.github.com/repos/phetsims/website/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/website/issues/313/comments","events_url":"https://api.github.com/repos/phetsims/website/issues/313/events","html_url":"https://github.com/phetsims/website/issues/313","id":117228817,"number":313,"title":"CCK Donation Ask","user":{"login":"ariel-phet","id":4051174,"avatar_url":"https://avatars.githubusercontent.com/u/4051174?v=3","gravatar_id":"","url":"https://api.github.com/users/ariel-phet","html_url":"https://github.com/ariel-phet","followers_url":"https://api.github.com/users/ariel-phet/followers","following_url":"https://api.github.com/users/ariel-phet/following{/other_user}","gists_url":"https://api.github.com/users/ariel-phet/gists{/gist_id}","starred_url":"https://api.github.com/users/ariel-phet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariel-phet/subscriptions","organizations_url":"https://api.github.com/users/ariel-phet/orgs","repos_url":"https://api.github.com/users/ariel-phet/repos","events_url":"https://api.github.com/users/ariel-phet/events{/privacy}","received_events_url":"https://api.github.com/users/ariel-phet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/website/labels/fundraising","name":"fundraising","color":"0052cc"},{"url":"https://api.github.com/repos/phetsims/website/labels/High%20Priority","name":"High Priority","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"mattpen","id":11747676,"avatar_url":"https://avatars.githubusercontent.com/u/11747676?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpen","html_url":"https://github.com/mattpen","followers_url":"https://api.github.com/users/mattpen/followers","following_url":"https://api.github.com/users/mattpen/following{/other_user}","gists_url":"https://api.github.com/users/mattpen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpen/subscriptions","organizations_url":"https://api.github.com/users/mattpen/orgs","repos_url":"https://api.github.com/users/mattpen/repos","events_url":"https://api.github.com/users/mattpen/events{/privacy}","received_events_url":"https://api.github.com/users/mattpen/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-11-16T22:03:43Z","updated_at":"2015-11-18T20:40:13Z","closed_at":null,"body":"@mattpen this will be a high priority project for you and will trump most other work (except critical fixes) in terms of priority\r\n\r\nOriginally, we had thought about putting this \"ask\" within the sim itself, but we have decided to try it out directly on the website itself. Details on the look of the ask are here:\r\n\r\nhttps://github.com/phetsims/tasks/issues/395\r\n\r\nThe basic behavior should go something like this:\r\n1. If you go to the sim page for Circuit Construction Kit (CCK) or one of its variants the ask does not yet appear.\r\n2. If you click on the sim screenshot (run) or the download button the ask dialog appears and follows a similar paradigm to the sign in dialog (the dialog is bright, website behind dims)\r\n3. If you click \"maybe later\" the action you had previously chosen occurs (downloading or running the sim).\r\n4. If you click \"donate now\" a new browser tab opens with the donation page\r\n5. We will ideally want to build some tracking into this ask so we can know how often people are clicking donate now, and perhaps even have a cookie so that the ask does not appear if they have already donated in the past ( @jonathanolson will obviously help with this)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phetsims/website/issues/comments/157856387","html_url":"https://github.com/phetsims/website/issues/313#issuecomment-157856387","issue_url":"https://api.github.com/repos/phetsims/website/issues/313","id":157856387,"user":{"login":"mattpen","id":11747676,"avatar_url":"https://avatars.githubusercontent.com/u/11747676?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpen","html_url":"https://github.com/mattpen","followers_url":"https://api.github.com/users/mattpen/followers","following_url":"https://api.github.com/users/mattpen/following{/other_user}","gists_url":"https://api.github.com/users/mattpen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpen/subscriptions","organizations_url":"https://api.github.com/users/mattpen/orgs","repos_url":"https://api.github.com/users/mattpen/repos","events_url":"https://api.github.com/users/mattpen/events{/privacy}","received_events_url":"https://api.github.com/users/mattpen/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T20:40:13Z","updated_at":"2015-11-18T20:40:13Z","body":"@ariel-phet When a user clicks the DonateNow button, the page will open in a new tab.  Can you clarify what should happen on the original page after clicking the Donate button?  Options are 1. nothing, the CCKask popup remains 2. Sim launches or prompts to download in the background, 3. The CCKask popup disappears with no other action."}}