Beginings of a tree view based on ember list view

I am far from having it as a workable solution, but this is the start of a tree view that uses the ember list view to handle multiple thousands of records.

Personally, I think if you have thousands of records, you aren’t filtering enough, but not everyone at work agrees.

I’m going to optimize out the many looping constructs, but this is really just a proof on concept to see if I could make a huge dataset in a treeView without creating a dom element for each,.

Thinking on this a bit more, I think the data structure is wrong. Only having the parent’s relationship known creates the need for the recursive filtering.

I should also cache the results of the filters and do a single replaceObjects call on the model to insert and a single removeObjects call to remove.