opensumi / core

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

feat: support partial edit widget #3814

Closed Ricbet closed 2 weeks ago

Ricbet commented 2 weeks ago

Types

Background or solution

https://github.com/opensumi/core/assets/20262815/8158b47b-2a26-4093-bd8a-534b6d8f07e3

Changelog

live 模式的 inline diff 支持采纳或弃用部分变更

railway-app[bot] commented 2 weeks 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 2 weeks ago

Codecov Report

Attention: Patch coverage is 9.45946% with 67 lines in your changes missing coverage. Please review.

Project coverage is 55.05%. Comparing base (84252e2) to head (31ed78b).

Files Patch % Lines
.../src/browser/model/enhanceDecorationsCollection.ts 0.00% 47 Missing and 2 partials :warning:
...rowser/widget/inline-diff/inline-diff-previewer.ts 0.00% 8 Missing :warning:
...t/inline-stream-diff/inline-stream-diff.service.ts 0.00% 7 Missing :warning:
...browser/contextkey/ai-native.contextkey.service.ts 0.00% 1 Missing :warning:
packages/core-browser/src/ai-native/command.ts 0.00% 1 Missing :warning:
packages/core-browser/src/contextkey/ai-native.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3814 +/- ## ========================================== - Coverage 55.08% 55.05% -0.03% ========================================== Files 1550 1553 +3 Lines 94558 94631 +73 Branches 19363 19375 +12 ========================================== + Hits 52085 52102 +17 - Misses 35276 35332 +56 Partials 7197 7197 ``` | [Flag](https://app.codecov.io/gh/opensumi/core/pull/3814/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/3814/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi) | `50.50% <9.45%> (-0.03%)` | :arrow_down: | | [node](https://app.codecov.io/gh/opensumi/core/pull/3814/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensumi) | `15.56% <9.45%> (-0.01%)` | :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.