- Updates api so extensions can track lifecycles of webviews
- Caches heights across reloads
- Improve rendering of loading indicator
- Use codicons for icons
Adds support for reduced hover delays through a new reducedDelay boolean
option in IHoverLifecycleOptions. When enabled, hovers will use the new
workbench.hover.reducedDelay setting (defaults to 500ms on all platforms)
instead of the standard workbench.hover.delay setting.
Changes:
- Adds optional 'reducedDelay' boolean parameter to IHoverLifecycleOptions
- Adds new 'workbench.hover.reducedDelay' setting with 500ms default
- Updates HoverService to use reducedDelay setting when the option is true
- Applies reduced delay in agent sessions viewer for input-requiring sessions
- Updates test coverage for the new reducedDelay functionality
(Commit message generated by Copilot)
* Initial plan
* Add setDisableBackgroundUpdates method and DefaultAccountUpdateContribution
- Added setDisableBackgroundUpdates method to IUpdateService interface
- Implemented method in AbstractUpdateService to track disabled state
- Updated platform-specific update services (Windows, macOS, Linux) to check disabled state before setting background parameter
- Added IPC method to UpdateChannel/UpdateChannelClient for workbench-to-main communication
- Created DefaultAccountUpdateContribution workbench contribution
- Contribution listens for default account changes and checks organization_login_list
- Disables background updates when 'Visual-Studio-Code' is found in org list
- Contribution is Electron-only (skips on web)
- Registered contribution at Eventually lifecycle phase
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
* Rename setDisableBackgroundUpdates to disableProgressiveReleases and return Promise<void>
- Renamed method from setDisableBackgroundUpdates to disableProgressiveReleases
- Changed return type from void to Promise<void> for proper IPC traversal
- Updated all implementations to use async/await
- Updated IPC channel to properly return the promise
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
* Make disableProgressiveReleases sticky - once disabled, always disabled
- Once disableProgressiveReleases(true) is called, state remains disabled
- Subsequent calls with false will not re-enable progressive releases
- Ensures the disabled state is permanent once set
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
* Update src/vs/platform/update/electron-main/abstractUpdateService.ts
* Update src/vs/platform/update/electron-main/abstractUpdateService.ts
* Update src/vs/platform/update/electron-main/updateService.win32.ts
* Update src/vs/platform/update/electron-main/updateService.linux.ts
* Update src/vs/platform/update/electron-main/updateService.darwin.ts
* Update src/vs/platform/update/electron-main/abstractUpdateService.ts
* Update src/vs/workbench/contrib/update/browser/update.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/vs/workbench/contrib/update/browser/update.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/vs/platform/update/electron-main/abstractUpdateService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove disable boolean argument from disableProgressiveReleases
- Method now has no parameters since it's a one-way sticky disable
- Simplified logic by removing the conditional check for false
- Updated all call sites to not pass an argument
- Updated IPC channel to not pass/receive argument
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>