ff
ff copied to clipboard
Contexts
Implement type (or types?) for different contexts (as in GTD)
- location:
- predefined: Moscow, London
- user-defined: work, home
- time: Monday, weekend, morning
- user state: on the internet, on phone
What is it? Could you provide more... context?
provided
when (Tags /= Context) $
В чем разница? Можно использовать теги для контекста.
@willbasky I didn't get this code.
Bare tags work well as generic contexts. So this problem is generally solved. But in some cases, they work badly. For example, a user may want to change the time context from Monday to Tuesday, but not to Moscow, because Moscow is not a time. Maybe we need some means to group contexts.
The code was fixed.
to change the time context from Monday to Tuesday, but not to Moscow
There should be fixed list of days and changes of a day to another day will be within this type.
Contexts is a more general concept than tags.
There cannot be a fixed list of days or other things since each person defined their own contexts. You can find examples in the GTD book.
So it's better to give users means to define their own contexts and group them.
Tags feature is the first of these means, it is a tool to define simple, named contexts.