If I understand what is going on correctly the problem is that macros don't
necessarily trigger their own updates. So even if the value in a field
field that is passed to the macro changes it won't necessarily make the
output of the macro to change.
You don't actually show where in your code you use the Update_status macro
or what TrackerStatus macro does, but normally the solution is to put the
macro call inside a widget that will update when the inputs to the macro
changes. A set widget is often enough for this.
This isn't directly related to your question, but you can probably simplify
your macros a bit. If you always use the same field names than in your
TrackerStatus macro you can use {{!!tracker_current_value}},
{{!!tracker_target_value}}, {{!!tracker_current_date}} and
{{!!tracker_end_date}} inside the macro and then it will take those values
from the tiddler where it is called and you don't need to use the
Update_status macro to just call another macro.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/9fe2e41d-9d83-4ed4-8e6e-12bdd342f667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.