feat: add hide link underline option to resume settings, resolves #3134

This commit is contained in:
Amruth Pillai
2026-06-01 15:30:49 +02:00
parent d6a9bc6c4b
commit 5fb4976ec9
16 changed files with 2820 additions and 157 deletions
@@ -227,6 +227,10 @@ describe("ReactiveResumeV4JSONImporter — broad section mapping", () => {
expect(result.picture.borderWidth).toBeGreaterThan(0);
});
it("maps v4 underline link preference to the v5 hide underline page setting", () => {
expect(result.metadata.page.hideLinkUnderline).toBe(true);
});
it("maps summary content", () => {
expect(result.summary.content).toBe("<p>About me</p>");
expect(result.summary.hidden).toBe(false);
@@ -744,6 +744,7 @@ export class ReactiveResumeV4JSONImporter {
marginY: nonNegative(v4Data.metadata.page?.margin ?? 14),
format: v4Data.metadata.page?.format ?? "a4",
locale: "en-US",
hideLinkUnderline: v4Data.metadata.typography?.underlineLinks === false,
hideIcons: v4Data.metadata.typography?.hideIcons ?? false,
hideSectionIcons: true,
},