Got tags and collections working in my TTRPG text editor. Each note has a list of tags, which are a map of string -> []string. Then, there's a Note Element type called a Collection - which is a set of rules. I've only built All, Any, Tag Key, and Tag Value at the moment, but that's enough to do collections of characters, inventory, spell books, etc. I didn't show it in the video but this all works with the history system too cause the tag list and collection rules are nodes in the copy-on-write note tree. There's really only one more feature I need to implement before this is ready for me to dog-food. Hopefully I'll get there tomorrow. (Under the hood it's a pile of "get it done quickly, I'll do it right later" and that has to get done soon too. Not yet though 😬 )