Skip to content

SCM - Add an actionButton property to the SourceControl api #133935

Open
@eamodio

Description

@eamodio

Refs: #110882

This proposal adds a new actionButton property to the SourceControl object, to allow SCM extensions to contribute a large "cta" style button to a repository.

Here is the proposed api addition:

export interface SourceControl {
	actionButton?: Command;
}

This is currenty being used by the built-in Git extension to provide the "Publish Changes" or "Sync Changes" button when there are unpublished or unpushed commits.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions