Commit 3189ac5
Start Pull Request with AI (#4177)
* Fixes GitHub createPR URL so the title does not disappear on redirects
(vscode-gitlens-private#43, #4177)
* Generates PR title and message using AI:
- prompt is from createCommitMessage
- only diff is used
(vscode-gitlens-private#43, #4177)
* Includes log to generating Pull Request details
(vscode-gitlens-private#43, #4177)
* Uses a new AI prompt for generating Pull Request details
(vscode-gitlens-private#43, #4177)
* Shows one-branch diff for a PR creation by using '...' notation in diff
(vscode-gitlens-private#43, #4177)
* Generates title and body for GitLab merge request using AI
(vscode-gitlens-private#43, #4177)
* Fixes a problem with stringifying undefined branches to `origin/undefined
(vscode-gitlens-private#43, #4177)
* Makes AI usage in create PR optional, adds button that creates PR using AI
(vscode-gitlens-private#43, #4177)
* Styles the "Create PR with AI" button
(vscode-gitlens-private#43, #4177)
* Mentions AI assisted PR creation in the changelog
(vscode-gitlens-private#43, #4177)
* Hides AI PR creation button for repos that we cannot preset title and body
(vscode-gitlens-private#43, #4177)
* Requires AI feature access to generate a Pull Request with AI
(vscode-gitlens-private#43, #4177)
* Adds "(Preview)" suffix to labels of Create Pull Request with AI feature
(vscode-gitlens-private#43, #4177)
* Adds a new prop for specific custom instructions for create PR with AI
(vscode-gitlens-private#43, #4177)
* Fixes prompt/action name and settings
* Updates button label
---------
Co-authored-by: Eric Amodio <[email protected]>
Co-authored-by: Ramin Tadayon <[email protected]>1 parent 7c2277d commit 3189ac5
File tree
25 files changed
+354
-45
lines changed- docs
- src
- api
- commands
- env/node/git/sub-providers
- git
- models
- remotes
- utils/-webview
- plus/ai
- utils/-webview
- quickpicks
- webviews
- apps/plus/home/components
- home
25 files changed
+354
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
211 | 234 | | |
212 | 235 | | |
213 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4152 | 4152 | | |
4153 | 4153 | | |
4154 | 4154 | | |
4155 | | - | |
| 4155 | + | |
4156 | 4156 | | |
4157 | 4157 | | |
4158 | 4158 | | |
| |||
4162 | 4162 | | |
4163 | 4163 | | |
4164 | 4164 | | |
4165 | | - | |
| 4165 | + | |
4166 | 4166 | | |
4167 | 4167 | | |
4168 | 4168 | | |
| |||
4171 | 4171 | | |
4172 | 4172 | | |
4173 | 4173 | | |
| 4174 | + | |
| 4175 | + | |
| 4176 | + | |
| 4177 | + | |
| 4178 | + | |
| 4179 | + | |
| 4180 | + | |
| 4181 | + | |
| 4182 | + | |
| 4183 | + | |
4174 | 4184 | | |
4175 | 4185 | | |
4176 | 4186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
75 | | - | |
| 78 | + | |
76 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
77 | 105 | | |
78 | 106 | | |
79 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
215 | 219 | | |
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
222 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
223 | 230 | | |
224 | 231 | | |
225 | | - | |
| 232 | + | |
226 | 233 | | |
227 | 234 | | |
228 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
347 | 351 | | |
348 | 352 | | |
349 | 353 | | |
350 | 354 | | |
| 355 | + | |
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
659 | 661 | | |
660 | 662 | | |
661 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments