This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 0159f29
committed
fix: show indentation mode in approval UI even when anchor_line is omitted
- getLineSnippet() now always displays 'indentation mode at line X' when mode is indentation
- getStartLine() now always returns the effective anchor line for indentation mode
- Both methods use fallback chain: anchor_line ?? offset ?? 1
Addresses review feedback about approval UI not reflecting defaulted anchor_line1 parent 6029495 commit 0159f29
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
529 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
530 | 531 | | |
531 | 532 | | |
532 | 533 | | |
| |||
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
539 | | - | |
540 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
541 | 544 | | |
542 | 545 | | |
543 | 546 | | |
| |||
0 commit comments