opensumi / core

🚀 A framework helps you quickly build AI Native IDE products. https://preview.opensumi.com
https://opensumi.com
MIT License
2.89k stars 372 forks source link

feat: inline diff supports live preview mode #3798

Closed Ricbet closed 3 months ago

Ricbet commented 3 months ago

Types

Background or solution

https://github.com/opensumi/core/assets/20262815/e4bd7d23-ef12-4fbe-829d-1010d8785b50

Changelog

inline diff 新增实时预览模式

railway-app[bot] commented 3 months ago

This PR was not deployed automatically as @Ricbet does not have access to the Railway project.

In order to get automatic PR deploys, please add @Ricbet to the project inside the project settings page.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0.86580% with 229 lines in your changes missing coverage. Please review.

Project coverage is 55.09%. Comparing base (394aa6e) to head (3baa8ca).

Files Patch % Lines
...rowser/widget/inline-diff/inline-diff-previewer.ts 0.00% 103 Missing and 3 partials :warning:
...rowser/widget/inline-input/inline-input.handler.ts 0.00% 46 Missing and 3 partials :warning:
...tive/src/browser/widget/ghost-text-widget/index.ts 0.00% 34 Missing and 1 partial :warning:
.../browser/widget/inline-chat/inline-chat.handler.ts 0.00% 29 Missing and 5 partials :warning:
...ckages/ai-native/src/browser/preferences/schema.ts 0.00% 3 Missing and 1 partial :warning:
packages/keymaps/src/browser/keymaps.service.ts 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3798 +/- ## ========================================== - Coverage 55.16% 55.09% -0.07% ========================================== Files 1548 1550 +2 Lines 94420 94558 +138 Branches 19369 19375 +6 ========================================== + Hits 52085 52095 +10 - Misses 35135 35266 +131 + Partials 7200 7197 -3 ``` | [Flag](https://app.codecov.io/gh/opensumi/core/pull/3798/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi) | Coverage Δ | | |---|---|---| | [jsdom](https://app.codecov.io/gh/opensumi/core/pull/3798/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi) | `50.53% <0.86%> (-0.07%)` | :arrow_down: | | [node](https://app.codecov.io/gh/opensumi/core/pull/3798/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi) | `15.56% <0.43%> (-0.03%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Ricbet commented 3 months ago