Changing query name reset all the settings
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
All my options are lost, transformation, params, etc.
Expected behavior 🤔
The dialog keeps all the options set.
Steps to reproduce 🕹
Steps:
- Open https://master--toolpad.mui.com/_toolpad/app/cl7z6bymv24562awr0skxffqio/pages/ne1a0zn
- Click Add query
- Pick a “Fetch | default”
- Add
https://api.github.com/repos/mui/mui-x/issues
in the get URL. - Focus the name field
- Change the value
- Blur the field 💥
https://user-images.githubusercontent.com/3165635/195729389-0aeed02e-e5f3-4ea9-9c35-b8e49f389ad9.mov
Context 🔦
I face this problem while I was building a quick UI for Greg to help us with the support on GitHub https://www.notion.so/mui-org/Set-GitHub-scope-labels-12a84fdf50e44595afc55343dac00fca#3f39c7660fc448b1a6c0f554a29a5ce2. If you are interested about the other pains I faced but I didn’t open issues for you will find:
- Duplicate queries https://github.com/mui/mui-toolpad/issues/1172
- Data grid column type link (see Metabase for an example) https://github.com/mui/mui-toolpad/issues/827
- Undo (I pressed the Recrete columns icon button by mistake) https://github.com/mui/mui-toolpad/issues/226
- Support for the size prop with the button to be smaller.
But I only open an issue for my biggest pain. BTW, I love the new query UI. Building the whole UI felt fast, I’m not sure I would have been quicker the pro-code way;
Your environment 🌎
v0.0.22
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Manage queries (Power Query) - Microsoft Support
Select a query management command: Edit Edits the query in the Power Query Editor. Only available on the Queries tab of the Queries...
Read more >How to reset query-properties to infoprovider-settings?
Query level setting. Goto RSRT -> give ur query name-> click on properties -> Change the read mode to H. Step2. Infoprovider level...
Read more >In SSMS, how do I change a SQL query window's tab name?
In SSMS, go to Tools > Options > Text Editor > Editor Tab and Status Bar . You can manage some options of...
Read more >4 Formatting Query Results - Oracle Help Center
Through the SQL*Plus COLUMN command, you can change the column headings and reformat ... To reset all columns' display attributes to their default...
Read more >Query results | DataGrip Documentation - JetBrains
To disable this feature, open settings Ctrl+Alt+S , navigate to Database | Query Execution | Output and Results, and clear the Create title...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was going to take it but wanted to merge https://github.com/mui/mui-toolpad/pull/1149 first
I’ll close this ticket as a duplicate of https://github.com/mui/mui-toolpad/issues/1126
I think this has the same root cause as https://github.com/mui/mui-toolpad/issues/1126. Tackling https://github.com/mui/mui-toolpad/issues/1126 should solve this issue as well.