Open meganindya opened 3 years ago
Please feel free to address any of these arbitrarily. You don't need to ask. You can always discuss if you are improvising on something.
@meganindya Any pending work which I can pick up here and improvise/work on?
The newer build shall replace this as the current iteration of Music Blocks, but this is here to stay. It is perhaps not worth adding new features to this. However, there are some wrap up work that can be done before the new build is completed and this is archived. This iteration incorporates plenty of contributions by lots of people over the last 5+ years of its development and it better be retired in good shape.
Objectives (roughly)
Codebase
error
logs: There are someerror
messages in the browser console when the application opens up; fix them.debug
logs: The browser console by default shows info, warnings, and errors; debug logs are hidden by default, but, there are lots ofconsole.debug
statements in the code. Remove unnecessary ones; comment out if some could be seemingly useful during bug fixes.UI
Considering the way Music Blocks has been built, the DOM is tightly sandwiched with the logic. The architecture is not hierarchical; all files (irrespective of usage) are imported by the old Require JS style of importing modules, effectively creating a monolith — when the application is loaded, the behavior is as if the code of the all files have been appended one after the other in one big file. Therefore, there is no possibility of unit-testing due to global dependencies and GOD objects. To test anything, please rely on the development tools in the browser. Breakpoints will help a lot during debugging. But, at any time, there will be a lot of variables identified at each breakpoint; please be patient.