LazyOptimiser icon indicating copy to clipboard operation
LazyOptimiser copied to clipboard

Add UI to allow enabling / disabling specific optimisations

Open euan142 opened this issue 2 years ago • 0 comments

Background Inherently automatically optimising has the chance of causing adverse affects or throwing errors, currently there is no way to disable automatic optimisations resulting in some avatars not being able to be effectively built. To be able to build in these cases you would need to go into the code and comment out specific optimisations or remove the optimiser entirely. Additionally while debugging what might be going wrong the optimiser the same process of enabling / disabling via code must be done which can be unnecessarily time consuming.

Proposal As such the user friendly solution to this would be to surface a UI to users allowing them to enable / disable specific optimisations. The UI should be made in such as way where each optimisation registers itself as such meaning the UI doesn't become dependant on any optimisation, this allowing it to be modular and allowing third party optimisers to hook in easily. It should be considered that a single optimisation might have multiple parts to enable / disable and might require more than a checkbox.

Initially it could be global affecting any avatar built however the functionality could then be extended to be more granular affecting specific avatars, that though is out of scope of this issue and has details which need designed out.

euan142 avatar Jul 15 '22 10:07 euan142