Turn off fast hero victory modal A/B test
Didn’t make a difference in level completion, opting for no delay in showing the modal buttons.
This commit is contained in:
parent
a3afba068f
commit
eadde0590e
2 changed files with 0 additions and 13 deletions
app
|
@ -115,17 +115,6 @@ module.exports = class User extends CocoModel
|
|||
application.tracker.identify announcesActionAudioGroup: @announcesActionAudioGroup unless me.isAdmin()
|
||||
@announcesActionAudioGroup
|
||||
|
||||
getFastVictoryModalGroup: ->
|
||||
# A/B Testing no delay showing the signup and continue buttons in hero victory modal
|
||||
return @fastVictoryModalGroup if @fastVictoryModalGroup
|
||||
group = me.get('testGroupNumber') % 2
|
||||
@fastVictoryModalGroup = switch group
|
||||
when 0 then 'normal'
|
||||
when 1 then 'fast'
|
||||
@fastVictoryModalGroup = 'fast' if me.isAdmin()
|
||||
application.tracker.identify fastVictoryModalGroup: @fastVictoryModalGroup unless me.isAdmin()
|
||||
@fastVictoryModalGroup
|
||||
|
||||
getGemPromptGroup: ->
|
||||
# A/B Testing whether extra prompt when low gems leads to more gem purchases
|
||||
# TODO: Rename gem purchase event in BuyGemsModal to 'Started gem purchase' after this test is over
|
||||
|
|
|
@ -283,8 +283,6 @@ module.exports = class HeroVictoryModal extends ModalView
|
|||
Backbone.Mediator.publish 'music-player:enter-menu', terrain: @level.get('terrain', true)
|
||||
|
||||
updateSavingProgressStatus: ->
|
||||
# A/B Testing no delay showing the signup and continue buttons in hero victory modal
|
||||
return unless @animationComplete or me.getFastVictoryModalGroup() is 'fast'
|
||||
@$el.find('#saving-progress-label').toggleClass('hide', @readyToContinue)
|
||||
@$el.find('.next-level-button').toggleClass('hide', not @readyToContinue)
|
||||
@$el.find('.sign-up-poke').toggleClass('hide', not @readyToContinue)
|
||||
|
|
Reference in a new issue