Conversation
|
No actionable comments were generated in the recent review. 🎉 WalkthroughComments and JSDoc in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/core/src/view/undoable-change/UndoManager.ts (1)
57-58:⚠️ Potential issue | 🟡 MinorLegacy
mxEvent.UNDOreference in code example was not updated.The example still uses the
mxEventnamespace which no longer exists in maxGraph. SinceInternalEventis already imported in this file (line 19), the example should referenceInternalEvent.UNDO.📝 Proposed fix
- graph.getDataModel().addListener(mxEvent.UNDO, listener); - graph.getView().addListener(mxEvent.UNDO, listener); + graph.getDataModel().addListener(InternalEvent.UNDO, listener); + graph.getView().addListener(InternalEvent.UNDO, listener);
|



Summary by CodeRabbit