Файли
openidea/src-tauri/src
l0ng-ai 62fa9bc39d feat(vcs): Repository list in the Branches popup for multi-repository projects
With several repositories the Branches popup no longer starts with a wrapping
row of repository chips. It now shows:

- the search field ("Search for branches, actions, repositories") with Fetch
  and a Git settings button, then the actions;
- one row per repository: a colour square (project colour tokens), its name,
  its current branch and a chevron. Hovering a row (or →/Enter) opens that
  repository's branches in a submenu, so switching one repository's branch
  takes two clicks;
- when every repository is on the same branch, collapsible "Common Local
  Branches" and "Common Remote Branches" (grouped by remote). Their entries
  act on all repositories: Checkout, New Branch from…, Rebase / Merge, Delete;
- otherwise the current repository's (active file's, else the selected one's)
  Recent, Local and Remote branches and Tags, in collapsible groups.

Search matches actions, repository names and branches, and lists the other
repositories' matching branches below. Expanded groups are remembered.
The title bar widget shows only the branch while all repositories share it,
and "repository / branch" once they differ. New Branch… from the popup
creates the branch in every repository. Single-repository projects keep the
existing popup.

Backend: `vcs_roots` reports each repository's current branch and HEAD
commit (cheap, no upstream walk), so the widget and the repository rows need
no extra calls per refresh.

Claude-Session: https://claude.ai/code/session_01VUYsdXA2nkF5v6zsC93dpn
2026-10-27 16:43:56 +08:00
..
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00