-
Notifications
You must be signed in to change notification settings - Fork 384
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: control whether previewer to dispose when editor closed #3888
Conversation
Walkthrough此次变更显著增强了 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant InlineDiffHandler
participant BaseInlineDiffPreviewer
participant LiveInlineDiffPreviewer
User->>InlineDiffHandler: 创建差异预览请求
InlineDiffHandler->>BaseInlineDiffPreviewer: 初始化预览器(传入选项)
InlineDiffHandler->>LiveInlineDiffPreviewer: 初始化实时预览器(传入选项)
LiveInlineDiffPreviewer->>InlineDiffHandler: 返回预览状态
InlineDiffHandler->>User: 返回预览结果
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
🚅 Previously deployed to Railway in the core project. Environment has been deleted. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3888 +/- ##
=======================================
Coverage 54.84% 54.84%
=======================================
Files 1558 1558
Lines 95093 95098 +5
Branches 19475 19484 +9
=======================================
+ Hits 52158 52161 +3
- Misses 35662 35664 +2
Partials 7273 7273
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Types
Background or solution
diff previewer 支持关闭编辑器后仍然保存状态
Changelog
add a option to control whether previewer to dispose when editor closed
Summary by CodeRabbit
新功能
改进功能