mui-toolpad icon indicating copy to clipboard operation
mui-toolpad copied to clipboard

Query renaming issues

Open bharatkashyap opened this issue 2 years ago • 1 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Steps to reproduce 🕹

Steps:

  1. Create a query
  2. Rename it
  3. Observe it in the global scope

Current behavior 😯

  • All its properties except params are lost, and a node with the previous name still exists in the global scope under "Other"
  • For queries, an error message is observed which disappears on reloading the page

Expected behavior 🤔

The node is renamed with all properties remaining as it is

Context 🔦

Before After
query-rename-1 query-rename-2

https://github.com/mui/mui-toolpad/assets/19550456/22804419-44ce-4876-8834-42673d44f31a

Your environment 🌎

No response

bharatkashyap avatar Jul 25 '23 08:07 bharatkashyap

I encountered it a few times now and it certainly creates confusion during binding.

prakhargupta1 avatar Aug 10 '23 15:08 prakhargupta1

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

github-actions[bot] avatar Apr 04 '25 15:04 github-actions[bot]