Skip to content

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!

fix: title-case the Cover Letters label

Amruth Pillai52949fcb4a9e
diff --git a/apps/web/src/features/cover-letters/library.tsx b/apps/web/src/features/cover-letters/library.tsx
index d7afea1f9..938842456 100644
--- a/apps/web/src/features/cover-letters/library.tsx
+++ b/apps/web/src/features/cover-letters/library.tsx
@@ -313,7 +313,7 @@ export function CoverLetterLibraryDialog(props: CoverLetterLibraryDialogProps) {
<DialogContent className="lg:max-w-3xl xl:max-w-4xl">
<DialogHeader>
<DialogTitle>
- <Trans>Cover letters</Trans>
+ <Trans>Cover Letters</Trans>
</DialogTitle>
<DialogDescription>
<Trans>Create and edit letters using your resume’s styling.</Trans>
diff --git a/apps/web/src/routes/dashboard/-components/sidebar.tsx b/apps/web/src/routes/dashboard/-components/sidebar.tsx
index 384c32a02..29b138d30 100644
--- a/apps/web/src/routes/dashboard/-components/sidebar.tsx
+++ b/apps/web/src/routes/dashboard/-components/sidebar.tsx
@@ -60,7 +60,7 @@ const appSidebarItems = [
},
{
icon: <EnvelopeSimpleIcon />,
- label: msg`Cover letters`,
+ label: msg`Cover Letters`,
href: "/dashboard/cover-letters",
},
{
diff --git a/apps/web/src/routes/dashboard/cover-letters.tsx b/apps/web/src/routes/dashboard/cover-letters.tsx
index ecc43474b..3688199d4 100644
--- a/apps/web/src/routes/dashboard/cover-letters.tsx
+++ b/apps/web/src/routes/dashboard/cover-letters.tsx
@@ -10,7 +10,7 @@ export const Route = createFileRoute("/dashboard/cover-letters")({ component: Ro
function RouteComponent() {
return (
<div className="space-y-4">
- <DashboardHeader icon={EnvelopeSimpleIcon} title={t`Cover letters`} />
+ <DashboardHeader icon={EnvelopeSimpleIcon} title={t`Cover Letters`} />
<Separator />
<CoverLetterLibrary />
</div>
diff --git a/docs/guides/exporting-your-resume.mdx b/docs/guides/exporting-your-resume.mdx
index 9b886c7f8..04ac8840e 100644
--- a/docs/guides/exporting-your-resume.mdx
+++ b/docs/guides/exporting-your-resume.mdx
@@ -103,7 +103,7 @@ The JSON export includes your full resume content and settings, including any co
JSON is also useful when working with AI assistants that understand structured data. Export JSON, ask an assistant to review or edit the fields, then import the revised JSON as a new resume.
<Info>
- JSON export in the download dialog is only available on the **Resume** tab. To export an independent letter as JSON, open it from **Cover letters** on the dashboard and select **Export JSON**.
+ JSON export in the download dialog is only available on the **Resume** tab. To export an independent letter as JSON, open it from **Cover Letters** on the dashboard and select **Export JSON**.
</Info>
<Warning>
@@ -121,7 +121,7 @@ Reactive Resume provides three different JSON shapes:
| Export | How to create it | What it contains | Can you import it as one resume? |
| --- | --- | --- | --- |
| **Single resume** | In the builder, open **Download**, stay on **Resume**, and download **JSON**. | Resume content and settings, including cover letter sections embedded in that resume. | Yes. |
-| **Independent cover letter** | Open a letter from **Cover letters** on the dashboard and select **Export JSON**. | That letter's content and copied resume styling in the Reactive Resume cover-letter format. | No. Import it through the cover-letter library instead. |
+| **Independent cover letter** | Open a letter from **Cover Letters** on the dashboard and select **Export JSON**. | That letter's content and copied resume styling in the Reactive Resume cover-letter format. | No. Import it through the cover-letter library instead. |
| **Account archive** | Open **Settings**, go to **Account**, and select **Export my data**. | Account profile metadata, all owned resume records, independent cover letters, and an `exportedAt` timestamp. | No. It is an archive, not a single-resume import file. |
Use the single-resume and independent-cover-letter exports for the Git workflow below. An account archive is an additional portability backup, not a replacement for those files. Because its `exportedAt` timestamp changes on every export, do not expect otherwise unchanged account archives to be byte-for-byte identical.
diff --git a/tests/e2e/specs/cover-letter-library.spec.ts b/tests/e2e/specs/cover-letter-library.spec.ts
index e1b8192f2..7c140b660 100644
--- a/tests/e2e/specs/cover-letter-library.spec.ts
+++ b/tests/e2e/specs/cover-letter-library.spec.ts
@@ -55,7 +55,7 @@ test("edits the same library letter from the dashboard and builder, with indepen
await expect(editor.getByRole("button", { name: "Save Changes", exact: true })).toBeDisabled();
await editor.getByRole("button", { name: "Close", exact: true }).click();
await page
- .getByRole("dialog", { name: "Cover letters", exact: true })
+ .getByRole("dialog", { name: "Cover Letters", exact: true })
.getByRole("button", { name: "Close", exact: true })
.click();
@@ -127,7 +127,7 @@ test("blocks styling refresh when the current builder resume could not be saved"
}, testInfo) => {
await createSampleResumeFromDashboard(page, testInfo);
await page.getByRole("button", { name: "Cover-letter library", exact: true }).click();
- const library = page.getByRole("dialog", { name: "Cover letters", exact: true });
+ const library = page.getByRole("dialog", { name: "Cover Letters", exact: true });
await library.getByRole("button", { name: "Create", exact: true }).click();
await library.getByLabel("Name", { exact: true }).fill("Styling guard letter");
await library.getByRole("button", { name: "Create cover letter", exact: true }).click();