Open
Conversation
- allow admin to add other interviewers by sending them an email - basic form page to be used by the backend
- Add CandidateAvailability component with search and status filter tabs - Add CandidateCalendar detail view accessible by clicking a candidate card - Add candidateTypes.ts to share Candidate interface and statusConfig - Add AddInterviewers component with tabbed form for interviewers and candidates - Update AdminSettings with larger fonts and spacing to match design system - Update DashboardSidebar with new nav items for candidate availability and add interviewers - Update Dashboard to conditionally render new pages based on activePage and role
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.
Summary
This PR implements several frontend features for the admin dashboard, including candidate availability viewing, interviewer/candidate invitations, and UI consistency improvements across all dashboard pages.
Changes
New Components
CandidateAvailability.tsx- Displays a searchable, filterable list of candidate cards with status badges and open slot counts. Clicking a card navigates to the detail view.CandidateCalendar.tsx- Detail view showing a candidate's weekly availability grid with a back button to return to the candidate list.AddInterviewers.tsx- Tabbed form component allowing admins to invite interviewers and candidates by entering their name, email, and department. Includes form validation and success/error feedback.candidateTypes.ts- Shared types file exporting theCandidateinterface,TimeSlot,DayAvailability, andstatusConfigto avoid fast refresh warnings.Modified Components
Dashboard.tsx- added conditional renders forAddInterviewersandCandidateAvailabilitypagesDashboardSidebar.tsx- AddedUserPlusand updated nav items forAdd InterviewersandCandidate Availability,AdminSettings.tsx- Bumped all text fromtext-smtotext-base, increased padding fromp-6top-8, updated card borders to match the design system used across other pages, capped width atmax-w-5xl.Notes
CandidateAvailability.tsx. Backend integration requires replacing the mock array with an authenticated fetch call to/candidatesand ensuring the response shape matches theCandidateinterface inindex.tswithin the admin types folder.Add InterviewersandCandidate Availabilitypages are protected behind!isCandidaterole checks on both the sidebar and the dashboard render.Photos
Testing