Skip to content

feat(frontend): redesign the dashboard to match the login screen - #100

Merged
wailbentafat merged 3 commits into
developfrom
feat/dashboard-redesign
Nov 27, 2026
Merged

wailbentafat merged 3 commits into
developfrom
feat/dashboard-redesign

Conversation

@wailbentafat

@wailbentafat wailbentafat commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What

The dashboard now follows the login screen: a navy banner with the faded logo mark on every page, a light sidebar, the dot-grid background, white rounded cards and the periwinkle accents.

Structure

  • Events is the first page (/multi redirects to /multi/events).
  • Analytics is its own page and uses real data only. The old home page showed hard-coded numbers (mockMultiStats, mockAlerts, mockEventSummary, mockProcessingJobs); that mock data and its components are removed. The new page derives its numbers from the events and upload groups the API returns.
  • Team page removed, with its menu link and its search entry.
  • Drive settings page removed. Its API key, sync interval and output folder were an in-memory mock that never reached the backend (which has no such settings); Google Drive connects through OAuth.
  • Drop a Drive (from feat: drop a Drive folder to import and match faces (no review step) #99) now has a menu link, shown to admins only.

Pages

  • Events: status tabs with counts, search, an Upload photos action that opens the upload page with that event chosen. The "Create New Event" card is now a button in the banner.
  • Upload: events are cards instead of a dropdown, with ?event= preselection.
  • Requests: Pending / Approved / Rejected / All tabs; status colours readable on light.
  • Mascot illustrations for empty states; new PageHeader, EmptyState, BrandSplash-style components.

Checked

  • eslint, tsc --noEmit, npm test (5 tests) and npm run build pass.
  • Every page looked at in a browser in light mode, the home pages also in dark mode and at phone width, using sample events and imports because sign-in goes through Discord.

Not checked

  • Pages with real data (real events, large imports).
  • Notifications after the last restyle.
  • New tests: none added; the analytics maths in use-analytics.ts has no unit test yet.

- Events is the first page; /multi redirects to it.
- New Analytics page built from real events and upload groups. The old home
  page showed hard-coded sample numbers; that mock data is removed.
- Navy banner on every page (faded logo mark), light sidebar, dot-grid
  background, white cards, periwinkle accents from the login palette.
- Events: filter tabs, search, Upload photos action that opens the upload
  page with the event chosen.
- Upload: event cards instead of a dropdown, ?event= preselection.
- Requests: status tabs. Drop a Drive added to the menu (admins only).
- Mascot empty states. Team page removed.
Its three settings (API key, sync interval, output folder) were kept in an
in-memory mock and never reached the backend, which has no such settings.
Google Drive is connected through the OAuth flow instead.
…pages

Also restyle the form card and drop the reference to the removed Drive settings page.
@wailbentafat
wailbentafat merged commit 4cef847 into develop Nov 27, 2026
1 check passed
@wailbentafat
wailbentafat deleted the feat/dashboard-redesign branch November 27, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant