Commit c0740e0
committed
refactor(site/src): require every registry name in the badge story
The registry-wide story counted rendered cases, so the extra subagent and
unknown-tool fixtures could offset a registered renderer that produced
nothing and the count assertion still passed. It now records which
registry names actually rendered and requires all of them.
Folds the negative auth-required badge assertion into the story it
duplicated, and makes the internal renderer prop required now that
`Tool` normalizes the public one.1 parent e201b4f commit c0740e0
3 files changed
Lines changed: 9 additions & 26 deletions
File tree
- site/src/pages/AgentsPage/components
- ChatConversation
- ChatElements/tools
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
Lines changed: 6 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| 718 | + | |
718 | 719 | | |
719 | 720 | | |
720 | 721 | | |
| |||
739 | 740 | | |
740 | 741 | | |
741 | 742 | | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | 743 | | |
762 | 744 | | |
763 | 745 | | |
| |||
3425 | 3407 | | |
3426 | 3408 | | |
3427 | 3409 | | |
3428 | | - | |
3429 | 3410 | | |
3430 | 3411 | | |
3431 | 3412 | | |
| |||
3481 | 3462 | | |
3482 | 3463 | | |
3483 | 3464 | | |
3484 | | - | |
| 3465 | + | |
3485 | 3466 | | |
3486 | 3467 | | |
3487 | 3468 | | |
| |||
3490 | 3471 | | |
3491 | 3472 | | |
3492 | 3473 | | |
3493 | | - | |
| 3474 | + | |
3494 | 3475 | | |
3495 | 3476 | | |
3496 | 3477 | | |
3497 | 3478 | | |
3498 | 3479 | | |
3499 | 3480 | | |
3500 | | - | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
3501 | 3484 | | |
3502 | 3485 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
| 1132 | + | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| |||
0 commit comments