New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just a little fix for a tree_panel. It just work, but is still bad-documented and not-tested #9
Conversation
Just a little fix for a tree_panel. It just work, but is still bad-documented and not-tested
Thanks! I'm merging this in without checking it out myself - afaik, it's been broken for a while. |
Hi! Another thank for merging this small fix. I'd like to ask - i've written TreeGridPanel as an extension of Thanks and best regards. 2013/4/22 Max Gorin notifications@github.com
|
Sergey, It'd be simply awesome if you released it as your own gem (having Basepack as dependency). You're free to name it the way you want, but maybe some "brand"-prefix would be handy (something like phgrey-netzke-treepanel) - because @scho, for example, is working on his own version of TreeGrid. Make sure you document it well enough so other people can start using it right away. I'll be happy to list it somewhere on the netzke.org. Really looking forward to what you come up with! Btw, what are you planning to use for testing? Have you checked out my approach with Mocha + expect.js + RSpec in Netzke Core? Hope it can help. |
Btw, I totally dig reusing the Basepack code as much as possible. But, please be aware, that the risk here is that your component will be very much dependent on the internals of Basepack::Grid… I hope, with the time we'll work out some way to handle this. If you see where Basepack::Grid code can be refactored to serve you better - I'll be glad to discuss. Thanks for you work, too! |
Yeah, I'm already trying to use rspec + mocha.js for testing. About heavy-dependence - for now I do think to add checking on method Well, Max, thanks a lot for Your advise and answers. Will contact later 2013/4/24 Max Gorin notifications@github.com
|
I'd say a good (integration) test coverage would be enough. Especially if you decide to come up with multiple gems (each per (complex) component), we maybe should think about extracting a little Netzke testing micro-framework that can be included into any new netzke gem without writing any code. I already see duplications between Core and Basepack… Will think about it! |
No description provided.