Commit c552730
Fix clipboard header to use job ID for consistency (#110)
## Summary
- Fix clipboard yank header to use job ID instead of review ID
- Queue view and review screen display job IDs, so clipboard should
match
## Changes
- Always use `job.ID` when `Job` struct is available
- Fall back to `review.JobID` when `Job` struct is not populated
- Updated tests to reflect job ID usage
## Test plan
- [x] All existing clipboard tests pass
- [x] `TestFormatClipboardContent` updated to verify job ID is used
- [x] `TestTUIFetchReviewAndCopySuccess` and
`TestTUIFetchReviewAndCopyJobInjection` updated
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent c976927 commit c552730
2 files changed
+73
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
557 | 567 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
571 | 580 | | |
572 | 581 | | |
573 | 582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5278 | 5278 | | |
5279 | 5279 | | |
5280 | 5280 | | |
5281 | | - | |
5282 | | - | |
| 5281 | + | |
| 5282 | + | |
5283 | 5283 | | |
5284 | 5284 | | |
5285 | 5285 | | |
| |||
5462 | 5462 | | |
5463 | 5463 | | |
5464 | 5464 | | |
5465 | | - | |
5466 | | - | |
| 5465 | + | |
| 5466 | + | |
5467 | 5467 | | |
5468 | 5468 | | |
5469 | 5469 | | |
| |||
5489 | 5489 | | |
5490 | 5490 | | |
5491 | 5491 | | |
5492 | | - | |
| 5492 | + | |
5493 | 5493 | | |
5494 | | - | |
| 5494 | + | |
| 5495 | + | |
5495 | 5496 | | |
5496 | 5497 | | |
5497 | 5498 | | |
5498 | 5499 | | |
5499 | 5500 | | |
5500 | | - | |
| 5501 | + | |
| 5502 | + | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
| 5508 | + | |
| 5509 | + | |
| 5510 | + | |
5501 | 5511 | | |
5502 | 5512 | | |
| 5513 | + | |
5503 | 5514 | | |
5504 | 5515 | | |
5505 | 5516 | | |
| |||
5544 | 5555 | | |
5545 | 5556 | | |
5546 | 5557 | | |
5547 | | - | |
| 5558 | + | |
5548 | 5559 | | |
5549 | | - | |
5550 | | - | |
| 5560 | + | |
| 5561 | + | |
5551 | 5562 | | |
5552 | 5563 | | |
5553 | 5564 | | |
5554 | 5565 | | |
5555 | 5566 | | |
5556 | 5567 | | |
5557 | | - | |
| 5568 | + | |
| 5569 | + | |
| 5570 | + | |
| 5571 | + | |
| 5572 | + | |
| 5573 | + | |
| 5574 | + | |
| 5575 | + | |
| 5576 | + | |
| 5577 | + | |
| 5578 | + | |
| 5579 | + | |
| 5580 | + | |
| 5581 | + | |
| 5582 | + | |
| 5583 | + | |
| 5584 | + | |
| 5585 | + | |
| 5586 | + | |
| 5587 | + | |
| 5588 | + | |
| 5589 | + | |
| 5590 | + | |
| 5591 | + | |
| 5592 | + | |
| 5593 | + | |
| 5594 | + | |
| 5595 | + | |
| 5596 | + | |
5558 | 5597 | | |
5559 | 5598 | | |
5560 | 5599 | | |
| |||
0 commit comments