Le 25/03/2016 13:31, Esteban Lorenzano a écrit : > Hi, > > actually there is a tree implementation based on fast table, but I’m not > sure is production ready (Cyril can say something about). > But anyway since I never understood why we have a tree there (since we > will “open” attribute in next panel), I do agree, strongly :)
Hi, There is a working FTTree with examples and doc in Pharo 5 and there is a Glamour adaptor as for FastTable (With examples in GLMExampleBrowser). Since it is not use for now they might be some bugs. I think that the code would benefits some review from experienced people since I am still far from being as good as most of the developers here :) For example some things I do not like: - Since I warped data into Items object I had to add a "realElementAt:" method in the dataSource. This is not wanted in my opinion but I don't know how to remove it and I don't have the time to work on it anymore. - Some features cause infinite loop if the number of children is infinite (for example, search in all the items). I wrote it in the documentation when that might happen but maybe we can reduce the number of feature that can provoke that? - I think that the search/filtering time can be improve when we have to check in the complete tree. I would like that experienced people check the code before we really use it because if there is some change in the design to do, we should do it now. > not sure, I open and it takes some seconds to actually show anything. I > thought it was caused because of the catalog refresh to populate > projects, but I’m not sure. > In any case, load catalog projects in spotter is cool, but we need to > find a better implementation. One that does not freezes spotter until it > refresh (remember, Pharo is also used in places with crapy connection or > not connection at all). > > yes! > > if you want to suffer, do this experiment: > 1. open a Pharo2 and open debugger on anything > 2. then Pharo3, 4 and 5… feel the incremental slowdown > 3. cry :’( > > Esteban > > -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
signature.asc
Description: OpenPGP digital signature
