Commit f6a4e20
fix(chat): UX fixes for agentic chat (#7098)
## Problem
- IDE requests permission twice when accessing files outside workspace

- Users can see insert at cursor and copy buttons for bash commands.
- UX stying: No borders for
- Read and List directory files/folder outside of the workspace
- Code diff view UX
- Execute bash command UX
- `Insert at cursor` option is available if pair programming mode is
enabled.
## Solution
- Fixed issue issue of showing reading files twice.

- Fixed issue of showing insert at cursor and copy buttons for bash
commands.
- Added borders for mentioned UX.
- User can see only `Copy` option (remove `Insert at cursor` option) if
pair programming mode is enabled.


- If user turn off pair programming mode, IDE shows both `Insert at
cursor` and `Copy` options.

---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
---------
Co-authored-by: Tai Lai <[email protected]>1 parent a465656 commit f6a4e20
File tree
3 files changed
+39
-12
lines changed- packages/core/src
- amazonq/webview/ui
- codewhispererChat
- controllers/chat/messenger
- tools
3 files changed
+39
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
207 | 219 | | |
208 | 220 | | |
209 | 221 | | |
| |||
Lines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
196 | | - | |
| 199 | + | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
202 | 209 | | |
203 | 210 | | |
204 | 211 | | |
| |||
359 | 366 | | |
360 | 367 | | |
361 | 368 | | |
362 | | - | |
| 369 | + | |
363 | 370 | | |
364 | 371 | | |
365 | 372 | | |
| |||
471 | 478 | | |
472 | 479 | | |
473 | 480 | | |
474 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
475 | 486 | | |
476 | 487 | | |
477 | 488 | | |
| |||
486 | 497 | | |
487 | 498 | | |
488 | 499 | | |
| 500 | + | |
489 | 501 | | |
490 | 502 | | |
491 | 503 | | |
| |||
768 | 780 | | |
769 | 781 | | |
770 | 782 | | |
| 783 | + | |
771 | 784 | | |
772 | 785 | | |
| 786 | + | |
773 | 787 | | |
774 | 788 | | |
775 | 789 | | |
| |||
796 | 810 | | |
797 | 811 | | |
798 | 812 | | |
| 813 | + | |
799 | 814 | | |
800 | 815 | | |
801 | 816 | | |
| |||
829 | 844 | | |
830 | 845 | | |
831 | 846 | | |
| 847 | + | |
832 | 848 | | |
833 | 849 | | |
834 | 850 | | |
| |||
858 | 874 | | |
859 | 875 | | |
860 | 876 | | |
861 | | - | |
862 | | - | |
| 877 | + | |
| 878 | + | |
863 | 879 | | |
864 | 880 | | |
865 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | 55 | | |
58 | | - | |
| 56 | + | |
59 | 57 | | |
60 | | - | |
| 58 | + | |
61 | 59 | | |
62 | 60 | | |
63 | | - | |
| 61 | + | |
64 | 62 | | |
65 | | - | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
| 66 | + | |
69 | 67 | | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments