-
Notifications
You must be signed in to change notification settings - Fork 97
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
Prevent empty ops are applied during undo/redo #687
Conversation
…nto undo-redo-object
…kie-js-sdk into undo-redo-object
…nto undo-redo-object
- Display undo/redo stack count - Prevent script errors when clicking the undo/redo buttons
- Remove duplication between Array.getPositionedAt and Element.getLastExecutedAt - Add more comments
`getByID` is a method used by the system. In the CRDT layer, it should still return the element even if it has been deleted.
25e1541
to
32b29fd
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #687 +/- ##
==========================================
+ Coverage 67.94% 67.97% +0.02%
==========================================
Files 58 58
Lines 8783 8786 +3
Branches 795 795
==========================================
+ Hits 5968 5972 +4
Misses 2555 2555
+ Partials 260 259 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution.
This commit addresses the issue of client sequences being absent on the server. It accomplishes this by preventing the update of changeID.
This commit addresses the issue of client sequences being absent on the server. It accomplishes this by preventing the update of changeID.
What this PR does / why we need it?
Handle cases where no operations have been applied during undo/redo.
This PR resolved the issue of missing client sequences on the server by preventing the update of changeID.
Any background context you want to provide?
What are the relevant tickets?
Fixes #
Checklist