mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
feat(analytics): "motivate yourself" 3 variants @lemoness
This commit is contained in:
@@ -185,13 +185,14 @@ function($rootScope, User, $timeout, $state) {
|
||||
var showFinish = step.final || k == 'classes';
|
||||
var showCounter = k=='intro' && !step.final;
|
||||
|
||||
$rootScope.variant=2; // temporarily set finish & counter on until we can get experiment working
|
||||
|
||||
// Experiment wud1Ba5qT1m9qR3PP0-Mmg , remove this when experiment complete
|
||||
// 0=No Finish; Yes Counter 1=No Finish; No Counter 2=Yes Finish; Yes Counter 3=Yes Finish; No Counter
|
||||
showFinish = showFinish || $rootScope.variant==2 || $rootScope.variant==3;
|
||||
showCounter = showCounter && ($rootScope.variant==0 || $rootScope.variant==2);
|
||||
|
||||
// FIXME temporarily set finish & counter on until we can get experiment working
|
||||
showFinish=true;showCounter=true;
|
||||
|
||||
return '<div class="popover" role="tooltip">' +
|
||||
'<div class="arrow"></div>' +
|
||||
'<h3 class="popover-title"></h3>' +
|
||||
|
||||
Reference in New Issue
Block a user