Commit 27a698f
authored
feat(amazonq): show code diff instead of only code fix for fix preview
### Problem
We currently see only code fix for fix preview. We want to see the diff containing both code fix and original code.
### Solution
Remove logic to generate only the code fix.
Remove logic for line number as it will be different for the diff.1 parent 4c190f4 commit 27a698f
File tree
3 files changed
+12
-22
lines changed- packages
- amazonq/.changes/next-release
- core/src/codewhisperer
- service
- views/securityIssue/vue
3 files changed
+12
-22
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
Lines changed: 3 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
344 | 343 | | |
345 | 344 | | |
346 | 345 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
357 | 349 | | |
358 | 350 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | 351 | | |
370 | 352 | | |
371 | 353 | | |
| |||
0 commit comments