Skip to content

[Task]: Update backend page load logic to update runBehaviour property to automatic based on flags and bindings or unbindings #40467

@ankitakinger

Description

@ankitakinger

SubTasks

With current implementation, when binding or removal of binding happens, we call page layout update API. This API performs on page load action calculation. This calculation follows below algorithm:

  • Get all bindings on the page
  • Recursively go through each binding to find if it has any references to other entities.
  • Build a direct acyclic graph

During this algorithm, we also set / reset the executableOnLoad (Runbehaviour post milestone 1). This property indicates that that specific action is configured automatically by system to be page load because of binding.

In this task, we need to change that logic to update runBehaviour when binding / unbinding happens based on feature flag.

  • If flag is true, set runBehaviour to be automatic on binding. Set runBehaviour to be manual on removal of binding
  • If flag is false, set runBehaviour to be page load. Set runBehaviour to be manual on removal of binding.

Metadata

Metadata

Assignees

Labels

Core Query ExecutionIssues related to the execution of all queriesIDE PodIssues that new developers face while exploring the IDEIDE ProductIssues related to the IDE ProductIntegrations PodIntegrations ProductIssues related to a specific integrationQuery SettingsIssues related to the settings of all queriesQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDETaskA simple Todo

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions