Commit a481f97
committed
feat(chat): reach Sessions from the chat tab
v1.1.0 moved the chat out of the right-hand container and left Sessions there alone. That
container is one VS Code hides by default, and `AI: Sessions` had no icon, no keybinding
and no button anywhere — so the only route from a conversation to your own past
conversations was knowing the palette entry existed.
It joins the three actions already on the chat tab, between New Chat and Set API Key:
per-conversation actions first, then "go somewhere else", then settings.
navigation@0 Add Files $(new-file)
navigation@1 New Chat $(add)
navigation@2 Sessions $(history) <- new
navigation@3 Set API Key $(key)
The command also gains an icon. It never had one, because until now it was only ever
invoked from the palette — and an editor/title action without an icon renders as literally
nothing, a bug the suite already pins for the other three.
No new keybinding: ⇧⌘I already opens the chat, and a second shortcut for a one-click button
is a conflict looking for somewhere to happen.
Guards, each bypass-verified by reverting the fix:
- the button removed from the tab
- the icon dropped, so the action renders as nothing
- moved out of the navigation group, where it would only ever appear under the … overflow
23 tests in chatSurface, 34 suites green.1 parent 8bc9af5 commit a481f97
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | | - | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
202 | 211 | | |
203 | 212 | | |
204 | 213 | | |
| |||
0 commit comments