Commit a385d27
committed
fix: address bot review feedback for search score threshold slider
- Import SEARCH_MIN_SCORE constant to avoid magic number duplication
- Replace logical OR (||) with nullish coalescing (??) for numeric defaults to properly handle 0 values
- Add aria-label attribute to slider for screen reader accessibility
Fixes issues identified by GitHub Copilot and Ellipsis bots in PR #50411 parent 5d5ae74 commit a385d27
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
465 | | - | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| 474 | + | |
473 | 475 | | |
474 | 476 | | |
475 | | - | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
| |||
483 | 485 | | |
484 | 486 | | |
485 | 487 | | |
486 | | - | |
| 488 | + | |
487 | 489 | | |
488 | 490 | | |
489 | 491 | | |
| |||
0 commit comments