gabriel / musehub public
fix BREAKING proposals task/wave-hub-ui-bugs #2 / 3
AI Agent gabriel · 1 day ago · Nov 15, 2026 · Diff

fix(proposals): the list row shows the proposal type chip in every state, default merge included (#96)

The chip was gated on state == 'merged' while the list defaults to open proposals, so it never showed. The type is fixed when the proposal is opened; only the strategy chip still waits for the merge. Restores tests/test_proposal_type_badge.py (T9.1-T9.3) on the current type names.

sha256:d5b7a8f15194e22e884455c60946e7124f1e8aa2f7cb7c4fc23fa4e1564664bf sha
+15 symbols
sha256:85026c919cae2448a254d8a692013ef0887a83da27fce45c6fcde45778c3f683 snapshot
+15
symbols added
0
dead code introduced
Semantic Changes 15 symbols
~ tests/test_proposal_type_badge.py .py 15 symbols added
+ _SHORT variable variable _SHORT L22–25
+ _row function async_function _row L28–39
+ AsyncClient import import AsyncClient L15–15
+ AsyncSession import import AsyncSession L17–17
+ ProposalType import import ProposalType L19–19
+ annotations import import annotations L10–10
+ create_proposal import import create_proposal L20–20
+ create_repo import import create_repo L20–20
+ pytest import import pytest L14–14
+ re import import re L12–12
+ text import import text L16–16
+ test_t9_1_every_type_renders_its_chip function async_function test_t9_1_every_type_renders_its_chip L47–52
+ test_t9_2_type_chip_precedes_title function async_function test_t9_2_type_chip_precedes_title L55–58
+ test_t9_3_default_merge_type_is_badged function async_function test_t9_3_default_merge_type_is_badged L62–64
+ test_t9_short_labels_cover_every_type function function test_t9_short_labels_cover_every_type L42–43

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