Skip to content

feat: add remote repository info display#348

Open
yqwang96 wants to merge 1 commit intoop7418:mainfrom
yqwang96:feat/git-remote-section
Open

feat: add remote repository info display#348
yqwang96 wants to merge 1 commit intoop7418:mainfrom
yqwang96:feat/git-remote-section

Conversation

@yqwang96
Copy link

@yqwang96 yqwang96 commented Mar 19, 2026

Summary

  • Add GitRemoteSection component to display remotes and remote branches in the Git panel
  • Add getRemotes() and fetchRemotes() methods to git service
  • Add /api/git/remotes and /api/git/fetch API endpoints
  • Add i18n translations for remote section (English and Chinese)

Screenshot

The new section displays:

  • Remote repository names and formatted URLs
  • Remote branches list
  • Fetch button to update remote info

Test plan

  • TypeScript type check passes
  • Unit tests pass
  • Manual test in browser with a Git repository

- Add GitRemoteSection component to display remotes and remote branches
- Add getRemotes() and fetchRemotes() methods to git service
- Add /api/git/remotes and /api/git/fetch API endpoints
- Add GitRemote type definition
- Add i18n translations for remote section (en/zh)
- Integrate Remote section in GitPanel between Status and Branch sections

The new section shows:
- Remote repository names and URLs
- Remote branches list
- Fetch button to update remote info
@vercel
Copy link

vercel bot commented Mar 19, 2026

@yqwang96 is attempting to deploy a commit to the op7418's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yqwang96 yqwang96 changed the title feat(git): add remote repository info display feat: add remote repository info display Mar 19, 2026
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.

1 participant