Commit Graph

40 Commits

Author SHA1 Message Date
Megan Rogge
00bc1553ba create AccessibleViewRegistry, move all applicable views/accessibility help dialogs over to use it (#212138) 2024-05-07 05:48:04 +02:00
Johannes Rieken
7d04d4df43 only have one report bug command (#210802) 2024-04-20 01:34:57 +02:00
Johannes Rieken
ef6345ae05 Support for attempt and enableCommandDetection in chat model/service (#209826)
* add `IChatRequestModel#attempt` so that rerun request/response can be supported

* - support to run with/without command detection enabled
- adopt agent brigde to new chat request
- add share rerun-commands (but only enable them for inline chat for now)
2024-04-08 14:08:22 +02:00
Johannes
ebfbf27d8c - fix layout bugs
- enable terminal history with new world
- fix (most) command group associations
2024-03-21 11:58:28 +01:00
Johannes
95c009d7e1 make sure to start inline chat session service eagerly 2024-03-21 09:18:26 +01:00
Johannes
6931665097 - fix re-run and re-run with intent detection commands
- add support for tree-rendering detected command/agent in a special way
- first cut of tree-rendering for text edis
2024-03-20 12:38:04 +01:00
Johannes
e5385dac71 - use chat widget also for content widget (shared chat model)
- add TextEdits to chat model
- add IChatTextEdit and IChatUsedSlashCommand to chat progress types
-  hook up ad-hoc agent to inline chat session (no more custom commands)
- add new `State.SHOW_REQUEST` state for when new requests are made
2024-03-18 19:12:44 +01:00
Johannes
0ac95cc1b7 - use chat input part for content widget
- use chat widget over renderer-reuse and custom input
- allow to configure chat menus/actions
- allow to define filter for chat list/tree
2024-03-15 15:44:41 +01:00
Johannes Rieken
9626fb0cd2 Inline chat widget tweaks (#206954)
* make status menu configurable

https://github.com/microsoft/vscode/issues/206940

* pull inline chat zone widget into its own file

* 💄

* remove expand/crop feature

* make chat message contents scrollable
2024-03-06 12:51:50 +01:00
Johannes Rieken
7215958b3c add commands to navigate between hunks (#205293)
https://github.com/microsoft/vscode/issues/203349
2024-02-15 15:57:24 +01:00
Johannes Rieken
6aad7f2ec9 move StartSessionAction back to /browser/, add indirection for holdForSpeech-feature (#203890)
https://github.com/microsoft/vscode-copilot/issues/3857
2024-01-31 15:13:58 +01:00
Johannes Rieken
4217af7696 restore stashed sessions for when accidentially dismissing a session (#203006) 2024-01-22 14:31:23 +01:00
Johannes
bf53fde347 move browser things back so that services and dependents are registered properly 2024-01-17 12:30:40 +01:00
Johannes
481d7bb72d Use hold mode in start inline chat action to enable speech 2024-01-16 18:16:31 +01:00
Johannes Rieken
b8b5a4aad0 Move hunk computation into sessions, let strategies render them (#202578)
* chore - move chat session service implementation and interface into their own files

* chore - move chat saving service implementation and interface into their own files

* - move hunks into session (instead of strategy)
- recompute them after receiving AI changes
- accept& discard moves hunks from textModelN to textModel0 and vice versa
- service renames
- tests

* - session doesn't know about an editor, only service does
- allow to "move" session to a different editor
- let controller pickup session after move to its editor
- session saving picks up orphand sessions

* try to restore editors when group is still valid

* ctrl - don't pause when cancellation happens during session create

* fix tests
2024-01-16 14:50:19 +01:00
Johannes Rieken
02580fd00c Make sure AI generate code gets accepted/discarded before saving (#202347)
* add inline chat save logic that ensures AI generated changes are only saved after consent

* live - when cancelling don't undo until start version but revert changes

* add setting to control save participation

* fix typo

* stub new services, fixes tests
2024-01-12 16:29:12 +01:00
Johannes Rieken
77ca6ccd41 Joh/mysterious-octopus (#202079)
* debt - don't use extra buttons for accept/discard hunk

* - inline chat history shouldn't loop
- preserve the initial value and restore it

fixes https://github.com/microsoft/vscode-copilot-release/issues/671
2024-01-09 15:43:26 +01:00
Johannes Rieken
0bd31a85e4 Add inline chat toolbar for close and configure (#201200)
* add input widget toolbar, add close action

* * make "finish on typing" configurable and turn it off by default
* add configure action to widget toolbar

* fix tests
2023-12-19 15:19:11 +01:00
Johannes Rieken
054c9129f8 live3 becomes live (#200866) 2023-12-14 18:24:38 +01:00
Johannes Rieken
f6a6df7dd4 fix https://github.com/microsoft/vscode-copilot/issues/3143 (#200859) 2023-12-14 17:20:18 +01:00
Aiday Marlen Kyzy
8f81492eb2 removing the code for the gutter icon and the toolbar icon 2023-12-13 10:49:08 +01:00
Johannes Rieken
f54f1b0400 Further tweak light weight diff mode (#199148)
- Let message talk about changes not lines
- Move "Compare" into rhs toolbar as toogle action
2023-11-27 12:21:57 +01:00
rebornix
49eb796101 Resolve conflicts 2023-11-14 08:19:07 -08:00
rebornix
6dd6275d2a move off menu 2023-11-13 12:12:22 -08:00
Aiday Marlen Kyzy
00c04b0cdb Adding inline chat sparkle decoration in the gutter which spawns inline chat (#195471)
Adding inline chat sparkle decoration
2023-10-19 09:09:48 +02:00
Johannes
3b28b7303d keep inlineChat.contribution purely registrations of stuff 2023-09-22 11:57:46 +02:00
meganrogge
551f3d04b8 more instances 2023-08-17 11:14:03 -07:00
meganrogge
2116696377 fix issues 2023-08-09 13:50:17 -07:00
meganrogge
efce510123 fix #188753 2023-08-02 13:23:13 -07:00
meganrogge
33bd9f96ac fix #189318 2023-08-02 09:48:52 -07:00
meganrogge
29aef1b77d message -> response 2023-07-21 12:37:47 -07:00
meganrogge
fe0cbe47d0 add info to help menus 2023-07-21 12:35:02 -07:00
meganrogge
2a00cb2849 focus 2023-07-21 09:44:41 -07:00
meganrogge
205cb143ff tweak 2023-07-21 09:43:15 -07:00
meganrogge
9434e79f46 fix #186676 2023-07-21 09:40:52 -07:00
Johannes Rieken
66b54e1697 joh/tasteless orca (#185006)
* Add ability to rerun prompt

Extract `SessionPrompt` with tries counter that, add rerun message that is listened on during WAIT_FOR_INPUT, read number of attempts during MAKE_REQUEST

https://github.com/microsoft/vscode-copilot/issues/247

* renames
2023-06-13 12:53:41 +02:00
meganrogge
4c7738e0ae Merge branch 'main' into merogge/accessibleView 2023-06-07 14:43:53 -05:00
meganrogge
e7e0dbcd5d adopt in interactive editor 2023-06-07 13:32:10 -05:00
Aiday Marlen Kyzy
c529638000 renaming the content inside of inlineChat folder from IE to IC 2023-06-07 16:02:34 +02:00
Johannes Rieken
f70686c39e chore - rename interactiveEditor to inlineChat (#184422) 2023-06-06 16:34:55 +02:00