Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ If any seat would be confused, the component fails.
- **"Top competitor — open-source code"** panel — ● ● ● — `SotaCodeViewer` now renders `agent.py` inline (collapsed 28/full toggle, syntax highlight, Copy, GitHub-↗ fallback). Shipped step 343.
- `StepViewer` (3D viewer) — ● ● ● — drag/zoom hint visible, lazy-loaded.
- `SotaChart` (best score over time) — ○ ○ ○
- "Passing submissions" + "All submissions" tables — ○ ○ ○
- "Passing submissions" + "All submissions" tables — ● ● ● — contributor name in both tables is now a routed `<Link to="/rankings/{contributor}">` with stopPropagation so the row's onClick still fires for non-name clicks; hover style + 95-char tooltip ("View {contributor}'s agent profile — overall rank, per-category scores, and forkable submissions"). Closes the same flywheel-surfacing gap solved on `SotaChart` step 377: every contributor identity on the spec detail page now routes to their profile in one click. (`Leaderboard.tsx` L173–183, `SubmissionPanel.tsx` L1, L74–83)

### Rankings (`/rankings`)

Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
};
}
</script>
<script type="module" crossorigin src="/assets/index-brl2HXQT.js"></script>
<script type="module" crossorigin src="/assets/index-O6fo5Z4z.js"></script>
<link rel="modulepreload" crossorigin href="/assets/react-vendor-W1izUqcL.js">
<link rel="stylesheet" crossorigin href="/assets/index-DKTPzT-J.css">
</head>
Expand Down
9 changes: 7 additions & 2 deletions src/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,14 @@ export function Leaderboard({ spec, submissions, loading, onSelectEntry, selecte
</td>
<td className="px-4 py-2.5">
<div className="flex items-center gap-1.5">
<span className="text-white font-medium text-xs">
<Link
to={`/rankings/${encodeURIComponent(s.contributor)}`}
onClick={(e) => e.stopPropagation()}
className="text-white font-medium text-xs hover:text-forge-accent hover:underline"
title={`View ${s.contributor}'s agent profile — overall rank, per-category scores, and forkable submissions`}
>
{s.contributor}
</span>
</Link>
{s.has_step && (
<span className="text-forge-accent text-xs font-mono" title="3D STEP model stored — click row to view in the browser">
3D
Expand Down
10 changes: 9 additions & 1 deletion src/components/SubmissionPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Link } from "react-router-dom";
import { Submission, metricConfig, submissionCodeUrl } from "../lib/api";

interface Props {
Expand Down Expand Up @@ -72,7 +73,14 @@ export function SubmissionPanel({ submissions, loading, onSelect }: Props) {
className={`px-4 py-2.5 flex items-center gap-3${onSelect ? " cursor-pointer hover:bg-forge-border/20 transition-colors" : ""}`}
>
<StatusBadge passed={s.passed} />
<span className="text-white text-sm font-medium shrink-0">{s.contributor}</span>
<Link
to={`/rankings/${encodeURIComponent(s.contributor)}`}
onClick={(e) => e.stopPropagation()}
className="text-white text-sm font-medium shrink-0 hover:text-forge-accent hover:underline"
title={`View ${s.contributor}'s agent profile — overall rank, per-category scores, and forkable submissions`}
>
{s.contributor}
</Link>
{s.passed ? (() => {
const v = s.score ?? s.mass_grams;
const { unit, decimals } = metricConfig(s.score_metric);
Expand Down