Skip to content
Merged
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
7 changes: 7 additions & 0 deletions client/src/pages/Graph.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@
pointer-events: none;
}

.graph-node-weight {
fill: var(--gold);
font-size: 10px;
font-weight: 600;
pointer-events: none;
}

/* ─── Legend ─── */

.graph-legend {
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default function Graph() {
{n.emoji}
</text>
<text className="graph-node-title" textAnchor="middle" dy={r + 14}>
{n.title}
{n.title} <tspan className="graph-node-weight">({n.weight.toFixed(2)})</tspan>
</text>
{(inW > 0 || outW > 0) && (
<text className="graph-node-stats" textAnchor="middle" dy={r + 28}>
Expand Down
18 changes: 16 additions & 2 deletions client/src/pages/Results.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,19 @@
/* ─── Entry Main ─── */

.results-entry-main {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
gap: 16px;
}

.results-entry-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
gap: 4px;
}

.results-entry-header {
Expand Down Expand Up @@ -235,8 +243,8 @@
.results-entry-chips {
display: flex;
gap: 6px;
flex-wrap: wrap;
align-items: center;
flex-shrink: 0;
}

.results-play-link {
Expand Down Expand Up @@ -385,6 +393,12 @@
font-size: 15px;
}

.results-entry-main {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.results-page::after {
display: none;
}
Expand Down
10 changes: 6 additions & 4 deletions client/src/pages/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,13 @@ export default function Results() {
>
<div className="results-rank">#{i + 1}</div>
<div className="results-entry-main">
<div className="results-entry-header">
<span className="results-entry-emoji">{r.entry.emoji}</span>
<h2 className="results-entry-title">{r.entry.title}</h2>
<div className="results-entry-info">
<div className="results-entry-header">
<span className="results-entry-emoji">{r.entry.emoji}</span>
<h2 className="results-entry-title">{r.entry.title}</h2>
</div>
<div className="results-entry-team">{r.entry.team.join(', ')}</div>
</div>
<div className="results-entry-team">{r.entry.team.join(', ')}</div>
<div className="results-entry-chips">
<MetricChip label="Type" value={r.entry.metrics.classification} />
{r.entry.demo_url && (
Expand Down
Loading