gabriel / musehub public
feat BREAKING task/profile-header-tdd #1 / 1
AI Agent gabriel · 157 days ago · Apr 21, 2026 · Diff

feat: profile header — TDD fix for repo pipeline, bio, AVAX, chip icons

- Fix _fetch_repos and all repo queries to use owner==handle instead of owner_user_id==identity_id (owner_user_id stores handle string in prod) - Add branch_count, fork_count, open_issues_count to _fetch_repos return - Add repoCount/commitCount/agentCount to JSON response - Add emoji icon map to repo project chips (muse 🎵, stori ⚡, maestro 🎹, etc.) - Filter chips to public repos only - Seed gabriel's bio and AVAX address - Add 7 TDD header tests; fix pre-existing _make_repo repo_id bug - Add pid-hero 3-col flex CSS, pid-side-card, pid-project-chip CSS

sha256:af0e6f106026f0fffa97c1ecd9a4380fa65a4dbaa98add9754955dc00d4573cf sha
+8 ~22 symbols
sha256:c24dea2352b4e305250204cd7a84a6b757e12f2304678076c1f9865a3cce5736 snapshot
+8
symbols added
~22
symbols modified
0
dead code introduced
Semantic Changes 30 symbols
~ tests/test_musehub_ui_user_profile.py .py 8 symbols added, 2 symbols modified
+ _make_identity_with_repos function async_function _make_identity_with_repos L480–525
+ test_profile_header_avax_not_set_shows_placeholder function async_function test_profile_header_avax_not_set_shows_placeholder L631–639
+ test_profile_header_avax_renders_truncated function async_function test_profile_header_avax_renders_truncated L609–628
+ test_profile_header_bio_fallback_when_null function async_function test_profile_header_bio_fallback_when_null L593–601
+ test_profile_header_bio_renders_when_set function async_function test_profile_header_bio_renders_when_set L578–590
+ test_profile_header_chip_icons_present function async_function test_profile_header_chip_icons_present L647–665
+ test_profile_header_repo_count_in_json function async_function test_profile_header_repo_count_in_json L557–570
+ test_profile_header_repos_appear_when_owner_matches_handle function async_function test_profile_header_repos_appear_when_owner_matches_handle L533–554
← Older Oldest on task/profile-header-tdd
All commits
Newer → Latest on task/profile-header-tdd

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:af0e6f106026f0fffa97c1ecd9a4380fa65a4dbaa98add9754955dc00d4573cf --body "your comment"