Skip to content

feat(git): add local branch workflows to new sessions - #376

Merged
AprilNEA merged 4 commits into
masterfrom
chenyu/code-527
Aug 1, 2026
Merged

feat(git): add local branch workflows to new sessions#376
AprilNEA merged 4 commits into
masterfrom
chenyu/code-527

Conversation

@lucas77778

@lucas77778 lucas77778 commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

  • add searchable branch selection and quick branch creation to the new-session flow
  • make branch choice independent from Local / Worktree execution mode
  • safely preflight Local branch switches, show overlapping changed files and line statistics, and support commit-and-continue
  • keep Worktree mode isolated from the original checkout and add wire, SDK, engine, mock, cache invalidation, and i18n support
  • keep the branch search icon and text in separate InputGroup layout slots so they cannot overlap

Linear: CODE-527

Verification

  • pnpm check:ci
  • pnpm test — 300 test files / 2408 tests passed; 1 file / 1 test skipped
  • pre-commit hooks
  • git diff --check
  • observed the complete branch search, creation, Local / Worktree, conflict, and commit-and-continue flow in the mock webview
  • visually rechecked the search field after merging current master; icon and placeholder have a measured 4px gap with no clipping or overlap

Checklist

  • pnpm check:ci and pnpm test both pass (plus cargo fmt / clippy / test for Rust changes)
  • I ran the affected surface and observed the change working
  • If a wire message changed: WIRE_PROTOCOL_VERSION is bumped
  • New code and assets are my own work, or their origin and license compatibility are noted above
  • Docs and comments are updated where behavior changed

Copilot AI review requested due to automatic review settings August 1, 2026 13:12
@linear-code

linear-code Bot commented Aug 1, 2026

Copy link
Copy Markdown

CODE-527

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@lucas77778
lucas77778 requested review from AprilNEA and Zerlight August 1, 2026 13:14
Copilot AI review requested due to automatic review settings August 1, 2026 14:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings August 1, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@AprilNEA
AprilNEA merged commit 200753c into master Aug 1, 2026
8 checks passed
@AprilNEA
AprilNEA deleted the chenyu/code-527 branch August 1, 2026 15:49
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