Hierarchical tags #55
Replies: 1 comment 4 replies
-
Some background info, just for curiosity: The tags being non-hierarchical was done on purpose. I had considered a hierarchical structure initially (such as the accounts in ledger), but thought it would be better to give users most flexibility and allow them to come up with their own system. Note, that even if there was something like As you already pointed out, tags can only contain letters, digits and underscores. This is important so that you can embed tags naturally in the flow of sentences, e.g.:
That being said: what I could imagine to be a good “middle ground” would be to support wildcards in the command line tool for querying. That way you could use an underscore as delimiter
Thoughts? |
Beta Was this translation helpful? Give feedback.
-
It would be nice to have support for hierarchical tags.
As a first step, not necessarily with full support in the tool itself, but just the ability to have tags like
#cs/cs123
or#cs:cs123
.Currently, this is not parsed as a tag at all (or maybe just as
#cs
).So when I record time doing customer support (
#cs
) on support ticket 123 (#cs123
), I have to remember to add both tags (or use some shell scripting to do the report aggregation in a post-processing step).An example where something similar works very well is how you can nest accounts in https://www.ledger-cli.org/
Beta Was this translation helpful? Give feedback.
All reactions