mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.28k stars 283 forks source link

Odd behavior for undo redo commands while setting page parameters #2058

Open prakhargupta1 opened 1 year ago

prakhargupta1 commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

Steps:

  1. Start setting up page params
  2. Define parameter name
  3. Alternately press Cmd+Z then Cmd+Shift+Z

Current behavior 😯

https://github.com/mui/mui-toolpad/assets/92228082/5b29fd0d-fcd8-4433-a277-c27732839194

Expected behavior 🤔

On redo, I should not be taken to defining a new paramater.

Context 🔦

No response

Your environment 🌎

v0.1.11

prakhargupta1 commented 1 year ago

Another bug on the same theme reported by Olivier:

https://github.com/mui/mui-toolpad/assets/92228082/45a00a8a-ac6c-4862-b58a-e6e2b388f2fa

apedroferreira commented 1 year ago

The text inputs were isolated with undo/redo but maybe something changed, I'll handle these issues, thanks for finding them!

oliviertassinari commented 1 year ago

@prakhargupta1 Thank for opening the issue. It's low priority, best to have this broken and have a few more features in exchange.