Open filippomc opened 4 years ago
Also, from #113:
controls
, widgets
, interface
. The goal is we need to qualify whether to remove or not each of the components which depends on code quality, usage and usefulness. The question we want to answer is: if we were to build a new geppetto application today is this a component that we would use or not? Track their usage (check geppetto-vfb, geppetto-osb, geppetto-application, geppetto-hm, geppetto-netpyne, geppetto-nwbexplorer), check last commit, check code quality (ES6? Full react? is jQuery used? is it used by the ComponentFactory?). For instance, we probably want to remove all controls since nowadays we can just rely on an external library to do the job, e.g. Material UI
The purpose of this refactoring is to extract the parts of Geppetto that can be useful to build "lean" Geppetto applications. A Geppetto lean application can use the Geppetto Model and UI components without necessarily having a full Geppetto backend behind (see image)
In order for that to be possible, a big refactoring is needed to remove all the dependencies in the control logic, starting from the ModelFactory. This refactoring of dependencies is also needed by #145
Also the component spring cleaning from #113 is part of this refactoring. The plan is summarized here: https://docs.google.com/spreadsheets/d/1qQgio7uKc41-h-VoebWW1_qj7Sai07VpiTjh5zu8o2Q/edit