gabriel / musehub public
fix BREAKING task/avax-address-and-domain-default #1 / 1
AI Agent gabriel · 141 days ago · May 2, 2026 · Diff

fix: hide AVAX row when null, default repo domain to code

- ProfileRepoSummary gains domain field; get_public_repos defaults to 'code' when domain_id is unset - Profile template hides AVAX strip item when avax_address is None (was showing 'not set' placeholder) - tests/factories.py create_repo now passes domain_id to ORM constructor - New service tests: domain defaults to code, explicit domain preserved - New UI tests: AVAX hidden when null (two test sites: simple _make_profile and _make_identity_with_repos)

sha256:b167af8629ca16c0e56a4edcc676424815f4df982ca7e92fc155b3c69cfe45f5 sha
+4 ~3 −1 symbols
sha256:b9525edc5b15c4aa313dd53e7b51daccd663d7be59f0f0046d1c28d2928fe3d6 snapshot
+4
symbols added
~3
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 8 symbols
~ musehub/models/musehub.py .py 1 symbol modified
~ tests/factories.py .py 1 symbol modified
+ test_get_public_repos_domain_defaults_to_code function async_function test_get_public_repos_domain_defaults_to_code L167–178
+ test_get_public_repos_preserves_explicit_domain function async_function test_get_public_repos_preserves_explicit_domain L181–193
~ tests/test_musehub_ui_user_profile.py .py 2 symbols added, 1 symbol removed
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_hidden_when_null function async_function test_profile_header_avax_hidden_when_null L649–658
+ test_profile_page_html_hides_avax_when_null function async_function test_profile_page_html_hides_avax_when_null L363–373
← Older Oldest on task/avax-address-and-domain-default
All commits
Newer → Latest on task/avax-address-and-domain-default

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:b167af8629ca16c0e56a4edcc676424815f4df982ca7e92fc155b3c69cfe45f5 --body "your comment"