chronofile
chronofile copied to clipboard
Nested activities in config
Hi, it would be nice to have a way to have nesting in the config file, e.g.
{"activityGroups":{
"Exercise":{
"Outdoor":[
"Hiking",
"Jogging"
],
"Indoor":[
"Yoga",
"Workout"
]
}
}}
Would it be possible to add something like this or is it already implemented in another way?
Interesting idea. Would you expect all of these to be charted as Exercise?
Not supported at the moment, but one possible way to express this without changing the format:
{"activityGroups":{
"Exercise":[
"Outdoor",
"Indoor"
],
"Outdoor":[
"Hiking",
"Jogging"
],
"Indoor":[
"Yoga",
"Workout"
]
}}
Would you expect all of these to be charted as Exercise?
Yup
Not supported at the moment, but one possible way to express this without changing the format:
Oh wow, didn't think of that. That would work just fine too, thanks! Maybe you could add this to the example in the app?
I do have another question now: is it possible to have something like this?
{
"activityGroups": {
"Exercise": [
"Outdoor",
"Indoor"
],
"Outdoor": [
"Hiking",
"Lifting"
],
"Indoor": [
"Yoga",
"Lifting"
]
}
}
Just an example, but it is about having 2 same things in different places, so you could do both (Exercise::)Outdoor::Lifting
and (Exercise::)Indoor::Lifting
.
Would something like this be possible?
Thank you for replying so quickly, sorry that I replied so late.