Skip to content

Enhance sync functionality with loading state and improved UI feedback#298699

Merged
benibenj merged 1 commit intomainfrom
copilot-worktree-2026-03-02T11-04-50
Mar 2, 2026
Merged

Enhance sync functionality with loading state and improved UI feedback#298699
benibenj merged 1 commit intomainfrom
copilot-worktree-2026-03-02T11-04-50

Conversation

@benibenj
Copy link
Contributor

@benibenj benibenj commented Mar 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 2, 2026 12:14
@benibenj benibenj enabled auto-merge (squash) March 2, 2026 12:14
@vs-code-engineering vs-code-engineering bot added this to the March 2026 milestone Mar 2, 2026
Copy link
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 improves Git sync UX in the Sessions window by introducing a “sync in progress” loading state and updating the UI to provide clearer feedback during synchronization.

Changes:

  • Add a syncing observable to the Sessions Git Sync toolbar action and render a spinning sync icon while a sync is running.
  • Add a syncing state to the chat sync indicator button, including a spinner icon and guarding against repeated triggers while syncing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/vs/sessions/contrib/gitSync/browser/gitSync.contribution.ts Tracks sync-in-progress state and switches the action icon to a spinner while git.sync runs.
src/vs/sessions/contrib/chat/browser/syncIndicator.ts Adds local syncing state, executes sync via a helper method, and renders a spinner while syncing.

@benibenj benibenj merged commit 41d6266 into main Mar 2, 2026
24 checks passed
@benibenj benibenj deleted the copilot-worktree-2026-03-02T11-04-50 branch March 2, 2026 14:55
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