-
Notifications
You must be signed in to change notification settings - Fork 26
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
✨ feat: 撤销重做中间件 #80
✨ feat: 撤销重做中间件 #80
Conversation
arvinxx
commented
Sep 5, 2023
•
edited
Loading
edited
- feat: undo/redo Middleware #74
- 现存 bug: store 在搭配 scribeWithSelector时, subscribe 逻辑回调会不触发; 🐛 fix: fix compatible with subscribe api #89
- 撤销逻辑微调:看了下现在的实现是 x 秒内连续触发三次,后两次不记录。 可能前两次不记录会好些
🎊 PR Preview b11cb36 has been successfully built and deployed to https://ant-design-pro-editor-preview-pr-80.surge.sh 🕐 Build time: 69.717s 🤖 By surge-preview |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #80 +/- ##
==========================================
+ Coverage 87.69% 87.81% +0.12%
==========================================
Files 355 366 +11
Lines 22928 23567 +639
Branches 1028 1081 +53
==========================================
+ Hits 20106 20695 +589
- Misses 2822 2872 +50 ☔ View full report in Codecov by Sentry. |
* 🚧 wip: undo ing * ✨ feat: 初步实现 undo redo 方法 * ✨ feat: 支持多个 Store 共存的能力 * ✨ feat: 支持历史记录的操作明细 * ♻️ refactor: refactor the ProEditorProvider * ✅ test: fix test * 📝 docs: 更新 redo undo 文档 * 🏷️ feat: 兼容 internal type * ✅ test: update test * 📸 test: update snapshot * ✅ test: 补充测试 * 📝 docs: 补充使用文档 * 🚨 chore: fix lint * 📝 docs: 更新文档 * ⏪ chore: revert ProBuilder 的变更
* 🐛 fix: fix compatible with subscribe api * ✅ test: upgrade @testing-library/jest-dom
## [Version 0.28.0-alpha.1](v0.27.0...v0.28.0-alpha.1) <sup>Released on **2023-11-24**</sup> #### ✨ 新特性 - Undo/redo Middleware. #### 🐛 修复 - Fix compatible with subscribeWithSelector middleware. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * Undo/redo Middleware, closes [#74](#74) ([44551aa](44551aa)) #### What's fixed * Fix compatible with subscribeWithSelector middleware, closes [#89](#89) ([b11cb36](b11cb36)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 0.28.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |