appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

[Bug]-[70]:Add refactor support to Appsmith storeValues #12295

Open ramsaptami opened 2 years ago

ramsaptami commented 2 years ago

Is there an existing issue for this?

Description

Currently, refactor does not work on appsmith store variables and this leads to UX issues when user changes storeValue name but the areas where this storeValue is used does not get evaluated since this variable is not defined.

Steps To Reproduce

  1. Create a storeValue variable value1
  2. Create a binding on widgets/queries to access this value using appsmith.store.value1
  3. Now change value1 to storeValue1 and observe that the bindings have not been updated with the name change

Public Sample App

No response

Version

Cloud

rohan-arthur commented 2 years ago

at least 1400 users are aware of/are using storeValue in WIDGET_PROPERTY_UPDATE. Of these, let's say that 10% users would want to rename the store key

Stats

Stat Values
Reach 140
Effort (months) 1