Commit 2b8c294
committed
fix(web): add dismiss button to thread error banner
The thread error banner had no way to be dismissed. Users hitting
unrecoverable errors (e.g. missing gh CLI during PR creation) were
stuck with a persistent error banner and no way to clear it.
Add a dismiss (X) button to ThreadErrorBanner using the existing
AlertAction component, wired to clear the thread error via
setThreadError(id, null).
Closes #4961 parent 96e1e3d commit 2b8c294
1 file changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
3434 | 3434 | | |
3435 | 3435 | | |
3436 | 3436 | | |
3437 | | - | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
3438 | 3441 | | |
3439 | 3442 | | |
3440 | 3443 | | |
| |||
4095 | 4098 | | |
4096 | 4099 | | |
4097 | 4100 | | |
4098 | | - | |
| 4101 | + | |
| 4102 | + | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
4099 | 4108 | | |
4100 | 4109 | | |
4101 | 4110 | | |
| |||
4104 | 4113 | | |
4105 | 4114 | | |
4106 | 4115 | | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
| 4122 | + | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
4107 | 4128 | | |
4108 | 4129 | | |
4109 | 4130 | | |
| |||
0 commit comments