Skip to content

Bug: Widget bindings are not getting updated in Queries. #34237

@rahulbarwal

Description

@rahulbarwal

When we drag and drop multiple building blocks: widget bindgings are not getting updated int the queries.
For drag and drop of building blocks, Queries and jsObjects are getting refactored in the backend while widgetNames are getting refactored in the frontend.

Approach #1 @jacquesikot

  1. send newly added actions from the backend.
  2. update the bindings when widgets are being added to the canvas.
  3. Run a PUT actions call to update the backend.
  4. Run the added action.

Approach #2 @AnaghHegde

  1. update the widget bindings in the backend itself. This takes care of updating the queries with correct widget names
  2. on the UI only update the widget names if there is a conflict.

This is susceptible to performance issue regression. We have to take good care of not falling into this trap

Metadata

Metadata

Labels

Accelerators ProductIssues related to app building acceleratorsBugSomething isn't workingBuilding blocksBuilding blocks on cavas, on templates listing or drag and drop of building blocks.QANeeds QA attentionQA PodIssues under the QA PodWidgets & Accelerators PodIssues related to widgets & Accelerators

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions