Approve button color should be transparent like the reject button color. And after…
- User
Approve button color should be transparent like the reject button color. And after clicking schedule button there should be a calendar and time slot selecting section to schedule an interview with a feedback.
Assistant
I'll make the Approve button outline/transparent like Reject, and add a full scheduling modal with calendar, time slots, and feedback.
Build succeeded! Here's what changed:
Changes Made
1. Approve Button Styling
Changed from solid gray to transparent outline style matching the Reject button:
- Light mode:
bg-slate-50 text-slate-700 hover:bg-slate-100 ring-1 ring-inset ring-slate-200 - Dark mode:
bg-slate-500/15 text-slate-300 hover:bg-slate-500/25 ring-1 ring-inset ring-slate-500/30
Now all three action buttons (Approve, Reject, Schedule) have consistent visual weight and style.
2. Schedule Interview Modal
Created a full-featured scheduling interface that opens when clicking "Schedule an Interview":
Calendar Component:
- Month view with navigation arrows
- Selectable dates (past dates disabled)
- Visual indicators for today and selected date
- Indigo highlight for selected date
Time Slots:
- 4-column grid with 7 time slots (9 AM - 4 PM)
- Interactive selection with indigo highlight
- Disabled confirm button until both date and time selected
Feedback Section:
- Textarea for interview notes
- 4 rows, resizable
- Placeholder text for guidance
Modal Flow:
- User clicks "Schedule an Interview" → modal opens
- User selects date → calendar highlights selection
- User selects time → time slot highlights
- User optionally adds feedback notes
- "Confirm Schedule" button enables when date + time selected
- On confirm → action state updates to "scheduled" → modal closes → success banner shows
The modal is fully responsive and maintains the design system's dark/light mode support throughout.
Files built:
src/components/CandidateProfileModal.tsx,src/components/ScheduleInterviewModal.tsx- Light mode: