New default background (#8597)

* feat(bgs): new default background

* feat(bgs): backfill migration

* fix(migration): extraneous imports, bad paths

* fix(bgs): address comments

* fix(test): assert equality
This commit is contained in:
Sabe Jones
2017-03-28 16:49:24 -05:00
committed by GitHub
parent 1d7b733759
commit 03088f1d9f
8 changed files with 47 additions and 15 deletions

View File

@@ -96,6 +96,8 @@ function _setUpNewUser (user) {
user._ABtests.checkInModals = '20161221_showCheckInPreviews'; // show 'preview' check-in modals
}
user.items.quests.dustbunnies = 1;
user.purchased.background.violet = true;
user.preferences.background = 'violet';
if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];