Skip to content

Timeline - split contributions#311882

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/changing-ant
Apr 22, 2026
Merged

Timeline - split contributions#311882
lszomoru merged 1 commit intomainfrom
lszomoru/changing-ant

Conversation

@lszomoru
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 22, 2026 10:46
@lszomoru lszomoru enabled auto-merge (squash) April 22, 2026 10:46
@lszomoru lszomoru self-assigned this Apr 22, 2026
@lszomoru lszomoru added this to the 1.118.0 milestone Apr 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Timeline feature’s workbench contributions by separating ITimelineService singleton registration into its own “service contribution” module, enabling consumers (like the Agents window) to depend on the service without bringing in the Timeline view/UI contributions.

Changes:

  • Added a new timeline.service.contribution.ts that registers ITimelineService as a delayed singleton.
  • Updated the main workbench entrypoint to import both the Timeline UI contribution and the new service contribution.
  • Updated the Sessions (Agents window) entrypoint to import only the service contribution (dropping the Timeline UI contribution).
Show a summary per file
File Description
src/vs/workbench/workbench.common.main.ts Ensures both Timeline UI and service registration are loaded in the standard workbench.
src/vs/workbench/contrib/timeline/browser/timeline.service.contribution.ts New side-effect module that registers ITimelineService (TimelineService) as a delayed singleton.
src/vs/workbench/contrib/timeline/browser/timeline.contribution.ts Removes service registration from the UI contribution to keep it focused on view/commands/menus/config.
src/vs/sessions/sessions.common.main.ts Loads only the Timeline service in Sessions (Agents window), avoiding Timeline view/UI contributions.

Copilot's findings

  • Files reviewed: 4/4 changed files
  • Comments generated: 0

@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 5b56487d Current: 290ce440

Changed (2)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

@lszomoru lszomoru merged commit 252581e into main Apr 22, 2026
30 checks passed
@lszomoru lszomoru deleted the lszomoru/changing-ant branch April 22, 2026 11:07
roblourens added a commit that referenced this pull request Apr 22, 2026
…ion (#311978)

* extensions: split devtoolsExtensionHost action into its own contribution

Pull DebugExtensionHostInDevToolsAction registration out of
extensions.contribution.ts into a new devtoolsExtensionHost.contribution.ts
so the Agents app (vs/sessions) can opt into just this action without
importing the full electron-browser extensions contribution. Mirrors the
recent timeline.contribution split (#311882).

The action only depends on services already registered in the Agents app:
IExtensionService, INativeHostService, IQuickInputService.

(Written by Copilot)

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

* extensions: move devtoolsExtensionHost import to debug section

(Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants