Commit Graph

124938 Commits

Author SHA1 Message Date
Aiday Marlen Kyzy
0bd94f8a4e EditContext: Immediately set isFocused field on focus call (#228325)
immediately handle the the field update
2024-09-12 11:42:36 +02:00
Johannes Rieken
d869359453 make sure to set argument for lens actions (#228324)
fixes https://github.com/microsoft/vscode-copilot/issues/8037
2024-09-12 11:40:43 +02:00
Johannes Rieken
8b2e266bf6 ctx computation should also take cancelled requests into account (#228320)
fixes https://github.com/microsoft/vscode/issues/228030
2024-09-12 11:11:01 +02:00
Don Jayamanne
102ff8db3f Revert usage of node worker due to failing web compilation (#228318)
* Revert usage of node worker due to failing web compilation

* fix linter error
2024-09-12 17:44:02 +09:00
Benjamin Pasero
2a3899d915 [Accessibility] Allow to trigger reading out aloud via keybinding (fix #228034) (#228314) 2024-09-12 10:15:07 +02:00
Benjamin Christopher Simmonds
7207683dbb Fix opening of auxiliary sidebar (#228315)
dont open aux sidebar at wrong moment or new window
2024-09-12 10:04:43 +02:00
Benjamin Pasero
7d5cc34a5d esm - try to restore sourcemaps (fix microsoft/vscode-internalbacklog#5073) (#228303)
esm - try to restore sourcemaps
2024-09-11 21:14:53 -07:00
Don Jayamanne
dfa7f5c1c4 Refactor some of nb diff editor in prep for diffing metadata (#228292)
* Collapse unchanged lines in input/metadata editors of NB Diff view

* Refactor some of nb diff editor in prep for diffing metadata
2024-09-12 04:13:56 +02:00
Don Jayamanne
f12423278b Compare notebook metadata differences in worker (#228290)
* Compare notebook metadata differences in worker

* Fix compilation error
2024-09-12 03:42:40 +02:00
Peng Lyu
94cd4ed34c Merge pull request #226632 from nojaf/notebook-serialization-worker
Use Worker to serialize Notebook
2024-09-11 17:36:51 -07:00
Tyler James Leonhardt
b8be82f239 Workaround MSAL behavior (#228289)
* Workaround MSAL behavior

The main change this makes is around what scopes are being requested.

Due to an MSAL or Identity issue, if you request a resource like `FOO/user_impersonation` and then `email`... the 2nd call does not use Graph and instead uses FOO and FOO may not have an `email` scope available. To work around this, if we detect that all scopes being requested are [OIDC scopes](https://learn.microsoft.com/en-us/entra/identity-platform/scopes-oidc#openid-connect-scopes) then we tack on `User.Read` to make sure that what gets returned is in fact from Graph. This prevents an infinite loop that was happening before. MSAL/Identity should fix this behavior, but this works for now.

Additionally, MSAL does already tack on OIDC scopes to all requests so I removed the logic that adds those.

Couple small things:
* Make sure MSAL logs get logged (trace)
* Use a Sequencer to make sure acquireToken calls are done sequentially just in case.

* more comment
2024-09-12 02:29:29 +02:00
Don Jayamanne
614d30678f Add support for notebook metadata content provider (#228288)
* Collapse unchanged lines in input/metadata editors of NB Diff view

* Add support for Notebook Metadata Content Provider

* revert

* Fixes
2024-09-12 02:27:26 +02:00
Matt Bierner
3c13a0affa Merge pull request #228037 from mjbvz/noisy-piranha
Pick up TS 5.6 final
2024-09-11 15:22:35 -07:00
Matt Bierner
94d5b2a31e Remove ts-expect-error 2024-09-11 14:49:06 -07:00
Ladislau Szomoru
46384bd778 SCM Graph - add hover to the "Outdated" badge (#228282) 2024-09-11 23:42:29 +02:00
Aaron Munger
28692d5be4 Merge branch 'main' into notebook-serialization-worker 2024-09-11 14:27:43 -07:00
Matt Bierner
5df28bfd6a Merge branch 'main' into noisy-piranha 2024-09-11 14:11:49 -07:00
Sandeep Somavarapu
fa97128308 remove warning for extensions disabled due to disabled extension dependencies (#228278) 2024-09-11 23:01:06 +02:00
Sandeep Somavarapu
88dab8d224 fix #228076 - do not disable extension for missing dependencies (#228273)
A remote extension can depend on built in descriptive extension that runs locally
2024-09-11 22:51:22 +02:00
Megan Rogge
03cfbbc769 tweak wording of accessibility walkthrough title (#228275) 2024-09-11 22:48:55 +02:00
Sandeep Somavarapu
298e7037f0 undo commenting (#228272) 2024-09-11 22:17:37 +02:00
Rob Lourens
65843d6c66 Tools API with a single invokeTool, show spinner for tool call (#228181)
* Chat tool confirmations

* await
2024-09-11 22:16:17 +02:00
Megan Rogge
27a00d0217 tweak help content (#228271) 2024-09-11 21:52:13 +02:00
Daniel Imms
63a4f08a8a Merge pull request #228267 from microsoft/tyriar/new_file
Move wgsl into own file
2024-09-11 11:36:25 -07:00
Rob Lourens
427e8e351d Move executeToolbar to below text input in panel chat (#228262)
Not changing quick chat or inline chat, to start. Will also move chat attachments into this space, and possibly split the attachment/other buttons out of the execute toolbar
2024-09-11 11:07:41 -07:00
Daniel Imms
b040eba7ff Move wgsl into own file
Part of #221145
2024-09-11 11:05:57 -07:00
Johannes Rieken
a2230377c8 use caching for file completions, show workspace relative path (#228257) 2024-09-11 19:04:04 +02:00
Ladislau Szomoru
e697b03306 SCM Graph - tweak default colors (#228252) 2024-09-11 18:33:01 +02:00
Benjamin Christopher Simmonds
3f2729f11e Update classifier.json (#228199) 2024-09-11 08:31:30 -07:00
Megan Rogge
6f56b21aca fix aria alert not happening when auto synthesize setting is enabled and voice input is not used (#228153) 2024-09-11 07:53:07 -07:00
Ladislau Szomoru
9c9e425876 SCM Graph - remove red/green from default graph theme colors (#228238) 2024-09-11 16:23:56 +02:00
Thomas Dubosc
17d912dc91 fix: swap end for flex-end in browser/hover.css (#224102)
Swaps end for flex-end in browser/hover.css

Fixes justify-content value set in https://github.com/microsoft/vscode/pull/210472 .

This resolves an autoprefixer warning while bundling with monaco-editor.

``` txt
autoprefixer: end value has mixed support, consider using flex-end instead
```

Co-authored-by: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
2024-09-11 13:48:42 +00:00
Alex Ross
f4b5fd6791 Use 0.0.3 @vscode/tree-sitter-wasm (#228235) 2024-09-11 15:44:04 +02:00
Alex Ross
3635f17861 Better scope for instanceof with tree-sitter (#228236) 2024-09-11 15:42:34 +02:00
Sandeep Somavarapu
2991008c4f Block extension installation when signature verification fails (#228230)
* #223942 Block extension installation when signature verification fails

* fix tests
2024-09-11 15:22:26 +02:00
Benjamin Pasero
139cf0e648 Fix missing closing brace in defaultWorkerFactory.ts (#228231) 2024-09-11 15:04:56 +02:00
Sandeep Somavarapu
de8d1f7b46 feedback (#228229) 2024-09-11 14:53:35 +02:00
Sandeep Somavarapu
8b3867e54d make event readonly (#228124) 2024-09-11 14:06:06 +02:00
Benjamin Pasero
819cf1cd22 watcher - allow to use latest version of @parcel/watcher behind experimental setting (#228200)
We are pulling this in from `@bpasero/watcher` as a temporary solutionto:
- fix a deadlock issue in upstream
- allow to switch back and forth between the old and the new version
2024-09-11 13:21:52 +02:00
Don Jayamanne
fd5ee87cf6 Minor updates to notebook diff editor (#228198) 2024-09-11 21:10:39 +10:00
Don Jayamanne
8be2dfa399 Remove context variable name in menu contributions of nb diff view (#228196) 2024-09-11 21:10:20 +10:00
Don Jayamanne
e961142a8e Avoid passing cell into callbacks of the cell headers of notebook diff editor (#228194)
* Collapse unchanged lines in input/metadata editors of NB Diff view

* Avoid passing cell into callbacks in nb diff editor cell headers

* Ignore
2024-09-11 21:10:02 +10:00
Ladislau Szomoru
aa6b3e9990 SCM Graph - 💄 more picker polish (#228216) 2024-09-11 12:37:06 +02:00
Sandeep Somavarapu
a5fd004fb1 polish showing warnings in extensions view (#228214)
- do not show warning for disabled extensions in untrusted workspace
- fix showing warning message when clicked on show link
2024-09-11 12:24:43 +02:00
Ladislau Szomoru
022664fc04 SCM Graph - bring selected items to the top of the references picker (#228212) 2024-09-11 11:58:59 +02:00
Ladislau Szomoru
1906fb40a5 SCM Graph - 💄 polish node rendering (#228205) 2024-09-11 11:05:47 +02:00
Henning Dieterichs
d62804977b Fixes #227466 by disabling hot reload (#228204) 2024-09-11 10:41:18 +02:00
Don Jayamanne
c8d5f8c0f9 Ignore cell metadata height when computing height in nb diff view (#228193)
* Collapse unchanged lines in input/metadata editors of NB Diff view

* Ignore Cell Metadata height when computing height in nb diff

* oops
2024-09-11 09:26:34 +02:00
Benjamin Pasero
6e9d8a2810 Workers fail when single-quote in application dir (#227971) (#228122)
* Workers fail when single-quote in application dir (#227971)

* Fix script-src content security policy in webWorkerExtensionHostIframe
2024-09-11 06:42:24 +02:00
Megan Rogge
9b777cc026 fix accessible view bug (#228022) 2024-09-10 19:32:48 -07:00