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(timeline): rename the interviewer link controls to Add and badge the Interviewer tab with its count

Khuram Niazcc2c5f76b243
diff --git a/__tests__/UpdateStatusMenu.spec.tsx b/__tests__/UpdateStatusMenu.spec.tsx
index 942e798..3ad3536 100644
--- a/__tests__/UpdateStatusMenu.spec.tsx
+++ b/__tests__/UpdateStatusMenu.spec.tsx
@@ -49,7 +49,7 @@ describe("UpdateStatusMenu", () => {
await open();
expect(screen.getByRole("menuitem", { name: /Add Stage/ })).not.toHaveAttribute("aria-disabled", "true");
- expect(screen.getByRole("menuitem", { name: /Link Interviewers/ })).not.toHaveAttribute("aria-disabled", "true");
+ expect(screen.getByRole("menuitem", { name: /Add Interviewers/ })).not.toHaveAttribute("aria-disabled", "true");
expect(screen.getByRole("menuitem", { name: /Add to Prep List/ })).not.toHaveAttribute("aria-disabled", "true");
});
@@ -59,7 +59,7 @@ describe("UpdateStatusMenu", () => {
render(<UpdateStatusMenu {...base} targetStage={stage("applied", "Applied")} />);
await open();
- expect(screen.getByRole("menuitem", { name: /Link Interviewers/ })).toHaveAttribute("aria-disabled", "true");
+ expect(screen.getByRole("menuitem", { name: /Add Interviewers/ })).toHaveAttribute("aria-disabled", "true");
expect(screen.getByRole("menuitem", { name: /Add to Prep List/ })).toHaveAttribute("aria-disabled", "true");
expect(screen.getAllByText(/Applied is not an interview stage/).length).toBeGreaterThan(0);
});
@@ -69,7 +69,7 @@ describe("UpdateStatusMenu", () => {
await open();
expect(screen.getByRole("menuitem", { name: /Add Stage/ })).not.toHaveAttribute("aria-disabled", "true");
- expect(screen.getByRole("menuitem", { name: /Link Interviewers/ })).toHaveAttribute("aria-disabled", "true");
+ expect(screen.getByRole("menuitem", { name: /Add Interviewers/ })).toHaveAttribute("aria-disabled", "true");
});
it("fires the handler for the item clicked", async () => {
diff --git a/e2e/timeline.spec.ts b/e2e/timeline.spec.ts
index c7e725b..41e6296 100644
--- a/e2e/timeline.spec.ts
+++ b/e2e/timeline.spec.ts
@@ -61,7 +61,7 @@ test("linking an interviewer to a stage puts them on the job's Contacts tab", as
.click();
await page.getByTestId("update-status-menu-btn").click();
- await page.getByRole("menuitem", { name: "Link Interviewers" }).click();
+ await page.getByRole("menuitem", { name: "Add Interviewers" }).click();
await page.getByPlaceholder("Full name").fill(contactName);
cleanup.contact(contactName);
diff --git a/src/components/myjobs/job-details/timeline/LinkInterviewersDialog.tsx b/src/components/myjobs/job-details/timeline/LinkInterviewersDialog.tsx
index 81c6ecd..504fc73 100644
--- a/src/components/myjobs/job-details/timeline/LinkInterviewersDialog.tsx
+++ b/src/components/myjobs/job-details/timeline/LinkInterviewersDialog.tsx
@@ -132,7 +132,7 @@ export function LinkInterviewersDialog({
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="sm:max-w-[520px] max-h-[720px] overflow-hidden">
<DialogHeader>
- <DialogTitle>Link Interviewer</DialogTitle>
+ <DialogTitle>Add and Link Interviewers</DialogTitle>
<DialogDescription>{stageHeading(stage)}</DialogDescription>
</DialogHeader>
diff --git a/src/components/myjobs/job-details/timeline/StageDetailPanel.tsx b/src/components/myjobs/job-details/timeline/StageDetailPanel.tsx
index 79920cc..d308e99 100644
--- a/src/components/myjobs/job-details/timeline/StageDetailPanel.tsx
+++ b/src/components/myjobs/job-details/timeline/StageDetailPanel.tsx
@@ -162,6 +162,11 @@ export function StageDetailPanel({
</TabsTrigger>
<TabsTrigger value="interviewer" className={TAB_TRIGGER}>
Interviewer
+ {stage.interviewers.length > 0 && (
+ <span className="ml-2 rounded-full bg-emerald-500/15 px-2 py-0.5 text-[11px] font-bold text-emerald-700 dark:text-emerald-300">
+ {stage.interviewers.length}
+ </span>
+ )}
</TabsTrigger>
<TabsTrigger value="prep" className={TAB_TRIGGER}>
Prep List
diff --git a/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx b/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
index b02e602..8caf641 100644
--- a/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
+++ b/src/components/myjobs/job-details/timeline/StageInterviewersTab.tsx
@@ -43,7 +43,7 @@ export function StageInterviewersTab({
onClick={onLinkInterviewers}
>
<UserPlus className="h-3 w-3" />
- Link
+ Add Interviewers
</Button>
</div>
diff --git a/src/components/myjobs/job-details/timeline/UpdateStatusMenu.tsx b/src/components/myjobs/job-details/timeline/UpdateStatusMenu.tsx
index 9225ab3..eabc9d8 100644
--- a/src/components/myjobs/job-details/timeline/UpdateStatusMenu.tsx
+++ b/src/components/myjobs/job-details/timeline/UpdateStatusMenu.tsx
@@ -54,7 +54,7 @@ export function UpdateStatusMenu({
reason: string | null;
}[] = [
{ key: "add", label: "Add Stage", icon: Plus, onSelect: onAddStage, reason: null },
- { key: "link", label: "Link Interviewers", icon: Users, onSelect: onLinkInterviewers, reason },
+ { key: "link", label: "Add Interviewers", icon: Users, onSelect: onLinkInterviewers, reason },
{ key: "prep", label: "Add to Prep List", icon: HelpCircle, onSelect: onAddPrepQuestions, reason },
];
diff --git a/wiki/timeline.md b/wiki/timeline.md
index 97a93d1..608ff8d 100644
--- a/wiki/timeline.md
+++ b/wiki/timeline.md
@@ -57,7 +57,7 @@ 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 **Link** on its **Interviewer** tab, or **Update Status → Link 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.
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.
@@ -81,7 +81,7 @@ The distinction is what makes the list useful afterwards: which of the questions
One knock-on effect: a question that is on any prep list cannot be deleted from the question bank. The Questions page refuses with a count of the interview stages using it. Remove it from those prep lists first, then delete.
-## Why are Link Interviewers and Add to Prep List greyed out?
+## Why are Add Interviewers and Add to Prep List greyed out?
Because the stage they would act on is not an interview stage. Both items are gated on the *kind* of stage, never on its timing — an interview three weeks away is still an interview stage, and you can link its panel and prep for it from the day it is scheduled.