mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Replace the minimal Repo Status Card with a full Repository Info Card showing remote URL with platform detection (GitHub/GitLab/Bitbucket), branch tracking info, HEAD commit hash and message, and status badges. Backend: export GetRemoteURL, add GetHeadMessage and GetTrackingBranch to internal/git, extend /api/git/status with 4 new fields. Frontend: new parseRemoteURL utility parses SSH/HTTPS remote URLs and detects platform by exact hostname match. RepoInfoCard displays parsed owner/repo with platform icon, clickable link, copy button, and graceful fallbacks for missing remote or unparseable URLs.