A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
docs: refresh career form and empty-state captures
Amruth Pillaia2298d6d6829
diff --git a/apps/web/src/features/career/knowledge/preferences.tsx b/apps/web/src/features/career/knowledge/preferences.tsxindex 58b3807a1..abe05c5ab 100644--- a/apps/web/src/features/career/knowledge/preferences.tsx+++ b/apps/web/src/features/career/knowledge/preferences.tsx@@ -369,7 +369,7 @@ function SalaryField({ id, locale, value, onChange }: SalaryFieldProps) {const periods = { hour: t`/ hour`, month: t`/ month`, year: t`/ year` };return (- <div className="grid gap-1.5">+ <div className="grid gap-1.5 sm:col-span-2"><label htmlFor={id} className="text-xs font-medium text-ink-2"><Trans>Minimum base salary</Trans></label>diff --git a/docs/guides/comparing-job-offers.mdx b/docs/guides/comparing-job-offers.mdxindex 26ee3e1db..6f2c6642e 100644--- a/docs/guides/comparing-job-offers.mdx+++ b/docs/guides/comparing-job-offers.mdx@@ -36,7 +36,7 @@ Offers loads saved terms, preferences and application metadata separately. Saved<Frame caption="An Offer-stage application keeps its company selected when you add terms"><imgsrc="/images/guides/career/offer-stage.png"- alt="Offers shows a fictional application without terms and its Add offer form with that application already selected."+ alt="Add offer form with Fictional Cedar already selected and an empty searchable currency choice."/></Frame>@@ -90,11 +90,19 @@ Empty comparisons include a **Messages** chooser. Select the application to open/></Frame>+<Frame caption="Phone rows repeat the company and role for each offer.">+ <img+ src="/images/guides/career/offers-role-labels-phone.png"+ alt="Two Fictional Cedar offers at phone width, labeled Product engineer and Engineering lead, each with a base salary of 95000 euros a year"+ />+</Frame>+## Read differences carefullyCompare base salary, bonus, equity, where you work, leave, learning budget, other benefits and response deadlines.- Money stays in the offer's original currency and pay period. Differences are shown only when those terms match. For the same currency, a monthly base beside a yearly offer shows the arithmetic for 12 months. That hint does not compare the offers; hourly pay needs working hours and has no guessed yearly equivalent.+- With one offer, the section is **Open questions**. With two, it is **Not in either offer yet**.- A missing term says where the offer came from. **Not found in the message** means the terms were read from an employer's message and that term wasn't found; check the message, as the reading can miss it. **Left blank** means you entered or corrected the terms and left it empty. **Not recorded** marks offers saved before the source was kept. None of them means zero.- Each offer's heading says whether it was **Read from a message**, **Entered by you**, or read from a message and then **edited by you**.- An explicitly recorded percentage bonus shows its rate and, when the base is known, its money equivalent. Older free-text bonus conditions stay as written with **No amount stated · value uncertain**; the app does not infer a percentage from that text.diff --git a/docs/images/guides/career/career-preferences-currency.png b/docs/images/guides/career/career-preferences-currency.pngnew file mode 100644index 000000000..f92f32757Binary files /dev/null and b/docs/images/guides/career/career-preferences-currency.png differdiff --git a/docs/images/guides/career/knowledge-first-fact.png b/docs/images/guides/career/knowledge-first-fact.pngnew file mode 100644index 000000000..1fe426520Binary files /dev/null and b/docs/images/guides/career/knowledge-first-fact.png differdiff --git a/docs/images/guides/career/knowledge-first-story.png b/docs/images/guides/career/knowledge-first-story.pngnew file mode 100644index 000000000..877386974Binary files /dev/null and b/docs/images/guides/career/knowledge-first-story.png differdiff --git a/docs/images/guides/career/offer-currency-choice.png b/docs/images/guides/career/offer-currency-choice.pngnew file mode 100644index 000000000..26bbea238Binary files /dev/null and b/docs/images/guides/career/offer-currency-choice.png differdiff --git a/docs/images/guides/career/offer-guidance-empty.png b/docs/images/guides/career/offer-guidance-empty.pngindex b0be6e640..28560cb51 100644Binary files a/docs/images/guides/career/offer-guidance-empty.png and b/docs/images/guides/career/offer-guidance-empty.png differdiff --git a/docs/images/guides/career/offer-guidance-one-phone.png b/docs/images/guides/career/offer-guidance-one-phone.pngindex 0a2c86d22..51260960a 100644Binary files a/docs/images/guides/career/offer-guidance-one-phone.png and b/docs/images/guides/career/offer-guidance-one-phone.png differdiff --git a/docs/images/guides/career/offer-stage.png b/docs/images/guides/career/offer-stage.pngindex d06c6fe55..baded4452 100644Binary files a/docs/images/guides/career/offer-stage.png and b/docs/images/guides/career/offer-stage.png differdiff --git a/docs/images/guides/career/offers-role-labels-phone.png b/docs/images/guides/career/offers-role-labels-phone.pngnew file mode 100644index 000000000..19b1c2a06Binary files /dev/null and b/docs/images/guides/career/offers-role-labels-phone.png differdiff --git a/tests/e2e/specs/career-polish-recovery.spec.ts b/tests/e2e/specs/career-polish-recovery.spec.tsindex 94c9fd91f..6da11b391 100644--- a/tests/e2e/specs/career-polish-recovery.spec.ts+++ b/tests/e2e/specs/career-polish-recovery.spec.ts@@ -29,6 +29,9 @@ test("Preferences and offer currency choices save code and period without guessiawait chooseCurrency(page, "JPY");await expect(page.getByRole("combobox", { name: "Currency", exact: true })).toContainText("JPY");await page.getByLabel("Minimum base salary", { exact: true }).fill("7000");+ expect(+ await page.getByLabel("Minimum base salary", { exact: true }).evaluate((input) => input.clientWidth),+ ).toBeGreaterThan(80);await page.getByRole("combobox", { name: "Pay period", exact: true }).selectOption("month");await page.getByLabel("Notice period", { exact: true }).focus();await page.getByLabel("Notice period", { exact: true }).blur();@@ -107,8 +110,30 @@ test("offer Messages chooser only navigates and phone rows distinguish same-comp};const [engineer, lead] = applications;if (!engineer || !lead) throw new Error("Both fictional applications must exist.");+ await page.goto("/dashboard/career/offers");+ await expect(page.getByRole("combobox", { name: "Messages", exact: true })).toBeVisible();+ await page+ .getByRole("main")+ .screenshot({ path: info.outputPath("offer-guidance-empty.png"), animations: "disabled" });+ const pending = page+ .getByRole("region")+ .filter({ has: page.getByRole("heading", { name: "In the Offer stage, terms not added", exact: true }) });+ await pending+ .getByRole("listitem")+ .filter({ hasText: "Product engineer" })+ .getByRole("button", { name: "Add offer", exact: true })+ .click();+ const stageForm = pending.getByRole("listitem").filter({ hasText: "Product engineer" });+ await expect(stageForm.getByLabel("Application", { exact: true })).toHaveValue(engineer);+ await expect(stageForm.getByLabel("Application", { exact: true })).toBeDisabled();+ await stageForm.screenshot({ path: info.outputPath("offer-stage.png"), animations: "disabled" });+ await stageForm.getByRole("button", { name: "Cancel", exact: true }).click();await save(engineer);+ await page.setViewportSize({ width: 390, height: 844 });await page.goto(`/dashboard/career/offers?a=${offers[0]}`);+ await page+ .getByRole("main")+ .screenshot({ path: info.outputPath("offer-guidance-one-phone.png"), animations: "disabled" });await expect(page.getByRole("button", { name: "Swap", exact: true })).toBeDisabled();await expect(page.getByRole("heading", { name: "Open questions", exact: true })).toBeVisible();await expect(page.getByRole("heading", { name: "Not in either offer yet", exact: true })).toHaveCount(0);