{"action":"created","issue":{"url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/71","labels_url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/71/comments","events_url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/71/events","html_url":"https://github.com/christian-fei/pomodoro.cc/issues/71","id":126012655,"number":71,"title":"As a logged in user I want to participate to the beta program So that I can try out new features and give feedback about them","user":{"login":"christian-fei","id":2662706,"avatar_url":"https://avatars.githubusercontent.com/u/2662706?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-fei","html_url":"https://github.com/christian-fei","followers_url":"https://api.github.com/users/christian-fei/followers","following_url":"https://api.github.com/users/christian-fei/following{/other_user}","gists_url":"https://api.github.com/users/christian-fei/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-fei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-fei/subscriptions","organizations_url":"https://api.github.com/users/christian-fei/orgs","repos_url":"https://api.github.com/users/christian-fei/repos","events_url":"https://api.github.com/users/christian-fei/events{/privacy}","received_events_url":"https://api.github.com/users/christian-fei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/christian-fei/pomodoro.cc/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-11T19:01:30Z","updated_at":"2016-01-11T22:21:08Z","closed_at":null,"body":"We would like to launch a beta program that enables some features we would like to validate.\r\n\r\nThe user can subscribe/unsubscribe to the beta program through a dedicated page (like `/beta`).\r\nThe responsibility belongs definitely to the api-service, so it would be wrong to delegate it to `/auth/info`.. (just thinking out loud).\r\n\r\nWe need to track with mixpanel this property (via `identity`?).\r\n\r\nThere should also be a notice on the page (maybe on the header?) to inform the user that they are subscribed to the beta program.\r\n\r\nThe state will be handled by redux, maybe we can add it as a property to the `api` store.\r\n\r\n# doubts\r\n\r\nA note about the redux state and react rendering:\r\n\r\nProbably it's best if the component \"that is being tested\" (e.g. is part of the beta program) doesn't know whether it should be rendered or not, but rather a container component (like `<BetaProgramEligible/>`) that has this responsibility.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/comments/170709911","html_url":"https://github.com/christian-fei/pomodoro.cc/issues/71#issuecomment-170709911","issue_url":"https://api.github.com/repos/christian-fei/pomodoro.cc/issues/71","id":170709911,"user":{"login":"fain182","id":5879,"avatar_url":"https://avatars.githubusercontent.com/u/5879?v=3","gravatar_id":"","url":"https://api.github.com/users/fain182","html_url":"https://github.com/fain182","followers_url":"https://api.github.com/users/fain182/followers","following_url":"https://api.github.com/users/fain182/following{/other_user}","gists_url":"https://api.github.com/users/fain182/gists{/gist_id}","starred_url":"https://api.github.com/users/fain182/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fain182/subscriptions","organizations_url":"https://api.github.com/users/fain182/orgs","repos_url":"https://api.github.com/users/fain182/repos","events_url":"https://api.github.com/users/fain182/events{/privacy}","received_events_url":"https://api.github.com/users/fain182/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T22:21:07Z","updated_at":"2016-01-11T22:21:07Z","body":"Maybe you could think to something like a feature flag..\r\n\r\n```\r\n<ShowIfToggled feature=\"something-new\">\r\nThe UI of you feature...\r\n</ShowIfToggled>\r\n```\r\n\r\nAnyway if you are thinking about \"business\" validation of your idea I am not sure that you need a beta testing group, your beta test users probably are a little bit different from your user base, a random user sample and little experiments would work better."}}