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
State tracking manager logs incorrect steps when adding new event #3530
Comments
I believe this has been fixed recently in #6699, I'll double check and close the ticket. |
So this part
was fixed in #6699, but this part wasn't:
|
Regarding
This is up to the user how to implement transaction title calculation. In our demo we only look at the last action of the transaction and it case of drag-create it will be "edit event". User can implement a better function, that will be checking the 1st action of the transaction as well, which will be "add event". So this we are not going to address. |
Forum post
https://bryntum.com/examples/scheduler/undoredo/
Try to add new event, check logs. See 'Updated event "Your new event name"' instead of "Added new event".
transaction.type returns UpdateAction type instead of AddAction, so it is not possible now to determine if an event
Another moment, create an event using dblclick, type a name, click save.
Try to Undo your changes. See that 2 steps logged, frist one will revert event name, second one removes an event.
Try the same using dragCreate, 3 steps recorded.
See that frist Undo will cnagne the name, second one make an event smaller, 3rd one will remove an event.
The text was updated successfully, but these errors were encountered: