Commit Graph

869 Commits

Author SHA1 Message Date
Sandeep Somavarapu 997f77944b
fix #249149 (#250649) 2025-06-10 10:33:30 +02:00
Benjamin Christopher Simmonds 91886498e8
Dropdown / Select Box should follow `window.menuStyle` (#250627)
Dropdown / Select Box should follow `window.menuSytle`
2025-06-04 07:58:33 -07:00
Benjamin Pasero a4dc6e506d
Show a "Copilot" menu OOTB (fix #17904) (#250305) 2025-06-02 08:40:45 -07:00
Connor Peet 1b4b2f807c
mcp: display and allow saving resources generated by tool calls (#250094)
We don't have a way to attach these resources from the tool call, so the model when we encounter these I put in a tool result message telling the model to read the resource from its URI, which it can do using the read_file tool.
2025-05-29 19:13:21 -07:00
Rob Lourens 9cd2d09035 Start supporting custom chat modes 2025-05-24 11:21:08 -07:00
Logan Ramos 7ab0d0a223
Improve model picker aria label (#249679) 2025-05-23 16:31:38 -07:00
Ladislau Szomoru c706215141
SCM Graph - add context menu action to add history item to chat (#249255) 2025-05-19 02:18:36 -07:00
Benjamin Pasero 7369e94b7b
aux window - improve compact actions functionality (#249070) 2025-05-16 01:22:27 -07:00
Ladislau Szomoru d3cc5eb089
SCM Graph - show commit details (#248694)
* WIP - initial rendering of the resources

* Opening the multi-file diff editor is working now

* Fix layout

* Remove debug statement

* Add the action

* Add margin element to indicate expanded commits

* Add diff action

* Add command to open file at a particular version

* Fix focus related issues

* More fixes
2025-05-12 11:43:52 +02:00
Rob Lourens 10cf37de48 Add per-chatMode actions and keybindings 2025-04-26 20:04:32 -07:00
Rob Lourens 648250818d
Show keybinding hint in new model picker tooltip (#247457)
Fix #247456
2025-04-26 01:09:04 +02:00
Logan Ramos cb6da5bcc3
Make the custom dropdown component much easier to reuse (#247321)
* Work on making action widget dropdown more reusable

* Make the custom dropdown significantly easier to reuse
2025-04-24 18:47:50 +02:00
Megan Rogge b45cc51ad5
if submenu, don't include kb (#247127)
check if submenu
2025-04-22 15:26:00 +02:00
Ladislau Szomoru 0fc973dc47
SCM - add visibility toggle to context menu (#247071)
* Add method to toggle visibility

* SCM - add visibility toggle to context menu
2025-04-22 09:57:50 +02:00
Megan Rogge 4d5a4807da
provide correct aria label for `WorkbenchButtonBar` using `tooltip` (#246912)
fix vscode-copilot/issues/16077
2025-04-18 19:05:12 +00:00
Rob Lourens de98e00401
Merge branch 'main' into disassembly-context 2025-04-05 17:43:47 -07:00
Megan Rogge e2ac3c52a4
ignore keyboard events when the dropdown with primary action is disabled (#244297)
fix #243595
2025-03-21 13:24:20 -07:00
Logan Ramos 4abd072bc0
Make model picker an extensible menu (#243812) 2025-03-17 22:14:31 +01:00
Johannes ef0f96c175
allow to enable/disable MCP tools from chat input 2025-03-11 12:19:04 +01:00
Rob Lourens 19775bf998
Fix #242955 (#242977) 2025-03-09 03:06:28 +01:00
Peng Lyu e16693a5c6
Diff hunk toolbar for deleted cell (#241422)
* Diff hunk toolbar for deleted cell

* Fix scoped context key service
2025-02-24 05:21:32 +01:00
Joyce Er 92803a9dc3
fix: reenable implicit context for edits, disable after first request, reenable on new editing session (#241550)
* fix: decouple Add Files from chat attachments rendering

* fix: reenable implicit context for edits, disable after first request, reenable on new editing session
2025-02-22 10:01:10 +01:00
Benjamin Pasero 7e2db9ad92
debt - fix leaks around `ActionRunner` (#241325) 2025-02-20 11:07:55 +01:00
Michael Lively c1dcea03ed
Remove breadcrumb specific ctx menu (#241236)
* remove breadcrumb context menu in favor of command. issues in single tab mode

* rm menu refs
2025-02-19 19:45:38 +01:00
Benjamin Pasero a6a943cef6
copilot - support menu when command center is disabled (#241079) 2025-02-18 13:14:37 +00:00
Rob Lourens 1816f955b3
Change agent/model pickers to proper dropdowns (#240014)
* Use DropdownMenuActionViewItem for toggle agent action

* Fix model picker

* Reorder

* Fix

* Add aria attributes
2025-02-08 00:42:53 +00:00
Benjamin Pasero b69ec45115
debt - fix leaks for `ActionRunner` 2025-02-06 09:03:23 +01:00
Michael Lively a90fa289d5
Add context menus to notebook global toolbar + breadcrumbs (#239523)
* context menu in notebook global toolbar

* breadcrumb context menu also

* lil shift around

* nit cleaning
2025-02-03 11:24:43 -08:00
SteVen Batten d76dc4f688
fixes https://github.com/microsoft/vscode-copilot-release/issues/3520 (#239359) 2025-02-03 01:59:21 -08:00
Rob Lourens 0c595fdb49
Add dropdown for agent mode picker (#238633)
* toggle blue

* Use CheckboxActionViewItem

* Try dropdown

* Polish

* Undo checkbox changes
2025-01-24 05:47:50 +00:00
Megan Rogge 4fd2ab3998
add terminal suggest status bar to display actions (#238508) 2025-01-23 17:30:05 +01:00
Ladislau Szomoru 924d7a84bf
SCM - Add "Open on GitHub" action to history item hover (#237893) 2025-01-14 15:10:20 +01:00
Johannes Rieken f80816ab8e
fix leaking disposables (#237586)
* chore - mark disposables from registry#register functions as disposables so that they don't appear as leaking

* fix various leaking disposables
2025-01-10 08:41:08 +01:00
Rob Moran 5fcdcbb120 Merge branch 'main' into disassembly-context 2024-12-24 17:44:01 +00:00
Connor Peet cece885ae0
testing: show item when coverage is filtered, standardize some tree classes (#236418)
Fixes #235147
2024-12-17 14:59:26 -08:00
Megan Rogge 868a93160d
Set dropdown container's `aria-disabled` property to announce its disabled state on keyboard focus to screen reader users (#235992)
fix #235203
2024-12-12 20:31:21 +01:00
Ladislau Szomoru 5a2d782244
SCM - set the foundation for history item ref actions (#234784)
* WIP - initial implementation

* Manually fix merge

* Figure out the correct way to pass action arguments

* Fix compilation error
2024-11-27 22:07:16 +00:00
Matt Bierner 800b152b41
Add context menus for symbol attachments (#234711)
Tries to reduce duplication and make the UX more consistent for attachments vs inline anchors
2024-11-27 00:17:39 +01:00
Johannes Rieken ea6cdff1a6
Allow to undo edit hunks (#233426)
* add undo btn to each change from chat edit

* react to layout changes

* better ids

* prevent double add

* * better support for buttons with label and text
* add `UndoHunkAction` which keybinding etc pp
* hunk widget renders hunk menu

* * make sure we are correctly subscribed to diffInfo changes
* simply things with more obs
* make it harder to lose the hunk menu

* undo the right hunk
2024-11-08 10:25:14 -08:00
Johannes Rieken 0a10aa6710
Don't take empty string as tooltip (#233331)
fixes https://github.com/microsoft/vscode/issues/233313, fixes https://github.com/microsoft/vscode/issues/233311
2024-11-07 16:08:00 +01:00
Benjamin Pasero 52b944e89d
chat - tweaks to chat setup (#233178) 2024-11-06 22:13:38 +01:00
Matt Bierner 064919f86d
Add context menu to chat input file attachments (#233134)
For #228993

Also enables dnd
2024-11-06 00:23:49 +01:00
Johannes Rieken a970a0d3cc
add/expose keybindings for chat overlay commands (#233113) 2024-11-05 18:27:09 +01:00
Matt Bierner fffa5e07b3
Add `getActionBarActions` helpers (#232633)
Follow up on #232546

This also simplifies calling of `createAndFillActionBarActions` similar to #232546. By far the most common use case is returning the actions instead of filling in an existing list

This change lets us remove a lot of extra boilerplate code around calling this function
2024-10-30 10:27:14 -07:00
Matt Bierner 5d6be574ab
Try to simplify usage of `createAndFillInContextMenuActions` (#232546)
Try to simplify `createAndFillInContextMenuActions`

This is one of the rare functions that we have that uses an out parameter. This often results in a lot of boilerplate code to call it

In this PR I've renamed it to `getContextMenuActions` to make use of a standard return type. Instead of an overload, there are now two different versions of the function: `getContextMenuActions` and `getFlatContextMenuActions`
2024-10-30 10:33:56 +01:00
Joyce Er c42b584d95
fix: make chat editing widget toolbar more compact (#232101) 2024-10-23 16:32:52 -07:00
Joyce Er 5dd9db33e1
fix: clicking the code block pill opens the latest, context menu action opens the checkpoint (#231688) 2024-10-18 11:47:36 -07:00
Joyce Er 77cbc136f0
fix: adopt `MenuWorkbenchButtonBar` in chat editing widget (#231635) 2024-10-18 07:56:36 +02:00
Henning Dieterichs 66651f2f40
Removes the old inlineEdit feature (now part of the inline suggest feature) (#231590) 2024-10-17 16:52:26 +02:00
Johannes Rieken c227dc247a
skipTelemetry for `DropdownWithPrimaryActionViewItem` (#231504) 2024-10-16 07:49:20 -07:00