Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

feat(contacts): show last contacted on the job Contacts tab and the interviewer's company on the stage panel

Khuram Niaz4ca948aa4492
diff --git a/__tests__/JobContactsTab.spec.tsx b/__tests__/JobContactsTab.spec.tsx
index cf45c81..a4d0785 100644
--- a/__tests__/JobContactsTab.spec.tsx
+++ b/__tests__/JobContactsTab.spec.tsx
@@ -50,6 +50,7 @@ const link = {
phone: null,
linkedinUrl: null,
+ lastContactedAt: null,
Company: { id: "co1", label: "Vercel" },
},
};
@@ -74,6 +75,20 @@ describe("JobContactsTab", () => {
expect(screen.getByText("Recruiter")).toBeInTheDocument();
});
+ it("shows the last contacted date when the contact has one", () => {
+ const contacted = {
+ ...link,
+ Contact: { ...link.Contact, lastContactedAt: new Date(2026, 7, 1) },
+ };
+ render(<JobContactsTab jobId="j1" links={[contacted] as any} />);
+ expect(screen.getByText(/last contacted aug 1, 2026/i)).toBeInTheDocument();
+ });
+
+ it("omits the last contacted date when the contact has none", () => {
+ render(<JobContactsTab jobId="j1" links={[link] as any} />);
+ expect(screen.queryByText(/last contacted/i)).not.toBeInTheDocument();
+ });
+
it("shows an empty state with no links", () => {
render(<JobContactsTab jobId="j1" links={[]} />);
expect(screen.getByText(/no contacts on this job/i)).toBeInTheDocument();
diff --git a/__tests__/StageDetailPanel.spec.tsx b/__tests__/StageDetailPanel.spec.tsx
index 1b40160..915801e 100644
--- a/__tests__/StageDetailPanel.spec.tsx
+++ b/__tests__/StageDetailPanel.spec.tsx
@@ -46,7 +46,7 @@ const interviewStage = {
id: "iv1",
stageId: "st1",
contactId: "c1",
- Contact: { id: "c1", name: "Priya Nair", title: "VP Engineering", email: null, phone: null, linkedinUrl: null, Company: null },
+ Contact: { id: "c1", name: "Priya Nair", title: "VP Engineering", email: null, phone: null, linkedinUrl: null, lastContactedAt: null, Company: { id: "co1", label: "Anthropic" } },
},
],
prepQuestions: [
@@ -105,7 +105,9 @@ describe("StageDetailPanel", () => {
await userEvent.click(screen.getByRole("tab", { name: /^Interviewer/ }));
expect(screen.getByText("Priya Nair")).toBeInTheDocument();
- expect(screen.getByText("VP Engineering")).toBeInTheDocument();
+ expect(
+ screen.getByText("VP Engineering \u00b7 Anthropic"),
+ ).toBeInTheDocument();
});
// The tally rides on the trigger, so the prep progress is readable from the
diff --git a/__tests__/job.actions.spec.ts b/__tests__/job.actions.spec.ts
index 0f8576f..4617fa0 100644
--- a/__tests__/job.actions.spec.ts
+++ b/__tests__/job.actions.spec.ts
@@ -844,6 +844,7 @@ describe("jobActions", () => {
email: true,
phone: true,
linkedinUrl: true,
+ lastContactedAt: true,
Company: { select: { id: true, label: true } },
},
},
@@ -863,6 +864,7 @@ describe("jobActions", () => {
email: true,
phone: true,
linkedinUrl: true,
+ lastContactedAt: true,
Company: { select: { id: true, label: true } },
},
},
diff --git a/src/actions/contact/jobLinks.ts b/src/actions/contact/jobLinks.ts
index dd34c7e..03eee1e 100644
--- a/src/actions/contact/jobLinks.ts
+++ b/src/actions/contact/jobLinks.ts
@@ -13,6 +13,7 @@ const JOB_CONTACT_INCLUDE = {
email: true,
phone: true,
linkedinUrl: true,
+ lastContactedAt: true,
Company: { select: { id: true, label: true } },
},
},
diff --git a/src/actions/job/queries.ts b/src/actions/job/queries.ts
index f45892c..5f89fce 100644
--- a/src/actions/job/queries.ts
+++ b/src/actions/job/queries.ts
@@ -66,6 +66,7 @@ const JOB_DETAILS_INCLUDE = {
email: true,
phone: true,
linkedinUrl: true,
+ lastContactedAt: true,
Company: { select: { id: true, label: true } },
},
},
diff --git a/src/actions/jobStage/shared.ts b/src/actions/jobStage/shared.ts
index 386e97d..11909b5 100644
--- a/src/actions/jobStage/shared.ts
+++ b/src/actions/jobStage/shared.ts
@@ -18,6 +18,7 @@ export const STAGE_DETAIL_INCLUDE = {
email: true,
phone: true,
linkedinUrl: true,
+ lastContactedAt: true,
Company: { select: { id: true, label: true } },
},
},
diff --git a/src/components/myjobs/job-details/JobContactsTab.tsx b/src/components/myjobs/job-details/JobContactsTab.tsx
index a69a5c6..5636e1d 100644
--- a/src/components/myjobs/job-details/JobContactsTab.tsx
+++ b/src/components/myjobs/job-details/JobContactsTab.tsx
@@ -1,5 +1,6 @@
"use client";
import { useRef, useState } from "react";
+import { format } from "date-fns";
import { PlusCircle, Trash, Users } from "lucide-react";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
@@ -156,6 +157,11 @@ export function JobContactsTab({
LinkedIn
</a>
)}
+ {row.Contact?.lastContactedAt && (
+ <span className="text-muted-foreground">
+ Last contacted {format(row.Contact.lastContactedAt, "PP")}
+ </span>
+ )}
<Button
variant="ghost"
size="icon"
diff --git a/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx b/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
index 8caf641..a9889ed 100644
--- a/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
+++ b/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
@@ -62,9 +62,11 @@ export function StageInterviewersTab({
<span className="block truncate text-sm font-bold">
{link.Contact.name}
</span>
- {link.Contact.title && (
+ {(link.Contact.title || link.Contact.Company) && (
<span className="block truncate text-xs text-muted-foreground">
- {link.Contact.title}
+ {[link.Contact.title, link.Contact.Company?.label]
+ .filter(Boolean)
+ .join(" · ")}
</span>
)}
</span>
diff --git a/src/models/contact.model.ts b/src/models/contact.model.ts
index 6aff542..4e21fbc 100644
--- a/src/models/contact.model.ts
+++ b/src/models/contact.model.ts
@@ -24,6 +24,7 @@ export interface ContactSummary {
phone: string | null;
linkedinUrl: string | null;
Company: EntityRef | null;
+ lastContactedAt: Date | null;
}
export interface JobContactLink {
diff --git a/wiki/contacts.md b/wiki/contacts.md
index 56a0a69..fb1b756 100644
--- a/wiki/contacts.md
+++ b/wiki/contacts.md
@@ -31,6 +31,8 @@ Open the job, go to its **Contacts** tab and click **Add Contact**. Pick the per
If the person is not in your contacts yet, the same tab's **New Contact** opens the full contact dialog with whatever you typed already in the Name field, so you can create the person and link them in one pass.
+Each linked contact shows their title, company, role, contact details and, when the person has one set, the date you last contacted them.
+
The trash icon beside a linked contact unlinks them from that job only. The contact itself, and every other job they are linked to, is left alone.
## What is a role, and how do I add my own?
diff --git a/wiki/timeline.md b/wiki/timeline.md
index e459e54..7490cde 100644
--- a/wiki/timeline.md
+++ b/wiki/timeline.md
@@ -57,11 +57,11 @@ An undated stage reads `—` in the Stage History list, and **No date set** in i
## How do I record who is interviewing me?
-Select the interview stage, then use **Add** on its **Interviewer** tab, or **Update Status → Add Interviewers**. The dialog searches your existing [contacts](./contacts.md); the **Add a new contact** box at the bottom takes a name, role and email and creates the person on the spot.
+Select the interview stage, then use **Add** on its **Interviewer** tab, or **Update Status → Add Interviewers**. The dialog searches your existing [contacts](./contacts.md); the **Add a new contact** box at the bottom takes a name, role and email and creates the person on the spot. Each shows their title and company under their name.
-Linking someone also adds them to the job's **Contacts** tab with the **Interviewer** role, so that tab stays the single roster of everyone involved in the application. The reverse is not true: the **✕** beside an interviewer unlinks them from *that stage only* and leaves the job contact link alone, because the person may hold other roles on the job.
+Linking someone also adds them to the job's **Contacts** tab with the **Interviewer** role, so that tab stays the roster of everyone involved in the application. The reverse is not true: the **✕** beside an interviewer unlinks them from *that stage only* and leaves the job contact link alone, because the person may hold other roles on the job.
-The same person can be linked to several stages of the same job, and a contact you link here is an ordinary contact afterwards — editable and searchable under **Library → Contacts** like any other.
+The same person can be linked to several stages, and a contact you link here stays an ordinary contact — editable under **Library → Contacts**.
## How do I build a prep list for an interview?