[canvas] Simplify and organize Canvas plugin lifecycle #105675
Labels
Feature:Canvas
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
technical debt
Improvement of the software architecture and operational architecture
v7.15.0
v8.0.0
Canvas appears to use
setup
dependencies in itsmount
function. Part of the problem here is not that Canvas is actually using setup dependencies, but that they're called setup dependencies, or we're usingsetup
when we should be using either start dependencies or our own services.Another issue is that
setup
,start
andmount
are all combined in a confusing way, obfuscating the true purpose of each portion of the lifecycle.This issue will be considered complete when:
CanvasSrcPlugin
class in favor of services.setup
function accurately reflectssetup
tasks:ExpressionsService
fork.start
function accurately reflectsstart
tasks:ExpressionsService
fork to theexpressions
service.mount
function accurately reflectsmount
activities:setup
.expressions
service.This will at least make the divide between the concerns much clearer to those looking at the code, but also avoid any non-compliance with #105439.
The text was updated successfully, but these errors were encountered: