gabriel / musehub public
feat BREAKING proposals task/proposal-models-v2 #5 / 19
AI Agent gabriel · 130 days ago · May 8, 2026 · Diff

feat(proposals): surface proposal type badge as first element in each list row

- proposal_type_label macro now returns explicit label for all 7 types (state_merge was previously returning empty string) - type badge moved to first position in prl-row-hd, guard removed - T9.1–T9.4 all pass: badge renders for every type, appears before title, state_merge shows STATE_MERGE, all labels are distinct

sha256:6a0997b85f6da59378cef27f00837ec80f2824cd2e7ef00a7553a583d4280d0d sha
+20 symbols
sha256:30d5c52a80a23012efafbcfb58ecd28d691afc19043ed464384af5ea7ccfc0d7 snapshot
+20
symbols added
0
dead code introduced
Semantic Changes 20 symbols
~ tests/test_proposal_type_badge.py .py 20 symbols added
+ ALL_TYPES variable variable ALL_TYPES L27–35
+ _make_proposal function async_function _make_proposal L53–75
+ _make_repo function async_function _make_repo L40–50
+ _seq variable variable _seq L37–37
+ AsyncClient import import AsyncClient L20–20
+ AsyncSession import import AsyncSession L21–21
+ MusehubProposal import import MusehubProposal L24–24
+ MusehubRepo import import MusehubRepo L24–24
+ annotations import import annotations L15–15
+ compute_identity_id import import compute_identity_id L23–23
+ compute_proposal_id import import compute_proposal_id L23–23
+ compute_repo_id import import compute_repo_id L23–23
+ datetime import import datetime L17–17
+ now_utc_iso import import now_utc_iso L25–25
+ pytest import import pytest L19–19
+ timezone import import timezone L17–17
+ test_T9_1_all_types_render_badge function async_function test_T9_1_all_types_render_badge L84–105
+ test_T9_2_type_badge_before_title function async_function test_T9_2_type_badge_before_title L113–134
+ test_T9_3_state_merge_shows_label function async_function test_T9_3_state_merge_shows_label L142–160
+ test_T9_4_distinct_labels_per_type function async_function test_T9_4_distinct_labels_per_type L168–196

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