-
Notifications
You must be signed in to change notification settings - Fork 347
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: support ai 3 way merge #3404
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ricbet
force-pushed
the
feat/support-ai-3-way-merge
branch
2 times, most recently
from
March 15, 2024 08:59
8ece6d1
to
99bbe50
Compare
Ricbet
changed the title
WIP: feat: support ai 3 way merge
feat: support ai 3 way merge
Mar 15, 2024
Ricbet
force-pushed
the
feat/support-ai-3-way-merge
branch
from
March 18, 2024 03:42
f91e174
to
7f99be9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3404 +/- ##
==========================================
- Coverage 57.34% 57.19% -0.15%
==========================================
Files 1433 1436 +3
Lines 88301 88703 +402
Branches 18192 18274 +82
==========================================
+ Hits 50633 50731 +98
- Misses 34272 34546 +274
- Partials 3396 3426 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* feat: support 3-way stop widget * feat: support 3-way stop widget
* refactor: ai native back service * fix: organize import
* feat: support stop all ai resolve & regenerate * fix: one-click ai resolve
* fix: 3-way format provider * style: btn id
* fix: 3-way merge-range error for range * feat: ai merge queue fix: 3-way widget ui
* fix: widget position * feat: add merge conflict report * feat: ai accept report * chore: update * chore: add git stage report * chore: update report --------- Co-authored-by: John <qingyi.xjh@antgroup.com> fix: merge editor float components fix: format
* fix: resolve conflict report * fix: improve report fix: add ai output num report fix: conflict click num report fix: type
Ricbet
force-pushed
the
feat/support-ai-3-way-merge
branch
from
March 18, 2024 09:53
7f99be9
to
55361ba
Compare
bytemain
requested changes
Mar 18, 2024
packages/monaco/src/browser/contrib/merge-editor/merge-editor.service.ts
Outdated
Show resolved
Hide resolved
packages/monaco/src/browser/contrib/merge-editor/view/actions-manager.ts
Outdated
Show resolved
Hide resolved
packages/monaco/src/browser/contrib/merge-editor/widget/resolve-result-widget.tsx
Outdated
Show resolved
Hide resolved
bytemain
approved these changes
Mar 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Types
Background or solution
registerResolveConflictFeature
API具体使用方式见:
providerRequest
主要用于在点击“智能解决冲突”按钮时所触发的请求,要求返回ChatResponse
类型mergeConflictPromptManager
是智能解决冲突时的 prompt 封装,以及提供默认的 prompt 文本。集成方可自行选择是否调用该 pr 先实现 3way 模式下的智能解决冲突,传统模式的解决冲突另开 pr 实现
Changelog