Task: Add noscript fallbacks to officer dashboard pages #488

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

Problem

All dashboard pages are `'use client'` components with `useEffect` data fetching. Without JS nothing renders — tabs, the drag-and-drop schedule editor, QR code display, charts, and attendance tools all require JS. Server-side auth redirects still work, but once on the page there is no content.

Affected Files

  • `next/app/(main)/dashboard/mentoring/page.tsx`
  • `next/app/(main)/attendance/page.tsx`

Fix

Add a simple ` \`\`\`

## Problem All dashboard pages are \`'use client'\` components with \`useEffect\` data fetching. Without JS nothing renders — tabs, the drag-and-drop schedule editor, QR code display, charts, and attendance tools all require JS. Server-side auth redirects still work, but once on the page there is no content. ## Affected Files - \`next/app/(main)/dashboard/mentoring/page.tsx\` - \`next/app/(main)/attendance/page.tsx\` ## Fix Add a simple \`<noscript>\` notice to each dashboard page. Since these are officer-only tools, impact is limited to internal users: \`\`\`html <noscript> <p>The SSE dashboard requires JavaScript to function. Please enable it in your browser settings.</p> </noscript> \`\`\`
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#488
No description provided.