{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/9589","repository_url":"https://api.github.com/repos/Wikia/app","labels_url":"https://api.github.com/repos/Wikia/app/issues/9589/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/9589/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/9589/events","html_url":"https://github.com/Wikia/app/pull/9589","id":129669173,"number":9589,"title":"INT-322 New Upload Image / Video dialogs. Optimizely A/B test integra…","user":{"login":"perjg","id":651004,"avatar_url":"https://avatars.githubusercontent.com/u/651004?v=3","gravatar_id":"","url":"https://api.github.com/users/perjg","html_url":"https://github.com/perjg","followers_url":"https://api.github.com/users/perjg/followers","following_url":"https://api.github.com/users/perjg/following{/other_user}","gists_url":"https://api.github.com/users/perjg/gists{/gist_id}","starred_url":"https://api.github.com/users/perjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perjg/subscriptions","organizations_url":"https://api.github.com/users/perjg/orgs","repos_url":"https://api.github.com/users/perjg/repos","events_url":"https://api.github.com/users/perjg/events{/privacy}","received_events_url":"https://api.github.com/users/perjg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-29T05:14:07Z","updated_at":"2016-02-04T05:04:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/9589","html_url":"https://github.com/Wikia/app/pull/9589","diff_url":"https://github.com/Wikia/app/pull/9589.diff","patch_url":"https://github.com/Wikia/app/pull/9589.patch"},"body":"…tion.\r\n\r\nOverview\r\nAs part of the user testing we did in Japan, we realized that many users found it hard to even find where an image could be added inside the Visual Editor because it is probably one of the most commonly used forms of contribution, yet the button is hidden under a dropdown\r\nGoals\r\nThe goal is to run an A/B test with a version of the VE that shows the image upload functionality right on the tool bar.\r\n"},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/179642830","html_url":"https://github.com/Wikia/app/pull/9589#issuecomment-179642830","issue_url":"https://api.github.com/repos/Wikia/app/issues/9589","id":179642830,"user":{"login":"inez","id":611259,"avatar_url":"https://avatars.githubusercontent.com/u/611259?v=3","gravatar_id":"","url":"https://api.github.com/users/inez","html_url":"https://github.com/inez","followers_url":"https://api.github.com/users/inez/followers","following_url":"https://api.github.com/users/inez/following{/other_user}","gists_url":"https://api.github.com/users/inez/gists{/gist_id}","starred_url":"https://api.github.com/users/inez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inez/subscriptions","organizations_url":"https://api.github.com/users/inez/orgs","repos_url":"https://api.github.com/users/inez/repos","events_url":"https://api.github.com/users/inez/events{/privacy}","received_events_url":"https://api.github.com/users/inez/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T05:04:08Z","updated_at":"2016-02-04T05:04:08Z","body":"Overall it looks good to me but the checks are failing. I still want to clarify one thing.\r\n\r\nRegarding Optimizely I think there might be a confusion regarding those two different and distinct things:\r\n* experiment activation - bucketing\r\n* retrieving information about the bucket to which visitor got assigned after experiment activation\r\n\r\nExperiment might be and often is activated by matching the URL. I'm not sure if such matching would work in case of VE where veaction=edit is placed in the URL - but there is no actual page reload, it is just added there with browser history/state API. I recommend testing it (preferably in isolation - simple HTML page).\r\nSo if it works - that's fine - if it doesn't then activating experiment programmatically in JS when editor finishes loading is the way to go (unless you are ok with just activating experiment for all visitors - even if they never open VE).\r\n\r\nAbove has nothing really to do with retrieving information about the bucket - it can still be retrieved from ```optimizely``` super global object - or within snipped of code which for example sets variable in a global scope (that snipped would be executed if you activate experiment programmatically).\r\n\r\nI hope this clarifies my point and the fact that experiment activation and retrieving state are two different things.\r\n\r\n\r\n\r\n\r\n\r\n"}}