Perspective Progressive Tag Tree

Progress Update:

  1. Creating a filtered list = Easy
  2. Creating the list of all the filtered tag indices within the tree = Easy
  3. Expanding the list automatically = Easy to do, but very slow…

I have it currently working in a format that expands all of the tags that match your search and highlights them. It works ok with my example (about 1000 tags) but still isnt as fast as I would like.

Top items to correct:

  1. It needs to also remove/hide the tags and paths that don’t match the filter.
  2. In my example each of my UDTs has Level and Gallons, if I search something like just “Gallons” that matches~500 of the tags, it takes closer to 10 seconds. Unacceptable
  3. I moved the search onto a button, the recommended way of delaying the search from the typing doesn’t work in perspective due to the way invoking threads asynchronously works with your session. I will have to create a new way of doing this as well.
  4. I had to remove the alphabetical sorting due to the way the item paths are generated, I will have to fix this as well.

Anyways, here is a gif!
TreeFilter

Also here is the current version in case anyone has any ideas on how to improve what I have so far. Definitely a fun little project
TagTree.zip (16.5 KB)

1 Like