Commit 7cefc1f
authored
fix: ux polish for list directory tool messages. (#1075)
## Problem
- Existing UX shows multiple context list chatItem cards for list directory tool messages.
## Solution
- Use a `messageIdToUpdateListDir` state to store the messageId and update this for next list directory tool messages.

## TODO:
- Need to combine both read and list directory tool messages into one context list.
- This code change is equivalent to this PR: aws/aws-toolkit-vscode#7006 in `feature/agentic-chat` branch.1 parent ca1a01d commit 7cefc1f
File tree
2 files changed
+25
-25
lines changed- server/aws-lsp-codewhisperer/src/language-server/agenticChat
2 files changed
+25
-25
lines changedLines changed: 16 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
849 | 847 | | |
| 848 | + | |
850 | 849 | | |
851 | 850 | | |
852 | | - | |
| 851 | + | |
853 | 852 | | |
854 | 853 | | |
855 | 854 | | |
856 | 855 | | |
857 | 856 | | |
858 | 857 | | |
859 | 858 | | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
864 | 863 | | |
865 | 864 | | |
866 | | - | |
867 | | - | |
| 865 | + | |
| 866 | + | |
868 | 867 | | |
869 | 868 | | |
870 | 869 | | |
| |||
888 | 887 | | |
889 | 888 | | |
890 | 889 | | |
891 | | - | |
| 890 | + | |
892 | 891 | | |
893 | 892 | | |
894 | 893 | | |
| |||
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments