Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
View Cleanup - Initial steps #3202
So, here we start with the refactoring of the View addon. Since the addon is quite complex, and its usage spread to many points in the codebase, this will be an incremental process - as suggested in #3198 .
The API Structure
The current API is composed of the following sections:
Content of the PR
Mainly, I have ordered the code, to make it more readable, together with creating some new primitives to clean some points in the codebase. Mind that this is only an initial cleaning process, just to gather some feedback and make the process gradual.
Moreover, I have added tests to make sure that the primitives behave as expected. Every command has been tested in the console, and there are some commands that fail there (like
You could notice that
[EDIT] I'm checking where the full coverage is not reached. Fixing it asap. My bad!