Add tags to default tasks (#8419)

* Add ability to add tags to default tasks

* fix missing semicolon

* fix nesting callbacks error

* Add tags to default tasks

* fix default tags

* Start test

* Finish test

* Fix tests

* Move test

* Fix padded-bock

* Fix test

* Fix request

* fix requests

* fix test

* fix lint

* Refine test

* Fix test

* Fix Test

* Fix tests

* Please work :(

* Fix stupid mistake

* Fix lint

* Fixes

* fix function

* fix lint

* fix lint
This commit is contained in:
MathWhiz
2017-03-03 07:57:57 -06:00
committed by Matteo Pagliazzi
parent 4fb1ff2baa
commit 207dbf35d6
3 changed files with 56 additions and 0 deletions

View File

@@ -2999,6 +2999,11 @@ api.userDefaults = {
up: true,
down: false,
attribute: 'per',
tags: [
t('defaultTag1'), // Work
t('defaultTag4'), // School
t('defaultTag6'), // Chores
],
}, {
type: 'habit',
text: t('defaultHabit2Text'),
@@ -3006,6 +3011,9 @@ api.userDefaults = {
up: false,
down: true,
attribute: 'str',
tags: [
t('defaultTag3'), // Health + Wellness
],
}, {
type: 'habit',
text: t('defaultHabit3Text'),
@@ -3013,6 +3021,10 @@ api.userDefaults = {
up: true,
down: true,
attribute: 'str',
tags: [
t('defaultTag2'), // Exercise
t('defaultTag3'), // Health + Wellness
],
},
],
dailys: [],