Commit 15b273b
feat: point the per-PR logs link directly at the activity log
The logs link on non-batch PRs targeted the retired /event-logs URL, riding
the dashboard's redirect + param-translation shim (pullRequestNumber →
pull_request) and landing on the activity log's default 1-hour window —
empty for any PR queued earlier. Target /activity-log directly with
pull_request and preset=Past1month, through a URL builder shared with the
batch link. getEventLogLink() becomes getPullRequestActivityLogLink(),
named after its destination. The "logs" label is unchanged.
MRGFY-7878
Test plan:
- npx jest (279 passing) — non-batch PRs assert the direct activity-log URL
with pull_request and preset; batch link unchanged.
- npx biome check — clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QyefSTmdtUKXCSbYRJvSQu
Change-Id: Idcbe837c50b3be3ab05a8e875116804ae977a8221 parent b2c998c commit 15b273b
2 files changed
Lines changed: 23 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
930 | | - | |
| 930 | + | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
563 | 558 | | |
564 | | - | |
| 559 | + | |
565 | 560 | | |
566 | 561 | | |
567 | 562 | | |
568 | 563 | | |
569 | | - | |
| 564 | + | |
570 | 565 | | |
571 | 566 | | |
572 | 567 | | |
573 | 568 | | |
574 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
575 | 583 | | |
576 | 584 | | |
577 | 585 | | |
| |||
0 commit comments