Commit 2cc29e1
Announce the planner failure card and stop duplicating its Retry
Three loose ends around the recovery card: `addErrorRetryButton` only
looked for the error and cost-allowance classes, so a message that also
took an error update could grow a second Retry affordance next to the
card's own; the reconnect path recomputed a fallback that its own
`assistantEl` already applied; and the card said nothing to a screen
reader. The role goes on the emptied container before its content, since
readers announce insertions into a live region rather than a region that
shows up already populated — which also keeps a restored card silent.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 364efc9 commit 2cc29e1
3 files changed
Lines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3740 | 3740 | | |
3741 | 3741 | | |
3742 | 3742 | | |
3743 | | - | |
3744 | 3743 | | |
3745 | | - | |
| 3744 | + | |
3746 | 3745 | | |
3747 | | - | |
| 3746 | + | |
3748 | 3747 | | |
3749 | 3748 | | |
3750 | 3749 | | |
| |||
5251 | 5250 | | |
5252 | 5251 | | |
5253 | 5252 | | |
| 5253 | + | |
| 5254 | + | |
| 5255 | + | |
| 5256 | + | |
5254 | 5257 | | |
5255 | 5258 | | |
5256 | 5259 | | |
| |||
8860 | 8863 | | |
8861 | 8864 | | |
8862 | 8865 | | |
8863 | | - | |
| 8866 | + | |
| 8867 | + | |
8864 | 8868 | | |
8865 | 8869 | | |
8866 | 8870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3589 | 3589 | | |
3590 | 3590 | | |
3591 | 3591 | | |
3592 | | - | |
3593 | 3592 | | |
3594 | | - | |
| 3593 | + | |
3595 | 3594 | | |
3596 | | - | |
| 3595 | + | |
3597 | 3596 | | |
3598 | 3597 | | |
3599 | 3598 | | |
| |||
5088 | 5087 | | |
5089 | 5088 | | |
5090 | 5089 | | |
| 5090 | + | |
| 5091 | + | |
| 5092 | + | |
| 5093 | + | |
5091 | 5094 | | |
5092 | 5095 | | |
5093 | 5096 | | |
| |||
8506 | 8509 | | |
8507 | 8510 | | |
8508 | 8511 | | |
8509 | | - | |
| 8512 | + | |
| 8513 | + | |
8510 | 8514 | | |
8511 | 8515 | | |
8512 | 8516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49737 | 49737 | | |
49738 | 49738 | | |
49739 | 49739 | | |
| 49740 | + | |
| 49741 | + | |
| 49742 | + | |
| 49743 | + | |
| 49744 | + | |
| 49745 | + | |
| 49746 | + | |
| 49747 | + | |
| 49748 | + | |
| 49749 | + | |
49740 | 49750 | | |
49741 | 49751 | | |
49742 | 49752 | | |
| |||
0 commit comments