Commit Graph

1636 Commits

Author SHA1 Message Date
mrleemurray
611ad1b797 Add unfocused badge border color for agent sessions and update CSS styling 2025-12-10 11:11:40 +00:00
Benjamin Pasero
6337b196d6 Agent sessions: reduce the color for diff outline (fix #281754) (#282432) 2025-12-10 10:40:36 +00:00
Benjamin Pasero
9913515e47 agent sessions fixes (#282185)
merge to main
2025-12-09 10:05:13 +00:00
Benjamin Pasero
f04ec6a235 Chat view improvements (#281447)
* agent sessions - add and use `getSession`

* agent sessions - fix `changes` serialisation

* agent sessions - have a dedicated `agentSessionsList.background` color

* agent sessions - update session title based on viewer state

* style - update icons and adjust sidebar widths

* refactor - simplify chat editor retrieval logic

* style - add archived state styling to session items

* chore - add group to menu for agent session actions

* fix - adjust auxiliary bar maximization behavior

* fixes #281448

* feat - add new actions for agent sessions viewer

* Add new codicons: collectionSmall, vmSmall, and cloudSmall

* fix cyclic

* style - remove unused background color from `agentSessionsList`

* refactor - simplify session serialization logic

* style - correct label text for session viewer link

* fix broken status update

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2025-12-05 15:42:45 +01:00
Paul
43285776cc Fix ADMX generation to use underscores instead of . (#279406) 2025-11-25 10:39:47 -08:00
Matt Bierner
e779f86b17 Build script cleanup
For #277526

Quick cleanup pass after converting these scripts
2025-11-24 14:07:28 -08:00
Matt Bierner
2352f5be67 Small cleanups 2025-11-21 22:28:34 -08:00
Matt Bierner
ac71e4f6ad Reduce runtime changes 2025-11-21 15:50:54 -08:00
Matt Bierner
fcfb37c8f8 Convert gulp files to ts
For #277526

Had to add a few ugly casts in difficult cases but mostly trying to add proper types
2025-11-21 15:38:55 -08:00
Matt Bierner
f0e7fe3775 Convert a few more build scripts to TypeScript
For #277526
2025-11-21 09:26:54 -08:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Benjamin Pasero
1d564f8ea7 select box - more styling tweaks (#277837)
* select box - more styling tweaks

* Update src/vs/base/browser/ui/selectBox/selectBoxCustom.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 13:07:17 +00:00
Copilot
0dd53ee568 Add policy configuration for chat.tools.eligibleForAutoApproval (#277238)
* Initial plan

* Add policy configuration for chat.tools.eligibleForAutoApproval setting

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Update policy generation tests for chat.tools.eligibleForAutoApproval

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* restore fixtures

* restore test

* fix minimumVersion

* do not add chat prompt files

* rerun --export-policy-data

* polish

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2025-11-14 02:21:17 +00:00
Matt Bierner
7dbdaa0aea Merge pull request #277042 from microsoft/dev/mjbvz/brilliant-canid
Add proper typings for a few more build script dependencies
2025-11-12 16:42:02 -08:00
Matt Bierner
42410acd73 Add proper typings for a few more build script dependencies
For #276864
2025-11-12 16:22:40 -08:00
Matt Bierner
46122b82dc Remove old compiled js file that doesn't have matching .ts
For #276864
2025-11-12 16:14:20 -08:00
Alex Ross
89b8b71fd8 Add comment draft color to overview ruler (#276972)
RE: https://github.com/microsoft/vscode/pull/271536#discussion_r2518015387
2025-11-12 18:43:29 +00:00
Johannes Rieken
f62ffbb85b Remove NLS inline chat hint (#276935)
fixes https://github.com/microsoft/vscode/issues/271279
fixes https://github.com/microsoft/vscode/issues/276927
2025-11-12 15:44:34 +00:00
Copilot
36b32e3d47 Show draft comment icon in gutter when appropriate (#271536)
* Initial plan

* Add draft comment icon support in gutter and comments view

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Add state property to Comment interface for draft support

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Add color registration and CSS for draft comment glyph

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* clean up

* Fix known variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2025-11-12 12:16:05 +00:00
Copilot
0297176f1f Don't inline CSS for comment widget (#276479)
* Initial plan

* Move inline CSS to static CSS file in comment widget

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* clean up

* Update colors

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2025-11-11 17:36:18 +00:00
Henning Dieterichs
095502f491 Merges standalone and workbench editor worker service. (#276499)
Merges standalone and workbench editor worker service.
2025-11-10 16:43:38 +00:00
Christof Marti
576c04f264 Update known variables 2025-11-06 19:59:41 +01:00
Josh Spicer
b118b3054e bump copyright (#274806)
* bump copyright

* compile build folder
2025-11-03 11:29:36 -08:00
BeniBenj
12f4872e2d Revert "Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)"
This reverts commit 619c243e4d.
2025-11-03 12:10:17 +01:00
Amin Sajedian
619c243e4d Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)
* Add hover colors for side/top/bottom activity bar in theme and styles

Modified Files Summary

1. Theme Color Definition
[src/vs/workbench/common/theme.ts]
- Define new theme color tokens:
  - `ACTIVITY_BAR_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_HOVER_BACKGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`

2. Activity Bar: Theming + Wiring
[src/vs/workbench/browser/parts/activitybar/activitybarPart.ts]
- Register new hover tokens in theme registry
- Map hover tokens to CSS variables for stylesheet consumption
- Wire hover colors into composite bar configuration

3. Activity Bar CSS (Hover Styles)
[src/vs/workbench/browser/parts/activitybar/media/activityaction.css]
- Apply hover styles using new CSS variables:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`
- Integrate hover states with existing active/focus styling

4. Sidebar: Theming Integration
[src/vs/workbench/browser/parts/sidebar/sidebarPart.ts]
- Reference top-position hover tokens for consistency:
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`
- Ensure sidebar hover behavior aligns with activity bar when positioned at top or bottom

5. Sidebar CSS (Hover Styles)
`src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css`
- Apply hover styling using activity bar CSS variables
- Maintain visual consistency between sidebar and activity bar hover states

6. Stylelint Allowlist
[build/lib/stylelint/vscode-known-variables.json]
- Add CSS custom properties to prevent lint errors:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`

Usage

settings.json
{
  "workbench.activityBar.location": "default", // "top"
  "workbench.colorCustomizations": {
    // Left Activity Bar
    "activityBar.hoverForeground": "#ff0000",
    "activityBar.hoverBackground": "#00ff00",

    // Top Activity Bar
    "activityBarTop.hoverForeground": "#0000ff",
    "activityBarTop.hoverBackground": "#ffff00"
  }
}

* refactor: move default colors to theme.ts and remove CSS fallbacks in activityaction.css and sidebarpart.css, per feedback.

---------

Co-authored-by: Benjamin Christopher Simmonds <44439583+benibenj@users.noreply.github.com>
2025-11-02 22:41:56 +00:00
Matt Bierner
c79433c9de Fix import and use clearer file name 2025-10-30 08:57:26 -07:00
Matt Bierner
883485b3b5 Pick up esbuild target from tsconfig files 2025-10-30 08:53:24 -07:00
Kyle Cutler
38a44e89ce Support GitHub-style alert syntax in MarkdownStrings (#272228)
* Support GitHub-style alerts in MarkdownStrings

* PR feedback, mark internal

* Rename to `supportAlertSyntax`

* Update snapshots

* Fix lower case tags

* Remove title="" from span

* Marked extension

* New theme variables

* Fix test

* Update variable names
2025-10-29 21:00:10 +00:00
Matt Bierner
fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Copilot
908f34c37d Fix scrollbar background color customization issue (#273399)
* Initial plan

* Add scrollbar.background color customization

Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>

* Update known variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-10-27 07:18:37 +00:00
João Moreno
5e4cf386d9 Revert "feat: reenable asar support" (#272935)
Revert "feat: reenable asar support (#272552)"

This reverts commit ff891375f4.
2025-10-23 15:50:48 +00:00
Henning Dieterichs
5e18e088a9 Fixes treeshaking on windows (#272899) 2025-10-23 13:38:06 +00:00
Copilot
8fd821a0c7 Remove experimental badge from prompt file support (#272541)
* Initial plan

* Remove chat.promptFiles setting and experimental tags from prompt file settings

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* Fix compilation errors - remove unused imports and fix variable references

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* Update policy data file to remove chat.promptFiles entry

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* remove unused collectAgentInstructionsOnly

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>
Co-authored-by: Harald Kirschner <hkirschner@microsoft.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2025-10-23 10:22:25 +02:00
Robo
ff891375f4 feat: reenable asar support (#272552) 2025-10-23 07:37:46 +02:00
Paul
e81696f60d Add policy support for linux (#272579) 2025-10-22 16:01:59 -07:00
Paul
0ea6a23376 Modularize the policy generation script (#272332) 2025-10-22 00:08:32 +00:00
Paul
d72d6a2424 Generate policy data as JSON (#272368) 2025-10-21 12:48:33 -07:00
Paul
6025703c6a Revert "Generate policy data as JSON" (#272362) 2025-10-20 16:12:10 -07:00
Paul
99c299e880 Generate policy data as JSON (#272018) 2025-10-20 14:38:48 -07:00
Piotr Rajnisz
fb41f69a94 i18n: add missing localizations for monaco-editor (#268038)
Add missing localizations
2025-10-15 11:19:51 +00:00
Matt Bierner
052d769933 Small cleanup 2025-10-13 08:16:58 -07:00
Matt Bierner
cc51a6897a Fix lint error 2025-10-12 23:54:53 -07:00
Matt Bierner
6c42761e58 Copy out marked and dompurify too 2025-10-12 23:46:42 -07:00
Matt Bierner
51d83e06c3 Fix compile 2025-10-12 22:21:14 -07:00
Matt Bierner
1eee7ae230 Switch monaco to off of moduleResolution: classic
Fixes #270408

Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify

I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Matt Bierner
e656b3edce Merge pull request #270412 from mjbvz/dev/mjbvz/pregnant-gibbon
Re-use `TypeScriptLanguageServiceHost` for monaco and treeshaker build steps
2025-10-09 08:24:13 -07:00
Matt Bierner
77ed219366 Convert some any -> unknown in build scripts 2025-10-08 10:22:21 -07:00
Matt Bierner
383842fe0d Re-use TypeScriptLanguageServiceHostfor monaco and treeshaker build steps
For #270408

There are currently duplicated `LanguageServiceHost` definitions in our build folder. As far as I can tell they are the same except for the default lib name

As part of #270408 I'll have to touch the service hosts and having a single definition will make this easier
2025-10-08 10:12:47 -07:00
João Moreno
f4c2700d45 cleanup any casts (#270371)
related to #269213
cc @mjbvz @jrieken
2025-10-08 14:05:31 +00:00
Matt Bierner
68fb92d6e0 Use real maps for monaco-api/treeshaking
Working on understanding this code and trying to modernize it a little
2025-10-07 16:56:14 -07:00