appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: After renaming the child JS function in a module auto-complete still shows the old name in other modules

Open kamakshibhat-appsmith opened this issue 8 months ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

RCA:

Reason for not to show the updated name here:

We trigger auto upgrade for the following events

  • The second PUT call of JS Object
  • Any change in the query editor
  • Adding/removing/updating module inputs
  • Refactoring input name

But for refactorAction API in JS object we don’t trigger the auto-upgrade underneath.

Steps To Reproduce

  1. Change the function name of origin module
  2. Check all the references associated with it
  3. You will notice there is no linting error , also the updated name doesn't show in autocomplete

Public Sample App

No response

Environment

Deploy Preview

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

Cloud/Selfhosted

kamakshibhat-appsmith avatar Jun 26 '24 11:06 kamakshibhat-appsmith