Commit f084649
committed
fix: add reply button to RichChatMessage to fix test failures
The RichChatMessage component was missing the reply button that tests
expected. Added the reply button with testID='reply-button' that appears
for regular messages (when onReply is provided) and is hidden for system
messages, subscription notices, and messages without a valid username.
Uses ↩ for the button icon to distinguish from the reply indicator's ↳.1 parent 1656b52 commit f084649
1 file changed
Lines changed: 51 additions & 0 deletions
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
264 | 302 | | |
265 | 303 | | |
266 | 304 | | |
| |||
324 | 362 | | |
325 | 363 | | |
326 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
327 | 374 | | |
328 | 375 | | |
329 | 376 | | |
| |||
403 | 450 | | |
404 | 451 | | |
405 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
406 | 457 | | |
407 | 458 | | |
408 | 459 | | |
| |||
0 commit comments