[Canvas] Replace custom way of rendering of expression functions with expressions
' one.
#122083
Labels
estimate:needs-research
Estimated as too large and requires research to break down into workable issues
Feature:Canvas
Feature:ExpressionLanguage
Interpreter expression language (aka canvas pipeline)
research
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Introduction
While implementing the solutions for issues [Canvas] Remove filters and [Canvas][meta] Unify Expression Renderers and Deprecate flot, I've faced a couple of problems. The root of problems is the way of rendering expressions in Canvas.
Renderers, which are rendered in
Canvas
, are disconnected from the infrastructure of theExpressions
. The biggest problem is custom handlers, which don't have a connection to the handlers, provided byExpressions
. The answers to the question "Why do we need it?" you can find in the linked issues, which I've mentioned below.These are problems, which are blocking further development:
applyFilterValue
. [Canvas] Add support of native event handlers fromexpressions
in renderers at Canvas. #122085variables
,updateVariables
, oruiState
, which are available at nativehandlers
of expressions. [Canvas] Support ofuiState
functionality at renderers in Canvas. #122108Proposition
The idea of fast movement to the native expression renderer wrapper is to:
event
as anonEvent
prop ofReactExpressionRenderer
.cc @crob611, @ppisljar.
Issues, caused by the migration to
expressions.ReactExpressionRenderer
and which should be solved in the prior PRsWhile implementing the PR, it has been raised couple of errors, which highlighted the conceptual issues, need to be fixed. They are described at the issue and should be solved at the prior PRs to the one with a migration.
The text was updated successfully, but these errors were encountered: