appsmith
appsmith copied to clipboard
[Bug]: After renaming the child JS function in a module auto-complete still shows the old name in other modules
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
- Change the function name of origin module
- Check all the references associated with it
- 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