gabriel / musehub public
fix BREAKING dev
AI Agent gabriel · 47 days ago · May 2, 2026 · Diff

fix: activity canvas — use domain_id plain string, null defaults to code

Drop the musehub_domains JOIN from build_activity_canvas and _fetch_repos. domain_id in musehub_repos is a plain string label ("code", "midi", "mist") or NULL for legacy repos. NULL is treated as "code" throughout.

- musehub_profile.py: drop musehub_domain_models import; rewrite build_activity_canvas to query distinct domain_id directly; update _build_domain_commit_grid to match null repos under "code" - ui_user_profile.py: drop MusehubDomain join in _fetch_repos, use r.domain_id or "code" directly - Tests updated to use plain string domain_ids; phantom data-domain template tests removed (attribute never existed in profile.html)

sha256:98310689f8864e4e6adabd679d6e1f170bfe11deadac1912945df5dc6bec5dda sha
sha256:7255962e1623ce27e128ec2c6128f0b53056f1922741d247edc27e58557a07d8 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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