Skip to content

Feature/panelist dashboard - #39

Merged
BangKartavya merged 16 commits into
masterfrom
feature/panelistDashboard
Aug 13, 2026
Merged

BangKartavya merged 16 commits into
masterfrom
feature/panelistDashboard

Conversation

@Mysterious-Wizard

Copy link
Copy Markdown
Collaborator
  1. Unified authentication for all roles
  2. Added Panelist dashboard for recruitment interviews
  3. Panelist dashboard features : Live panel occupancy status, search applicant forms, accept/reject applicants, leave remarks, check which panel reviewed a certain applicant, allow walk-ins.
  4. Ensured code follows strict camelCase naming convention.

Copilot AI lite review requested due to automatic review settings August 11, 2026 18:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds recruitment interview support by introducing a new panelist area (dashboard + sidebar/list UI) and new applicant/panelist Supabase actions/types, along with a new authenticated application submission flow.

Changes:

  • Introduces /panelist routing and a new Panelist Dashboard UI (applicant list/detail + panel occupancy sidebar).
  • Adds Supabase actions and shared types for applicants and panelists (including realtime subscriptions).
  • Adds a new /apply page and an ApplicationForm, and updates the main header navigation.

Reviewed changes

Copilot reviewed 17 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/types/index.d.ts Adds new shared types for applicants/panelists/auth.
src/styles/stories/MarkdownEditor.stories.tsx Fixes the Storybook import path for MarkdownEditor.
src/pages/panelist/index.tsx Adds panelist index route with role-based redirect.
src/pages/panelist/dashboard.tsx Adds the panelist dashboard page with role protection.
src/pages/apply.tsx Adds an authenticated “Apply” page wrapper that checks session before rendering the form.
src/lib/useAuthRole.ts Small adjustment in auth role hook (no functional change intended).
src/lib/supabase/actions/panelists.actions.ts Adds panelist list/update + realtime subscription helpers.
src/lib/supabase/actions/applicants.actions.ts Adds applicant CRUD helpers + realtime subscription helpers.
src/components/panelist/WalkInModal.tsx Adds modal UI to create walk-in applicants.
src/components/panelist/PanelStatusIcon.tsx Adds status icon component for panel occupancy.
src/components/panelist/PanelSidebar.tsx Adds “Your Status” + “Other Panels” sidebar with realtime updates.
src/components/panelist/MiniPanelIcon.tsx Adds compact per-panel icon for the sidebar grid.
src/components/panelist/ApplicantList.tsx Adds applicant search/list UI + selection flow + realtime updates + walk-in entry point.
src/components/panelist/ApplicantFormView.tsx Adds applicant detail view and decision submission wiring.
src/components/panelist/ApplicantDecision.tsx Adds accept/reject + remarks UI.
src/components/panelist/ApplicantCard.tsx Adds a list card UI for applicants.
src/components/layout/Header.tsx Adds Apply link and conditional Interview link.
src/components/ApplicationForm.tsx Adds the member application form and submission handling.
.yarnrc.yml Sets Yarn nodeLinker to node-modules.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/components/panelist/PanelSidebar.tsx
Comment thread src/components/layout/Header.tsx Outdated
Comment thread src/components/panelist/ApplicantList.tsx
Comment thread src/lib/supabase/actions/applicants.actions.ts
Co-authored-by: Mysterious-Wizard <196451367+Mysterious-Wizard@users.noreply.github.com>
Co-authored-by: Mysterious-Wizard <196451367+Mysterious-Wizard@users.noreply.github.com>

@BangKartavya BangKartavya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

congrats @Mysterious-Wizard and @anshagnihotry258 for your first PR submit

@BangKartavya
BangKartavya merged commit 01bed27 into master Aug 13, 2026
2 checks passed
@Mysterious-Wizard
Mysterious-Wizard deleted the feature/panelistDashboard branch August 21, 2026 10:07
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.

6 participants