Repository navigation
feat(frontend): redesign the dashboard to match the login screen - #100
Merged
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
/multiredirects to/multi/events).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.Pages
?event=preselection.PageHeader,EmptyState,BrandSplash-style components.Checked
eslint,tsc --noEmit,npm test(5 tests) andnpm run buildpass.Not checked
use-analytics.tshas no unit test yet.