-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolpad shows 2 unsaved changes when adding a component #781
Comments
I think this happens when I change one or multiple elements' Edit: this might not be 100% correct, and I'm also normalizing column sizes which might not be a necessary thing, so anyway I'll take a look and think if I can avoid unnecessary updates. |
I just added this ticket because it's another one of those things that will definitely make a bad UX if we should implement a naive undo/redo implementation |
sounds good, i edited my comment a bit because this might be improvable, will just have to take a look with reducing the number of updates in mind |
From the UX perspective, we can skip showing the count of unsaved changes and rather show a visual saying (on hover) 'All changes saved successfully'. |
Created this issue to fix the larger issue with number of updates #845 |
Duplicates
Latest version
Current behavior 😯
When adding a component in the canvas, 2 changes are recorded.
Screen.Recording.2022-08-12.at.08.48.19.mov
Expected behavior 🤔
This used to be just one change, why is the dom now updating twice?
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: