Commit d660430
authored
feat(amazonq): user can View and Apply diff #5904
Allow users to View and Apply diff when they explictily send code to
Amazon Q using - Fix, Refactor, Optimize and Send To Prompt.
Notes:
- Releasing it all customers
- The View and Apply diff is only retained for first response after Fix,
Refactor, Optimize and Send To Prompt, and NOT for followup chats.
- `featureConfig` is the setup for A/B experiments and`Ignored` by
`tslint` because,
- currently View Diff and Apply Diff are the only feature that uses
these.
- If the changes are reverted the next time any team wants to use it,
they will have to rewire the A/B experiments setup again.1 parent 9fd91dd commit d660430
File tree
3 files changed
+10
-2
lines changed- packages
- amazonq/.changes/next-release
- core/src
- amazonq/webview/ui
- codewhispererChat/controllers/chat
3 files changed
+10
-2
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
361 | 365 | | |
362 | 366 | | |
363 | 367 | | |
| |||
0 commit comments