Skip to content

Commit 7bf48a5

Browse files
authored
[CRCR] Split summary description with separate PR and Nightly HUD links (#8537)
## Summary - The description sentence on the CRCR summary page previously had a single "HUD dashboard" link that always pointed to the PR view - Update it to include separate links for the Pull Requests and Nightly dashboards so users can navigate directly to the relevant view - The sentence is common to both tabs, providing quick access to either dashboard regardless of which tab is active **Before:** "...check the [HUD dashboard](...) or view..." **After:** "...check the HUD dashboard — [Pull Requests](...) and [Nightly](...?event=nightly) — or view..." ## Mockup https://subinz1.github.io/CRCR/mockups/crcr-summary-sentence-mockup.html ## Test plan - [ ] Verify the sentence renders correctly on the CRCR summary page - [ ] Verify the Pull Requests link opens the PR view of crcr-test - [ ] Verify the Nightly link opens the nightly view (?event=nightly) - [ ] Confirm the sentence is visible in both PR and Nightly tabs
1 parent 3e85a5d commit 7bf48a5

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

torchci/pages/crcr/index.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -826,15 +826,19 @@ export default function CrcrSummaryPage() {
826826
>
827827
pytorch/crcr-test
828828
</Link>{" "}
829-
probes. To know more, check the{" "}
830-
<Link
831-
href="https://hud.pytorch.org/crcr/pytorch/crcr-test"
832-
target="_blank"
833-
rel="noreferrer"
829+
probes. To know more, check the HUD dashboard —{" "}
830+
<NextLink href="/crcr/pytorch/crcr-test" passHref legacyBehavior>
831+
<Link underline="hover">Pull Requests</Link>
832+
</NextLink>{" "}
833+
and{" "}
834+
<NextLink
835+
href="/crcr/pytorch/crcr-test?event=nightly"
836+
passHref
837+
legacyBehavior
834838
>
835-
HUD dashboard
836-
</Link>{" "}
837-
or view{" "}
839+
<Link underline="hover">Nightly</Link>
840+
</NextLink>{" "}
841+
or view{" "}
838842
<NextLink href="/crcr/metrics" passHref legacyBehavior>
839843
<Link underline="hover">success-rate trends</Link>
840844
</NextLink>

0 commit comments

Comments
 (0)