Skip to content

Commit 7ec57a5

Browse files
Necmttnclaude
andauthored
fix(profile): dedupe axis legend + fix sign blurb grammar (#477)
The sign section printed axis definitions twice - the under-chart legend AND inline notes in the raw-values table. Keep the legend (it sits next to the cryptic spoke labels and the score bars), revert the raw-values table to clean metric/value rows. Also fix the blurb grammar: "it's 29.6% of your sessions land clean work and 22.9B tokens moved that wrote this chart" -> "...sessions LANDING clean work...", a gerund noun-phrase that matches the other axis facts ("tokens moved", "subagents dispatched"). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 91bd819 commit 7ec57a5

2 files changed

Lines changed: 5 additions & 24 deletions

File tree

apps/site/app/components/profile-dossier.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -559,10 +559,7 @@ function RawTable({
559559
const bLeads = vs !== undefined && b !== undefined && b.value !== null && (a.value === null || b.value > a.value);
560560
return (
561561
<tr key={m.key}>
562-
<th scope="row">
563-
<span className="pf-rawvals-metric">{m.label}</span>
564-
<span className="pf-rawvals-metric-note">{m.note}</span>
565-
</th>
562+
<th scope="row">{m.label}</th>
566563
<td className={aLeads ? "pf-rawvals-val pf-rawvals-val--lead" : "pf-rawvals-val"}>
567564
{a.label}
568565
{aLeads && <span className="pf-rawvals-dot" aria-label="leads" />}

apps/site/app/styles/globals.css

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13121,29 +13121,13 @@ footer.site-footer { padding: 48px 32px 56px; }
1312113121
.pf-rawvals-table thead th span { font-weight: 600; text-transform: none; letter-spacing: 0.03em; }
1312213122
.pf-rawvals-table tbody tr { border-bottom: 1px solid var(--line); }
1312313123
.pf-rawvals-table tbody th {
13124-
font-weight: 400;
13125-
color: var(--muted);
13126-
text-align: left;
13127-
width: 190px;
13128-
vertical-align: top;
13129-
padding-right: 14px;
13130-
}
13131-
.pf-rawvals-metric {
13132-
display: block;
1313313124
font-size: 10.5px;
13125+
font-weight: 400;
1313413126
text-transform: uppercase;
1313513127
letter-spacing: 0.12em;
1313613128
color: var(--muted);
13137-
}
13138-
.pf-rawvals-metric-note {
13139-
display: block;
13140-
margin-top: 2px;
13141-
font-size: 10px;
13142-
line-height: 1.35;
13143-
text-transform: none;
13144-
letter-spacing: 0.01em;
13145-
color: var(--faint, var(--muted));
13146-
opacity: 0.72;
13129+
text-align: left;
13130+
width: 110px;
1314713131
}
1314813132
/* under-chart axis legend: spoke abbreviation -> plain meaning */
1314913133
.pf-axis-legend {
@@ -13196,7 +13180,7 @@ footer.site-footer { padding: 48px 32px 56px; }
1319613180
}
1319713181
@media (max-width: 560px) {
1319813182
.pf-sign-name { font-size: 32px; }
13199-
.pf-rawvals-table tbody th { width: 130px; }
13183+
.pf-rawvals-table tbody th { width: 84px; }
1320013184
.pf-rawvals-val { white-space: normal; }
1320113185
}
1320213186

0 commit comments

Comments
 (0)