Task: Add noscript fallbacks to Recharts chart components #486

Open
opened 2026-04-16 07:11:46 +00:00 by jjalangtry · 0 comments
jjalangtry commented 2026-04-16 07:11:46 +00:00 (Migrated from github.com)

Problem

Recharts renders entirely as JS-generated SVGs. Without JS, all chart areas are completely blank — no data, no labels, no indication anything should be there.

Affected Files

  • `next/app/(main)/dashboard/mentoring/components/HeadcountDashboard.tsx`
  • `next/components/amendments/VotePieChart.tsx`

Fix

Add inside each chart wrapper:

```html
\`\`\`

Note: these are primarily officer-only tools so user impact is limited.

## Problem Recharts renders entirely as JS-generated SVGs. Without JS, all chart areas are completely blank — no data, no labels, no indication anything should be there. ## Affected Files - \`next/app/(main)/dashboard/mentoring/components/HeadcountDashboard.tsx\` - \`next/components/amendments/VotePieChart.tsx\` ## Fix Add inside each chart wrapper: \`\`\`html <noscript> <p>This chart requires JavaScript. Raw data is available via the export button or the API.</p> </noscript> \`\`\` Note: these are primarily officer-only tools so user impact is limited.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SSE/WebsiteTheSSEquel#486
No description provided.