Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-sonnet-5-webdev· AnthropicHugging Face Arena WebDev Preferences (2026)

change avg pipeline time card as Pending Interview card and design it properly based on…

  1. User

    change avg pipeline time card as Pending Interview card and design it properly based on candidates data

  2. Claude Assistant

    Let me look at the KpiCard component and icon style to match design consistency:

    Now let's find the KpiCard component definition to model the new card after it:

    Now I'll update the KPI calculations to replace avgTTP with pendingInterview metrics based on actual candidate stage data:

    Now let's update the return statement to use the new pending interview data:

    Now let's replace the KPI card usage with the new dedicated PendingInterviewCard component:

    Now let's create the PendingInterviewCard component right after KpiCard:

    I removed the sparkline in favor of the urgency indicator — let me clean up the unused spark param and its call site:

    Build succeeded. Here's a summary of the change:

    Changes Made

    Replaced the "Avg Pipeline Time" KPI card with a dedicated "Pending Interview" card, built around real candidate stage data:

    Data logic (in the kpis calculation):

    • pendingInterview — count of candidates still at the "Shortlisted" stage (i.e., shortlisted but not yet moved into Phone Screen/Technical/Onsite) within the selected date range and filters
    • pendingInterviewTrend — % change vs. the prior period (fewer pending = positive/green trend)
    • pendingUrgent — count of those pending candidates who've been waiting more than 7 days, flagging them as overdue/urgent
    • pendingAvgWait — average number of days pending candidates have been waiting

    New PendingInterviewCard component design:

    • Header row: label "Pending Interview" + big number with "candidates" suffix, plus a calendar/clock icon badge
    • Trend badge (▼/▲ %) vs. prior period — colored green when pending count is decreasing
    • An urgency indicator row: shows "X waiting 7d+" in red if any candidates are overdue, or "All within SLA" in green if none are
    • Average wait time displayed alongside
    • A slim progress bar visualizing the proportion of urgent (overdue) candidates vs. total pending, colored red when there's a backlog and green when clear

    This gives hiring managers an actionable, data-driven view instead of a generic time metric — surfacing exactly how many candidates need scheduling attention and how overdue they are.

    Files built: src/App.tsx

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.