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
fix: reconcile document library and settings review
Amruth Pillai86d3e0db5f52
diff --cc apps/mobile/locales/cs-CZ.poindex 6a89792af,97a706967..8c9907748--- a/apps/mobile/locales/cs-CZ.po+++ b/apps/mobile/locales/cs-CZ.po@@@ -2223,7 -2209,7 +2223,7 @@@ msgstr "Osvědčení#: app/(auth)/sign-in.tsx#: src/features/letters/write.tsxmsgid "Change"--msgstr "Přeměna"++msgstr "Změnit"#: src/features/ai/web-access.tsxmsgid "Change connection"diff --cc apps/mobile/scripts/experience.test.mjsindex 642eb404f,c6bbedc0d..80ee434ba--- a/apps/mobile/scripts/experience.test.mjs+++ b/apps/mobile/scripts/experience.test.mjs@@@ -618,10 -618,10 +618,13 @@@ console.log("PASS native New preserves// Opening earlier applications must preserve an unsaved job until explicit discard.let finishSave;++let matchedPosting = null;const { AddApplicationSheet } = load("features/applications/add-sheet.tsx", {react: { ...react, useEffect: () => {} },"@orpc/client": { ORPCError: class extends Error {} },-- "@tanstack/react-query": { useQuery: (options) => ({ data: options.queryKey[0] === "posting-match" ? null : [] }) },++ "@tanstack/react-query": {++ useQuery: (options) => ({ data: options.queryKey[0] === "posting-match" ? matchedPosting : [] }),++ },"./date": { parseDateOnly: () => new Date() },"./error": { applicationError: String },"./lane-notice": { LaneNotice: "LaneNotice" },@@@ -630,6 -630,6 +633,7 @@@"./prior-no-response": { PriorNoResponse: "PriorNoResponse" },"./queries": {useApplicationMutations: () => ({++ update: { mutateAsync: async (input) => calls.push(input) },create: {mutateAsync: () =>new Promise((resolve) => {@@@ -692,6 -692,6 +696,31 @@@ discardPrior().onConfirm()assert.deepEqual(calls, ["close-draft", "/applications/previous"], "explicit discard opens the prior application");console.log("PASS native prior-application draft confirmation and save lock");++reset();++matchedPosting = { id: "existing-job", company: "Example", role: "Engineer" };++const pickerView = () =>++ render(AddApplicationSheet, {++ initialCapture: {++ url: "https://example.test/jobs/1",++ company: "Example",++ role: "Engineer",++ description: "Posting",++ },++ onClose: () => calls.push("close-picker"),++ onAdded: (id) => calls.push({ picked: id }),++ });++assert.equal(control(pickerView(), "Update posting details").disabled, false);++control(pickerView(), "Update posting details").onPress();++await settle();++assert.equal(calls[0].id, "existing-job");++assert.deepEqual(++ calls.slice(1),++ ["close-picker", { picked: "existing-job" }],++ "duplicate update returns to picker without navigation",++);++matchedPosting = null;++console.log("PASS native duplicate posting update preserves picker flow");++// Default calendar month/day follows the account clock; explicit navigation remains pinned.const calendarSchedule = load("features/reminders/schedule.ts", { "@reactive-resume/utils/timezone": {} });const nativeCalendar = load("features/applications-board/calendar.ts", {@@@ -1501,3 -1536,43 +1565,153 @@@ for (const state of ["loading", "error"}assert.equal(scheduleRetries, 1);console.log("PASS native preparation distinguishes loading/error from empty/configured AI lookup");++ const { CustomFields } = load("features/write/basics-screen.tsx", {+ "expo-image": { Image: "Image" },+ "@reactive-resume/utils/string": { generateId: () => "new-field" },+ "./entry-fields": { BoundText: "BoundText", LinkField: "LinkField", useValidators: () => ({}) },+ "./entry-screen": { EditorScreen: "EditorScreen" },+ "./hooks": { useWriteData: () => null },+ "./pickers": { IconPickerSheet: "IconPickerSheet", PromptSheet: "PromptSheet" },+ "./picture-screen": { resolvePictureUrl: () => "" },+ "@/auth/session": { useSession: () => ({}) },+ "@/draft": { useIsResumeLocked: () => false, useResumeStore: {} },+ });+ reset();+ const removedField = { id: "field-one", icon: "acorn", text: "Portfolio", link: "https://portfolio.example/" };+ let fieldDocument = { headline: "Before", fields: [removedField] };+ const fieldHistory = [];+ const updateFields = (mutate) => {+ fieldHistory.push(structuredClone(fieldDocument));+ fieldDocument = structuredClone(fieldDocument);+ mutate(fieldDocument.fields);+ };+ const fieldView = () =>+ render(CustomFields, {+ fields: fieldDocument.fields,+ locked: false,+ update: updateFields,+ undo: () => (fieldDocument = fieldHistory.pop()),+ });+ control(fieldView(), "Remove field").onPress();+ assert.equal(fieldDocument.fields.length, 0);+ const removalToast = calls.find((value) => value.message === "Field removed");+ assert.ok(removalToast);+ fieldHistory.push(structuredClone(fieldDocument));+ fieldDocument = { ...fieldDocument, headline: "Later edit" };+ removalToast.action.onPress();+ assert.equal(fieldDocument.headline, "Later edit", "field Undo preserves a later edit");+ assert.deepEqual(fieldDocument.fields, [removedField], "field Undo restores only the removed field");+ removalToast.action.onPress();+ assert.deepEqual(fieldDocument.fields, [removedField], "a restored field is never duplicated");+ console.log("PASS native custom-field Undo restores its field without reverting later edits or duplicating it");++++// A job selected before its summary arrives must never become an unlinked copy.++let copyApplications = { data: [], isFetching: true, refetch() {} };++const { NewDocument } = load("features/documents/new-document.tsx", {++ react: { ...react, useEffect() {} },++ "@tanstack/react-query": { useQuery: () => copyApplications },++ "expo-document-picker": {},++ "expo-file-system": {},++ "expo-network": { getNetworkStateAsync: async () => ({ isConnected: true }) },++ "expo-router": {++ useRouter: () => ({ replace: (href) => calls.push(href) }),++ useLocalSearchParams: () => ({ step: "copy", applicationId: "new-job" }),++ Stack: { Screen: "StackScreen" },++ },++ "@reactive-resume/schema/resume/dates": {},++ "./import-file": { ImportError: class extends Error {} },++ "./new-documents": { useNewDocuments: { getState: () => ({ markOpened() {} }) } },++ "./queries": {++ useDocuments: () => ({ data: [{ id: "source", type: "resume", name: "Resume" }] }),++ useDocumentRefresh: () => () => {},++ documentError: String,++ },++ "@/api/client": {++ client: {++ documents: {++ copyForJob: async (input) => {++ calls.push(input);++ return "copy";++ },++ },++ },++ orpc: { applications: { listSummary: { queryOptions: () => ({ queryKey: ["jobs"] }) } } },++ },++ "@/auth/session": { getServer: () => "test", useSession: () => ({ server: "test", status: "signed-in" }) },++ "@/features/ai/providers": { useHasAIProvider: () => ({ hasAIProvider: false }) },++ "@/features/applications/add-sheet": {},++});++reset();++assert.equal(control(render(NewDocument), "Create copy").disabled, true);++control(render(NewDocument), "Create copy").onPress();++await settle();++assert.deepEqual(calls, [], "pending selected job cannot create an unlinked copy");++copyApplications = {++ data: [{ id: "new-job", company: "Example", role: "Engineer", status: "saved" }],++ isFetching: false,++ refetch() {},++};++assert.equal(control(render(NewDocument), "Create copy").disabled, false);++control(render(NewDocument), "Create copy").onPress();++await settle();++assert.equal(calls[0].applicationId, "new-job");++console.log("PASS native copy waits for selected job and preserves application ID");++++// React Query uses the latest mutation options after asynchronous public-link counting.++let currentProfileMutation;++let profileMutationResult;++let finishLinkCount;++const { ProfileEditor } = load("features/settings/profile.tsx", {++ "@tanstack/react-query": {++ useQueryClient: () => ({ invalidateQueries() {} }),++ useMutation: (options) => {++ currentProfileMutation = options;++ return {++ isPending: false,++ reset() {},++ mutate() {++ profileMutationResult = currentProfileMutation.mutationFn();++ },++ };++ },++ },++ "expo-file-system": {},++ "expo-image-picker": {},++ "@/api/client": {++ client: {++ documents: {++ page: () =>++ new Promise((resolve) => {++ finishLinkCount = resolve;++ }),++ },++ auth: {++ updateProfile: async (input) => {++ calls.push(input);++ return { status: true };++ },++ },++ },++ },++ "@/auth/session": { useSession: () => ({ server: "test" }) },++});++reset();++const usernameField = nodes(render(ProfileEditor, { profile: { name: "Example", username: "old-name" } })).find(++ (node) => node.props.field === "username",++);++reset();++const profileView = () => render(usernameField.type, usernameField.props);++control(profileView(), "Username").onChangeText("valid-name");++control(profileView(), "Username").onBlur();++control(profileView(), "Username").onChangeText("!");++profileView();++finishLinkCount({ total: 1 });++await settle();++nodes(profileView())++ .find((node) => node.type === "ConfirmDialog")++ .props.onConfirm();++await assert.rejects(profileMutationResult, /Invalid profile field/);++assert.deepEqual(calls, [], "invalid draft never reaches profile API after confirmation");++assert.equal(control(profileView(), "Username").value, "!", "failed validation preserves draft");++console.log("PASS native username revalidates after asynchronous public-link confirmation");diff --cc apps/mobile/src/features/applications/add-sheet.tsxindex f160edf76,67b83bfb9..9be79a9b8--- a/apps/mobile/src/features/applications/add-sheet.tsx+++ b/apps/mobile/src/features/applications/add-sheet.tsx@@@ -340,7 -334,7 +340,8 @@@ export function AddApplicationSheet({ o...(description.trim() ? { jobDescription: description.slice(0, 20_000), postingSource } : {}),});onClose();-- router.push(routes.applicationDetails(duplicate.data.id));++ if (onAdded) onAdded(duplicate.data.id);++ else router.push(routes.applicationDetails(duplicate.data.id));})}/>diff --cc apps/mobile/src/features/documents/new-document.tsxindex 2fd52bf4d,7d51df9e1..421d41f3c--- a/apps/mobile/src/features/documents/new-document.tsx+++ b/apps/mobile/src/features/documents/new-document.tsx@@@ -66,6 -64,6 +66,7 @@@ export function NewDocument()const source = resumes.find((document) => document.id === sourceId) ?? resumes[0];const jobs = (applications.data ?? []).filter((application) => application.status !== "closed");const job = jobs.find((application) => application.id === jobId);++ const waitingForJob = !!jobId && !job && applications.isFetching;const suggested = (job ? `${source?.name.split(" — ")[0] ?? ""} — ${job.company}` : t`${source?.name ?? ""} (copy)`).slice(0, 100);@@@ -172,16 -161,16 +173,16 @@@});const copy = () =>run(async (signal) => {-- if (!source || !(name ?? suggested).trim()) return;++ if (!source || waitingForJob || !(name ?? suggested).trim()) return;const id = await client.documents.copyForJob(-- { resumeId: source.id, name: (name ?? suggested).trim(), ...(job ? { applicationId: job.id } : {}) },++ { resumeId: source.id, name: (name ?? suggested).trim(), ...(jobId ? { applicationId: jobId } : {}) },{ signal },);if (current(signal)) {const document = { id, type: "resume" as const };setCreated(document);setApplicationLinked(true);-- if (job && ai.hasAIProvider) onCopiedForJob(id);++ if (jobId && ai.hasAIProvider) onCopiedForJob(id);else open(document);}});@@@ -445,7 -417,7 +446,8 @@@!(name ?? suggested).trim() ||(name ?? suggested).length > 100 ||documents.isError ||-- applications.isError++ applications.isError ||++ waitingForJob}onPress={() => void copy()}/>diff --cc apps/mobile/src/features/settings/profile.tsxindex 539ae05d1,e2629ed91..a8838b883--- a/apps/mobile/src/features/settings/profile.tsx+++ b/apps/mobile/src/features/settings/profile.tsx@@@ -24,6 -23,6 +24,7 @@@ function ProfileField({ field, value, sconst mutation = useMutation({mutationKey: ["settings", "profile", field],mutationFn: async () => {++ if (invalid) throw new Error("Invalid profile field");const result = await client.auth.updateProfile({ [field]: trimmed });if (!result.status) throw new Error("Profile update rejected");},diff --cc apps/server/src/static/resume-card.test.tsindex 000000000,000000000..a45c4a101new file mode 100644--- /dev/null+++ b/apps/server/src/static/resume-card.test.ts@@@ -1,0 -1,0 +1,39 @@@++import { beforeEach, expect, it, vi } from "vite-plus/test";++import { defaultResumeData } from "@reactive-resume/schema/resume/default";++++const getCard = vi.hoisted(() => vi.fn());++vi.mock("@reactive-resume/api/features/resume/social-meta", () => ({ getPublicResumeCardData: getCard }));++vi.mock("@reactive-resume/env/server", () => ({ env: { APP_URL: "https://resume.example" } }));++vi.mock("@reactive-resume/pdf/server", () => ({++ loadResumeCardAssets: async () => ({ fonts: [], headingFamily: "Fixture", bodyFamily: "Fixture", picture: null }),++}));++vi.mock("@resvg/resvg-wasm", () => ({++ initWasm: vi.fn(),++ Resvg: class {++ render() {++ return { asPng: () => Uint8Array.of(1) };++ }++ free() {}++ },++}));++++const { handleResumeCard } = await import("./resume-card");++beforeEach(() => getCard.mockReset());++++it.each([false, true])("uses the current alias cache policy even for cached images (released=%s)", async (released) => {++ getCard.mockResolvedValue({++ data: structuredClone(defaultResumeData),++ isPrimary: false,++ customDomain: null,++ isReleasedUsername: released,++ });++ const url = "https://resume.example/cards/jane/resume.png";++ const response = await handleResumeCard(new Request(url), "jane", "resume");++ expect(response.status).toBe(200);++ expect(response.headers.get("Cache-Control")).toBe(released ? "no-store" : "public, max-age=3600");++ const etag = response.headers.get("ETag");++ if (!etag) throw new Error("Missing card ETag");++ const unchanged = await handleResumeCard(new Request(url, { headers: { "If-None-Match": etag } }), "jane", "resume");++ expect(unchanged.status).toBe(304);++ expect(unchanged.headers.get("Cache-Control")).toBe(released ? "no-store" : "public, max-age=3600");++});diff --cc apps/server/src/static/resume-card.tsindex 570a5a9ef,570a5a9ef..67f5b0ef5--- a/apps/server/src/static/resume-card.ts+++ b/apps/server/src/static/resume-card.ts@@@ -45,7 -45,7 +45,10 @@@ export async function handleResumeCard(// Everything the drawing depends on, so a repeat skips the fonts and the picture's fetch.const inputs = [text, data.metadata.typography, data.metadata.page.locale, data.picture.url];const key = createHash("sha256").update(JSON.stringify(inputs)).digest("hex");-- const headers = { "Cache-Control": "public, max-age=3600", ETag: `"${key.slice(0, 32)}"` };++ const headers = {++ "Cache-Control": card.isReleasedUsername ? "no-store" : "public, max-age=3600",++ ETag: `"${key.slice(0, 32)}"`,++ };if (matchesIfNoneMatch(request.headers.get("if-none-match"), headers.ETag))return new Response(null, { status: 304, headers });diff --cc apps/server/src/static/resume-page.test.tsindex d69b8ec04,9f5caf841..6440d259a--- a/apps/server/src/static/resume-page.test.ts+++ b/apps/server/src/static/resume-page.test.ts@@@ -3,8 -3,7 +3,8 @@@ import { describe, expect, it, vi } froimport { WEB_PAGE_SCRIPT } from "@reactive-resume/pdf/web-page-document";import { defaultResumeData } from "@reactive-resume/schema/resume/default";- vi.mock("@reactive-resume/env/server", () => ({ env: { APP_URL: "https://rxresu.me" } }));+ vi.mock("@reactive-resume/env/server", () => ({ env: { APP_URL: "https://resume.example" } }));+vi.mock("@reactive-resume/api/features/resume/web-page", () => ({loadPublicWebPage: vi.fn(),verifyWebPagePassword: vi.fn(),diff --cc apps/web/locales/af-ZA.poindex 6c0fabca2,196110325..122c6ddc9--- a/apps/web/locales/af-ZA.po+++ b/apps/web/locales/af-ZA.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titelmsgid "To"msgstr "Om"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Druk Spasie of Enter om dit op te tel. Gebruik die pyltjiesleutels om dit te skuif, Spasie of Enter om dit neer te sit, of Escape om te kanselleer."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/am-ET.poindex ed799f916,10abfb068..11fbf4701--- a/apps/web/locales/am-ET.po+++ b/apps/web/locales/am-ET.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "ርዕስmsgid "To"msgstr "ለ"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "ለማንሳት Space ወይም Enter ይጫኑ። ለማንቀሳቀስ የቀስት ቁልፎችን፣ ለማስቀመጥ Space ወይም Enter፣ ለመሰረዝ ደግሞ Escape ይጠቀሙ።"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ar-SA.poindex 139fd8d1a,5c351ca5a..542849e79--- a/apps/web/locales/ar-SA.po+++ b/apps/web/locales/ar-SA.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "العنوانmsgid "To"msgstr "ل"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "لالتقاطه، اضغط على مفتاح المسافة أو Enter. استخدم مفاتيح الأسهم لنقله، والمسافة أو Enter لإفلاته، أو Escape للإلغاء."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/az-AZ.poindex 88fe7f5de,e0ddc73ce..464cac116--- a/apps/web/locales/az-AZ.po+++ b/apps/web/locales/az-AZ.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Başlıqmsgid "To"msgstr "Kimə"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Götürmək üçün Boşluq və ya Enter düyməsini basın. Köçürmək üçün ox düymələrindən, buraxmaq üçün Boşluq və ya Enter düyməsindən, ləğv etmək üçün isə Escape düyməsindən istifadə edin."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/bg-BG.poindex 37157e16a,63db2cfed..5cdac589e--- a/apps/web/locales/bg-BG.po+++ b/apps/web/locales/bg-BG.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Заглавиеmsgid "To"msgstr "до"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "За да го вземете, натиснете Интервал или Enter. Използвайте стрелките, за да го преместите, Интервал или Enter, за да го пуснете, или Escape, за да отмените."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/bn-BD.poindex 7f5072a74,8fc59b993..d3656151f--- a/apps/web/locales/bn-BD.po+++ b/apps/web/locales/bn-BD.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "শিরোনামmsgid "To"msgstr "প্রতি"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "তুলতে Space বা Enter চাপুন। সরাতে তীর কী, রাখতে Space বা Enter, অথবা বাতিল করতে Escape ব্যবহার করুন।"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ca-ES.poindex a3178f279,27f08d65b..9a62ac49d--- a/apps/web/locales/ca-ES.po+++ b/apps/web/locales/ca-ES.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Títolmsgid "To"msgstr "A"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Per agafar-lo, premeu Espai o Retorn. Feu servir les fletxes per moure'l, Espai o Retorn per deixar-lo o Esc per cancel·lar."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/cs-CZ.poindex 774ef9db6,fa56a4a57..81e317c62--- a/apps/web/locales/cs-CZ.po+++ b/apps/web/locales/cs-CZ.po@@@ -2776,7 -2789,7 +2804,7 @@@ msgstr "Osvědčení#: src/features/settings/account/security.tsx#: src/routes/builder/letter/-components/write-panel.tsxmsgid "Change"--msgstr "Přeměna"++msgstr "Změnit"#: src/features/career/coach-chat.tsx#: src/features/settings/ai/web-access.tsx@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Názevmsgid "To"msgstr "Na"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Zvednete ho mezerníkem nebo klávesou Enter. Šipkami ho přesunete, mezerníkem nebo Enterem pustíte a klávesou Escape akci zrušíte."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/da-DK.poindex 7cc1e0ef1,40f45fba4..17fa17d39--- a/apps/web/locales/da-DK.po+++ b/apps/web/locales/da-DK.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titelmsgid "To"msgstr "Til"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Tryk på Mellemrum eller Enter for at samle det op. Brug piletasterne til at flytte det, Mellemrum eller Enter til at slippe det, eller Escape for at annullere."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/de-DE.poindex 7151dc662,cc6daa8a1..98d481771--- a/apps/web/locales/de-DE.po+++ b/apps/web/locales/de-DE.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titelmsgid "To"msgstr "Zu"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Zum Aufnehmen Leertaste oder Eingabetaste drücken. Mit den Pfeiltasten verschieben, mit Leertaste oder Eingabetaste ablegen oder mit Escape abbrechen."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/el-GR.poindex e9339bb86,987906ae8..146e1ee20--- a/apps/web/locales/el-GR.po+++ b/apps/web/locales/el-GR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Τίτλοςmsgid "To"msgstr "Να"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Για να το επιλέξετε, πατήστε Διάστημα ή Enter. Χρησιμοποιήστε τα βέλη για να το μετακινήσετε, Διάστημα ή Enter για να το αφήσετε ή Escape για ακύρωση."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/en-GB.poindex 5dc601a25,b40b8b50e..c5c5245c2--- a/apps/web/locales/en-GB.po+++ b/apps/web/locales/en-GB.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titlemsgid "To"msgstr "To"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/en-US.poindex 82f946336,a428bafc5..94cd83a01--- a/apps/web/locales/en-US.po+++ b/apps/web/locales/en-US.po@@@ -13966,13 -14026,11 +14096,17 @@@ msgstr "Titlemsgid "To"msgstr "To"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr "To {recipient}"++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/es-ES.poindex 23f9981d3,cec9e66a2..2428177a4--- a/apps/web/locales/es-ES.po+++ b/apps/web/locales/es-ES.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Títulomsgid "To"msgstr "A"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Para seleccionarlo, pulsa Espacio o Intro. Usa las flechas para moverlo, Espacio o Intro para soltarlo o Escape para cancelar."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/fa-IR.poindex fcdebf7ec,6a37113e3..8675207db--- a/apps/web/locales/fa-IR.po+++ b/apps/web/locales/fa-IR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "عنوانmsgid "To"msgstr "به"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "برای برداشتن، کلید فاصله یا Enter را فشار دهید. با کلیدهای جهتنما آن را جابهجا کنید، با فاصله یا Enter رها کنید یا با Escape لغو کنید."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/fi-FI.poindex 7a75e9eae,6f2b7e09d..faf291575--- a/apps/web/locales/fi-FI.po+++ b/apps/web/locales/fi-FI.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Otsikkomsgid "To"msgstr "Vastaanottaja"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Poimi se painamalla välilyöntiä tai Enteriä. Siirrä sitä nuolinäppäimillä, pudota välilyönnillä tai Enterillä tai peru Escillä."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/fr-FR.poindex 68b186807,043dcaa65..818130ae8--- a/apps/web/locales/fr-FR.po+++ b/apps/web/locales/fr-FR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titremsgid "To"msgstr "À"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Pour le saisir, appuyez sur Espace ou Entrée. Utilisez les flèches pour le déplacer, Espace ou Entrée pour le déposer, ou Échap pour annuler."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/he-IL.poindex 68cc60e9e,7d29a4da7..7ab6e32e2--- a/apps/web/locales/he-IL.po+++ b/apps/web/locales/he-IL.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "כותרתmsgid "To"msgstr "אֶל"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "כדי להרים אותו, הקישו רווח או Enter. השתמשו במקשי החצים כדי להזיז אותו, ברווח או ב-Enter כדי לשחרר, או ב-Escape כדי לבטל."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/hi-IN.poindex edd71c3dc,c69a8e1d8..5cdba8897--- a/apps/web/locales/hi-IN.po+++ b/apps/web/locales/hi-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "शीर्षकmsgid "To"msgstr "को"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "इसे उठाने के लिए Space या Enter दबाएँ। इसे हिलाने के लिए तीर कुंजियों, छोड़ने के लिए Space या Enter, या रद्द करने के लिए Escape का उपयोग करें।"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/hu-HU.poindex 19b50a736,2afdd1c6f..a2d79d5b0--- a/apps/web/locales/hu-HU.po+++ b/apps/web/locales/hu-HU.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Címmsgid "To"msgstr "Címzett"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "A felvételhez nyomja meg a Szóköz vagy az Enter billentyűt. A nyílbillentyűkkel mozgathatja, a Szóközzel vagy az Enterrel leteheti, az Escape billentyűvel pedig megszakíthatja."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/id-ID.poindex e570989ae,b2131b772..2e57640ae--- a/apps/web/locales/id-ID.po+++ b/apps/web/locales/id-ID.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Judulmsgid "To"msgstr "Ke"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Untuk mengambilnya, tekan Spasi atau Enter. Gunakan tombol panah untuk memindahkannya, Spasi atau Enter untuk melepasnya, atau Escape untuk membatalkan."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/it-IT.poindex 778fa16b1,517b7abcc..55aaffe37--- a/apps/web/locales/it-IT.po+++ b/apps/web/locales/it-IT.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titolomsgid "To"msgstr "A"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Per selezionarlo, premi Spazio o Invio. Usa i tasti freccia per spostarlo, Spazio o Invio per rilasciarlo oppure Esc per annullare."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ja-JP.poindex 4f0f28210,77ed810ed..7b1183151--- a/apps/web/locales/ja-JP.po+++ b/apps/web/locales/ja-JP.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "タイトルmsgid "To"msgstr "に"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "持ち上げるには Space または Enter を押します。矢印キーで移動し、Space または Enter でドロップ、Escape でキャンセルします。"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/km-KH.poindex 927feac6d,9856bb124..f28eb5daf--- a/apps/web/locales/km-KH.po+++ b/apps/web/locales/km-KH.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "ចំណងជើងmsgid "To"msgstr "ទៅ"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "ដើម្បីលើកវា ចុច Space ឬ Enter។ ប្រើគ្រាប់ចុចព្រួញដើម្បីផ្លាស់ទី Space ឬ Enter ដើម្បីដាក់ ឬ Escape ដើម្បីបោះបង់។"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/kn-IN.poindex 8bfe2c31f,2d74840c5..ad46a1e28--- a/apps/web/locales/kn-IN.po+++ b/apps/web/locales/kn-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "ಶೀರ್ಷಿಕೆmsgid "To"msgstr "ಗೆ"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "ಎತ್ತಲು Space ಅಥವಾ Enter ಒತ್ತಿರಿ. ಸರಿಸಲು ಬಾಣದ ಕೀಲಿಗಳನ್ನು, ಇರಿಸಲು Space ಅಥವಾ Enter ಅನ್ನು, ರದ್ದುಗೊಳಿಸಲು Escape ಅನ್ನು ಬಳಸಿ."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ko-KR.poindex e9b9abf54,ef44af5ac..925cfee6f--- a/apps/web/locales/ko-KR.po+++ b/apps/web/locales/ko-KR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "제목msgid "To"msgstr "에게"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "들려면 Space 또는 Enter를 누르세요. 화살표 키로 이동하고, Space 또는 Enter로 놓거나 Escape로 취소하세요."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/lt-LT.poindex 57de828a3,f55c56a1b..2985933ee--- a/apps/web/locales/lt-LT.po+++ b/apps/web/locales/lt-LT.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Pavadinimasmsgid "To"msgstr "Į"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Norėdami paimti, paspauskite tarpo arba Enter klavišą. Perkelkite rodyklių klavišais, padėkite tarpo arba Enter klavišu, atšaukite Escape klavišu."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/lv-LV.poindex c1dfbdda8,cc4414e0a..1d110bc9c--- a/apps/web/locales/lv-LV.po+++ b/apps/web/locales/lv-LV.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Nosaukumsmsgid "To"msgstr "Uz"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Lai paņemtu, nospiediet atstarpi vai Enter. Pārvietojiet ar bulttaustiņiem, novietojiet ar atstarpi vai Enter vai atceliet ar Escape."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ml-IN.poindex 1ed1cf989,d0d0dfa9d..a092d1b08--- a/apps/web/locales/ml-IN.po+++ b/apps/web/locales/ml-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "ടൈറ്റിൽmsgid "To"msgstr "ലേക്ക്"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "എടുക്കാൻ Space അല്ലെങ്കിൽ Enter അമർത്തുക. നീക്കാൻ ആരോ കീകളും, വയ്ക്കാൻ Space അല്ലെങ്കിൽ Enter-ഉം, റദ്ദാക്കാൻ Escape-ഉം ഉപയോഗിക്കുക."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/mr-IN.poindex d08d8e941,593d0ef44..024597eb2--- a/apps/web/locales/mr-IN.po+++ b/apps/web/locales/mr-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "शीर्षकmsgid "To"msgstr "ला"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "उचलण्यासाठी Space किंवा Enter दाबा. हलवण्यासाठी बाण कळा, ठेवण्यासाठी Space किंवा Enter, किंवा रद्द करण्यासाठी Escape वापरा."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ms-MY.poindex 1742dbf3f,6e0a8f728..fcd1939dd--- a/apps/web/locales/ms-MY.po+++ b/apps/web/locales/ms-MY.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Tajukmsgid "To"msgstr "Kepada"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Untuk mengambilnya, tekan Space atau Enter. Gunakan kekunci anak panah untuk mengalihkannya, Space atau Enter untuk melepaskannya, atau Escape untuk membatalkan."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ne-NP.poindex 5c3a7ccd8,a80a2ab88..a5e97a07c--- a/apps/web/locales/ne-NP.po+++ b/apps/web/locales/ne-NP.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "शीर्षकmsgid "To"msgstr "को"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "उठाउन Space वा Enter थिच्नुहोस्। सार्न एरो कुञ्जीहरू, राख्न Space वा Enter, वा रद्द गर्न Escape प्रयोग गर्नुहोस्।"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/nl-NL.poindex 1865cdc34,e70162a45..19078ea89--- a/apps/web/locales/nl-NL.po+++ b/apps/web/locales/nl-NL.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titelmsgid "To"msgstr "Naar"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Druk op Spatie of Enter om het op te pakken. Verplaats het met de pijltjestoetsen, zet het neer met Spatie of Enter of annuleer met Escape."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/no-NO.poindex 8076d05cc,c6f2f6c60..29071baa4--- a/apps/web/locales/no-NO.po+++ b/apps/web/locales/no-NO.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Tittelmsgid "To"msgstr "Til"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Trykk på mellomrom eller Enter for å plukke det opp. Bruk piltastene for å flytte det, mellomrom eller Enter for å slippe det, eller Escape for å avbryte."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/or-IN.poindex 91b0c6d7c,7d4b7946e..0c9b08e4a--- a/apps/web/locales/or-IN.po+++ b/apps/web/locales/or-IN.po@@@ -13973,13 -14033,11 +14103,17 @@@ msgstr "ଶିରୋନାମାmsgid "To"msgstr "କୁ"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "ଉଠାଇବାକୁ Space କିମ୍ବା Enter ଦବାନ୍ତୁ। ଘୁଞ୍ଚାଇବାକୁ ତୀର କି, ରଖିବାକୁ Space କିମ୍ବା Enter, କିମ୍ବା ବାତିଲ୍ କରିବାକୁ Escape ବ୍ୟବହାର କରନ୍ତୁ।"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/pl-PL.poindex f81604c02,d994f31fa..aa331b04f--- a/apps/web/locales/pl-PL.po+++ b/apps/web/locales/pl-PL.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Tytułmsgid "To"msgstr "Do"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Aby podnieść, naciśnij Spację lub Enter. Użyj strzałek, aby przenieść, Spacji lub Entera, aby upuścić, albo Escape, aby anulować."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/pt-BR.poindex 11368e3b2,f1a5b85e5..4d64f684a--- a/apps/web/locales/pt-BR.po+++ b/apps/web/locales/pt-BR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Títulomsgid "To"msgstr "Para"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Para selecioná-lo, pressione Espaço ou Enter. Use as setas para movê-lo, Espaço ou Enter para soltá-lo ou Esc para cancelar."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/pt-PT.poindex 5e11bb7e5,6613d5858..1446dfe8d--- a/apps/web/locales/pt-PT.po+++ b/apps/web/locales/pt-PT.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Títulomsgid "To"msgstr "Para"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Para o selecionar, prima Espaço ou Enter. Utilize as setas para o mover, Espaço ou Enter para o largar ou Esc para cancelar."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ro-RO.poindex 83eb6bd73,ef52df33a..839998709--- a/apps/web/locales/ro-RO.po+++ b/apps/web/locales/ro-RO.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titlumsgid "To"msgstr "La"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Pentru a-l prelua, apasă Spațiu sau Enter. Folosește săgețile pentru a-l muta, Spațiu sau Enter pentru a-l plasa sau Escape pentru a anula."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ru-RU.poindex 98ed3962f,0445b4242..1a7349e2e--- a/apps/web/locales/ru-RU.po+++ b/apps/web/locales/ru-RU.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Названиеmsgid "To"msgstr "К"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Чтобы взять элемент, нажмите Пробел или Enter. Перемещайте его клавишами со стрелками, отпустите Пробелом или Enter, а для отмены нажмите Escape."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/sk-SK.poindex 720e1557f,53f2204f6..85b975a96--- a/apps/web/locales/sk-SK.po+++ b/apps/web/locales/sk-SK.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Názovmsgid "To"msgstr "Komu"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Zdvihnete ho medzerníkom alebo klávesom Enter. Šípkami ho presuniete, medzerníkom alebo Enterom pustíte a klávesom Escape akciu zrušíte."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/sl-SI.poindex 6bdc16841,b4e2a958a..2c979420f--- a/apps/web/locales/sl-SI.po+++ b/apps/web/locales/sl-SI.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Nazivmsgid "To"msgstr "Za"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Za dvig pritisnite preslednico ali Enter. S puščicami ga premaknite, s preslednico ali Enter ga spustite ali s tipko Escape prekličite."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/sq-AL.poindex 22ceae54a,f7e06a055..c2b513976--- a/apps/web/locales/sq-AL.po+++ b/apps/web/locales/sq-AL.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titullimsgid "To"msgstr "te"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Për ta marrë, shtypni Hapësirë ose Enter. Përdorni shigjetat për ta zhvendosur, Hapësirë ose Enter për ta lëshuar, ose Escape për ta anuluar."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/sr-SP.poindex aee2ac020,e54cde692..b5f2abb9e--- a/apps/web/locales/sr-SP.po+++ b/apps/web/locales/sr-SP.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Насловmsgid "To"msgstr "То"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Да бисте га подигли, притисните размакницу или Enter. Стрелицама га померите, размакницом или тастером Enter спустите, а тастером Escape откажите."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/sv-SE.poindex 34f142f95,882c2c4da..19174a7bd--- a/apps/web/locales/sv-SE.po+++ b/apps/web/locales/sv-SE.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Titelmsgid "To"msgstr "Till"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Tryck på blanksteg eller Enter för att plocka upp det. Flytta det med piltangenterna, släpp det med blanksteg eller Enter eller avbryt med Escape."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/ta-IN.poindex 659332055,e4be1ab59..966df8222--- a/apps/web/locales/ta-IN.po+++ b/apps/web/locales/ta-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "தலைப்புmsgid "To"msgstr "செய்ய"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "எடுக்க Space அல்லது Enter ஐ அழுத்தவும். நகர்த்த அம்புக்குறி விசைகளையும், வைக்க Space அல்லது Enter ஐயும், ரத்துசெய்ய Escape ஐயும் பயன்படுத்தவும்."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/te-IN.poindex 9ecce4a80,73615c542..a6f57cfb0--- a/apps/web/locales/te-IN.po+++ b/apps/web/locales/te-IN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "టైటిల్msgid "To"msgstr "కు"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "దాన్ని ఎత్తడానికి Space లేదా Enter నొక్కండి. తరలించడానికి బాణం కీలను, ఉంచడానికి Space లేదా Enterను, రద్దు చేయడానికి Escapeను ఉపయోగించండి."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/th-TH.poindex 107e76c72,1b70188a1..9ced694fc--- a/apps/web/locales/th-TH.po+++ b/apps/web/locales/th-TH.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "ชื่อmsgid "To"msgstr "ถึง"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "กด Space หรือ Enter เพื่อหยิบ ใช้ปุ่มลูกศรเพื่อย้าย กด Space หรือ Enter เพื่อวาง หรือกด Escape เพื่อยกเลิก"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/tr-TR.poindex 4b4f5ad47,232c92192..8314a903a--- a/apps/web/locales/tr-TR.po+++ b/apps/web/locales/tr-TR.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Başlıkmsgid "To"msgstr "İle"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Almak için Boşluk veya Enter tuşuna basın. Taşımak için ok tuşlarını, bırakmak için Boşluk veya Enter tuşunu, iptal etmek için Escape tuşunu kullanın."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/uk-UA.poindex e5c48dfa9,bd0fc9d84..b9f1c575e--- a/apps/web/locales/uk-UA.po+++ b/apps/web/locales/uk-UA.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Назваmsgid "To"msgstr "до"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Щоб узяти елемент, натисніть Пробіл або Enter. Переміщуйте його клавішами зі стрілками, відпустіть Пробілом або Enter, а для скасування натисніть Escape."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/uz-UZ.poindex dc994f860,12310c5b7..5ede6fab4--- a/apps/web/locales/uz-UZ.po+++ b/apps/web/locales/uz-UZ.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Sarlavhamsgid "To"msgstr "Kimga"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Olish uchun Probel yoki Enter tugmasini bosing. Ko‘chirish uchun strelka tugmalaridan, qo‘yish uchun Probel yoki Enter tugmasidan, bekor qilish uchun Escape tugmasidan foydalaning."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/vi-VN.poindex 8d00457f4,36841cd54..efb8c0655--- a/apps/web/locales/vi-VN.po+++ b/apps/web/locales/vi-VN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "Tiêu đềmsgid "To"msgstr "ĐẾN"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "Để nhấc lên, nhấn Phím cách hoặc Enter. Dùng các phím mũi tên để di chuyển, Phím cách hoặc Enter để thả, hoặc Escape để hủy."+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/zh-CN.poindex 4d6b2252a,9ace8394e..cdf6cf4f9--- a/apps/web/locales/zh-CN.po+++ b/apps/web/locales/zh-CN.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "标题msgid "To"msgstr "到"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "按空格键或 Enter 键拿起。使用方向键移动,按空格键或 Enter 键放下,或按 Escape 键取消。"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/zh-TW.poindex f23545890,71066821b..7cdb9c089--- a/apps/web/locales/zh-TW.po+++ b/apps/web/locales/zh-TW.po@@@ -13971,13 -14031,11 +14101,17 @@@ msgstr "標題msgid "To"msgstr "到"+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+msgstr ""++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."+ msgstr "按空白鍵或 Enter 鍵拿起。使用方向鍵移動,按空白鍵或 Enter 鍵放下,或按 Escape 鍵取消。"+#: src/features/applications/components/calendar-view.tsx+#: src/features/command-palette/pages/navigation.tsx#: src/features/resume/share/share-panel.tsx#: src/routes/dashboard/career/route.tsxmsgid "Today"diff --cc apps/web/locales/zu-ZA.poindex 5d0ca5a8b,9899d95fb..296949a5e--- a/apps/web/locales/zu-ZA.po+++ b/apps/web/locales/zu-ZA.po@@@ -13966,9 -14026,8 +14096,12 @@@ msgstr "msgid "To"msgstr ""+#. A letter's recipient under its name in the library+#: src/features/documents/document-card.tsx+msgid "To {recipient}"+++ #: src/libs/dnd.ts+ msgid "To pick it up, press Space or Enter. Use the arrow keys to move it, Space or Enter to drop it, or Escape to cancel."msgstr ""#: src/features/applications/components/calendar-view.tsxdiff --cc apps/web/src/features/command-palette/pages/ask.test.tsxindex 000000000,000000000..647a33e74new file mode 100644--- /dev/null+++ b/apps/web/src/features/command-palette/pages/ask.test.tsx@@@ -1,0 -1,0 +1,43 @@@++// @vitest-environment happy-dom++import { fireEvent, render, screen } from "@testing-library/react";++import { afterEach, expect, it, vi } from "vite-plus/test";++import { i18n } from "@lingui/core";++import { I18nProvider } from "@lingui/react";++import { QueryClient, QueryClientProvider } from "@tanstack/react-query";++import { Command, CommandInput, CommandList } from "@reactive-resume/ui/components/command";++import { useCommandPaletteStore } from "../store";++import { AskCommandGroup } from "./ask";++++const openAssistant = vi.hoisted(() => vi.fn());++vi.mock("@/features/assistant/open", () => ({ openAssistantFrom: openAssistant }));++vi.mock("@tanstack/react-router", () => ({++ useNavigate: () => vi.fn(),++ useRouteContext: () => ({ session: { user: { id: "fixture" } } }),++ useRouterState: () => "/builder/resume-1",++}));++afterEach(() => useCommandPaletteStore.getState().reset());++++it.each(["question ", " question", "two words"])("keeps Ask visible for whitespace query %j", async (search) => {++ i18n.loadAndActivate({ locale: "en-US", messages: {} });++ useCommandPaletteStore.setState({ search });++ const queryClient = new QueryClient();++ render(++ <I18nProvider i18n={i18n}>++ <QueryClientProvider client={queryClient}>++ <Command>++ <CommandInput value={search} />++ <CommandList>++ <AskCommandGroup />++ </CommandList>++ </Command>++ </QueryClientProvider>++ </I18nProvider>,++ );++ const ask = await screen.findByRole("option", {++ name: `Ask the assistant “${search.trim().replace(/\s+/g, " ")}”`,++ });++ expect(ask).toBeVisible();++ fireEvent.click(ask);++ expect(openAssistant).toHaveBeenLastCalledWith({ draft: search.trim() });++ queryClient.clear();++});diff --cc apps/web/src/features/command-palette/pages/ask.tsxindex 691c7b809,691c7b809..8b52a298c--- a/apps/web/src/features/command-palette/pages/ask.tsx+++ b/apps/web/src/features/command-palette/pages/ask.tsx@@@ -34,7 -34,7 +34,7 @@@ export function AskCommandGroup()return (<>{question && (-- <BaseCommandGroup heading={<Trans>Ask</Trans>}>++ <BaseCommandGroup heading={<Trans>Ask</Trans>} forceMount><CommandItemvalue={`ask ${question}`}onSelect={() => {diff --cc apps/web/src/features/documents/new-document-dialog.test.tsxindex bfcd9e634,003f84811..a675d3d17--- a/apps/web/src/features/documents/new-document-dialog.test.tsx+++ b/apps/web/src/features/documents/new-document-dialog.test.tsx@@@ -1,7 -1,7 +1,7 @@@// @vitest-environment happy-domimport type { Application } from "@/features/applications/types";--import { fireEvent, render, screen } from "@testing-library/react";++import { act, fireEvent, render, screen } from "@testing-library/react";import { expect, it, vi } from "vite-plus/test";import { i18n } from "@lingui/core";import { I18nProvider } from "@lingui/react";@@@ -12,7 -12,7 +12,15 @@@ import { applicationsListQueryKey } froimport { orpc } from "@/libs/orpc/client";const navigate = vi.hoisted(() => vi.fn());++const loadJobs = vi.hoisted(() => vi.fn());vi.mock("@tanstack/react-router", () => ({ useNavigate: () => navigate }));++vi.mock("@/features/applications/queries", async (importOriginal) => {++ const queries = await importOriginal<typeof import("@/features/applications/queries")>();++ return {++ ...queries,++ applicationsListQueryOptions: () => ({ ...queries.applicationsListQueryOptions(), queryFn: loadJobs }),++ };++});function mountDialog(context: "documents" | "letters" | "applications" | "career") {i18n.loadAndActivate({ locale: "en-US", messages: {} });@@@ -67,6 -67,6 +75,47 @@@ it("leads the Letters tab with a new leexpect(screen.queryByRole("button", { name: "New cover letter instead" })).toBeNull();});++it("waits for a newly selected job to load before offering an unlinked copy", async () => {++ i18n.loadAndActivate({ locale: "en-US", messages: {} });++ const queryClient = new QueryClient({ defaultOptions: { queries: { retry: false, staleTime: Infinity } } });++ queryClient.setQueryData(orpc.documents.list.queryKey({ input: { trashed: false } }), [++ {++ id: "source",++ type: "resume",++ name: "Resume",++ tags: [],++ isLocked: false,++ isPublic: false,++ slug: "resume",++ trashedAt: null,++ createdAt: new Date(),++ updatedAt: new Date(),++ editedAt: new Date(),++ recipient: null,++ application: null,++ },++ ]);++ queryClient.setQueryData(orpc.aiProviders.list.queryKey(), []);++ let finish = (_jobs: Application[]) => {};++ loadJobs.mockImplementation(() => new Promise<Application[]>((resolve) => (finish = resolve)));++ render(++ <I18nProvider i18n={i18n}>++ <QueryClientProvider client={queryClient}>++ <Dialog open>++ <NewDocumentDialog data={{ step: "copy", applicationId: "new-job" }} />++ </Dialog>++ </QueryClientProvider>++ </I18nProvider>,++ );++ expect(screen.getByRole("button", { name: "Create and open" })).toBeDisabled();++ await act(async () =>++ finish([{ id: "new-job", company: "Example", role: "Engineer", status: "saved" } as Application]),++ );++ expect(await screen.findByRole("button", { name: "Engineer · Example" })).toHaveAttribute("aria-pressed", "true");++ expect(screen.getByRole("button", { name: "Create and open" })).toBeEnabled();++ queryClient.clear();++});++it("routes Save a job from New through Applications' own dialog", () => {navigate.mockClear();mountDialog("career");diff --cc apps/web/src/features/documents/new-document-dialog.tsxindex af6101eae,d861c5b01..6d3cbb41b--- a/apps/web/src/features/documents/new-document-dialog.tsx+++ b/apps/web/src/features/documents/new-document-dialog.tsx@@@ -601,19 -598,14 +601,19 @@@ type CopyForJobProps =onCreated: (resumeId: string, forJob: boolean) => void;};-/** Pick a resume and a job; the copy is named from both and linked to the application. */-function CopyForJob({ initialSourceId, initialJobId, onBack, onCreated }: CopyForJobProps) {+/**+ * Pick a resume and a job; the copy is named from both and linked to the application. Opened from a resume, that+ * resume is a summary row (Change shows the list); a job not saved yet can be added without leaving.+ */+function CopyForJob({ initialSourceId, initialJobId, onBack, onCancel, onCreated }: CopyForJobProps) {const { i18n } = useLingui();const nameId = useId();+ const [changingSource, setChangingSource] = useState(!initialSourceId);+ const [addingJob, setAddingJob] = useState(false);const { data: documents } = useQuery(orpc.documents.list.queryOptions({ input: { trashed: false } }));-- const { data: applications } = useQuery(applicationsListQueryOptions());++ const applications = useQuery(applicationsListQueryOptions());const resumes = (documents ?? []).filter((document) => document.type === "resume");-- const jobs = (applications ?? []).filter((application) => application.status !== "closed");++ const jobs = (applications.data ?? []).filter((application) => application.status !== "closed");const [sourceId, setSourceId] = useState(initialSourceId);const [jobId, setJobId] = useState<string | null>(initialJobId ?? null);const [name, setName] = useState<string | null>(null);@@@ -621,22 -613,22 +621,23 @@@const source = resumes.find((resume) => resume.id === sourceId) ?? resumes[0];const job = jobs.find((application) => application.id === jobId);++ const waitingForJob = !!jobId && !job && applications.isFetching;const base = (source?.name ?? "").split(" — ")[0] ?? "";-- const suggested = job ? `${base} — ${job.company}` : t`${base} (copy)`;++ const suggested = (job ? `${base} — ${job.company}` : t`${base} (copy)`).slice(0, 100);const finalName = (name ?? suggested).trim();const create = async () => {-- if (!source) return;++ if (!source || waitingForJob) return;const input = {resumeId: source.id,-- ...(job ? { applicationId: job.id } : {}),++ ...(jobId ? { applicationId: jobId } : {}),...(finalName ? { name: finalName } : {}),};const message = job ? t`Created and linked to ${job.company}` : t`Created “${finalName}”`;try {const resumeId = await copyForJob(input);toast.add({ description: message });-- onCreated(resumeId, Boolean(job));++ onCreated(resumeId, Boolean(jobId));} catch (error) {toastError(error, t`Couldn't copy the resume. Try again.`);}@@@ -735,24 -710,7 +736,25 @@@{option.label}</button>))}+ <button+ type="button"+ onClick={() => setAddingJob(true)}+ className="flex h-8 items-center gap-1.5 rounded-sm border border-dashed border-line-2 px-3 text-[13px] text-ink-2 transition-[background-color,scale] duration-quick ease-enter hover:bg-hover active:scale-[0.97]"+ >+ <Icon name="plus" size={16} />+ <Trans>Add a job…</Trans>+ </button></div>+ <AddApplicationDialog+ forPicker+ open={addingJob}+ onOpenChange={setAddingJob}+ onAdded={(applicationId) => {+ setJobId(applicationId);+ setName(null);++ void applications.refetch();+ }}+ />{job && (<span className="text-xs text-ink-3"><Trans>The copy is linked to the application, so Check and the assistant use its posting.</Trans>@@@ -776,16 -734,10 +778,16 @@@</div><div className="flex flex-wrap justify-end gap-2">- <Button variant="ghost" onClick={onBack}>- {documents && resumes.length === 0 ? <Trans>Import or create a resume</Trans> : <Trans>Back</Trans>}- </Button>- <Button disabled={!source || !finalName || isPending} onClick={() => void create()}>+ {documents && resumes.length === 0 ? (+ <Button variant="ghost" onClick={onBack}>+ <Trans>Import or create a resume</Trans>+ </Button>+ ) : (+ <Button variant="ghost" onClick={onCancel ?? onBack}>+ {onCancel ? <Trans>Cancel</Trans> : <Trans>Back</Trans>}+ </Button>+ )}- <Button disabled={!source || !finalName || isPending} onClick={() => void create()}>++ <Button disabled={!source || !finalName || isPending || waitingForJob} onClick={() => void create()}><Trans>Create and open</Trans></Button></div>diff --cc apps/web/src/features/settings/preferences.tsxindex 6d8ad226d,f535d2eb6..d73eed5d2--- a/apps/web/src/features/settings/preferences.tsx+++ b/apps/web/src/features/settings/preferences.tsx@@@ -67,13 -67,7 +67,13 @@@ export function PreferencesSettings());}-const timeZones = Intl.supportedValuesOf("timeZone").map((zone) => ({ value: zone, label: zone }));+// Browsers list canonical zones only: UTC, the default for older accounts, and aliases a device reports are missing.+const timeZones = Intl.supportedValuesOf("timeZone");+const timeZoneOptions = (current: string) =>- (timeZones.includes(current) ? timeZones : [...timeZones, current].toSorted()).map((zone) => ({++ (timeZones.includes(current) ? timeZones : [...timeZones, current].sort()).map((zone) => ({+ value: zone,+ label: zone,+ }));/** The account's timezone, which interview times, reminders and schedules use. Saved as soon as it's chosen. */function TimezoneSetting({ id }: { id: string }) {diff --cc migrations/20261101050044_rx114_content_edited_at/migration.sqlindex 9fb8ea668,000000000..b17210959mode 100644,000000..100644--- a/migrations/20261101050044_rx114_content_edited_at/migration.sql+++ b/migrations/20261101050044_rx114_content_edited_at/migration.sql@@@ -1,27 -1,0 +1,27 @@@+-- "Last edited" follows content only. The column is added without a default so the backfill below can freeze each+-- existing document's baseline at the time the library already showed: its updated_at. Metadata-only writes (tags,+-- sharing, lock, rename, Trash/restore) keep moving updated_at, the concurrency check, but no longer move this.+ALTER TABLE "cover_letter" ADD COLUMN "edited_at" timestamp with time zone;--> statement-breakpoint+ALTER TABLE "cover_letter" ALTER COLUMN "edited_at" SET DEFAULT now();--> statement-breakpoint+UPDATE "cover_letter" SET "edited_at" = "updated_at" WHERE "edited_at" IS NULL;--> statement-breakpoint+ALTER TABLE "resume" ADD COLUMN "edited_at" timestamp with time zone;--> statement-breakpoint+ALTER TABLE "resume" ALTER COLUMN "edited_at" SET DEFAULT now();--> statement-breakpoint+UPDATE "resume" SET "edited_at" = "updated_at" WHERE "edited_at" IS NULL;--> statement-breakpoint+-- New rows start at their creation time, and every write path (editor saves, patches, the assistant, restores, API and+-- MCP clients) changes these columns through an UPDATE, so the database keeps edited_at rather than each caller.+CREATE FUNCTION "touch_edited_at"() RETURNS trigger LANGUAGE plpgsql AS $$+BEGIN- NEW."edited_at" := now();++ NEW."edited_at" := clock_timestamp();+ RETURN NEW;+END;+$$;--> statement-breakpoint+CREATE TRIGGER "resume_edited_at" BEFORE UPDATE OF "data" ON "resume"+ FOR EACH ROW WHEN (NEW."data" IS DISTINCT FROM OLD."data") EXECUTE FUNCTION "touch_edited_at"();--> statement-breakpoint+CREATE TRIGGER "cover_letter_edited_at" BEFORE UPDATE ON "cover_letter"+ FOR EACH ROW WHEN (+ (NEW."recipient", NEW."content", NEW."greeting", NEW."sign_off", NEW."style", NEW."layout", NEW."recipient_name",+ NEW."recipient_company", NEW."letter_date", NEW."sender_linked", NEW."design_linked", NEW."source_resume_id")+ IS DISTINCT FROM+ (OLD."recipient", OLD."content", OLD."greeting", OLD."sign_off", OLD."style", OLD."layout", OLD."recipient_name",+ OLD."recipient_company", OLD."letter_date", OLD."sender_linked", OLD."design_linked", OLD."source_resume_id")+ ) EXECUTE FUNCTION "touch_edited_at"();diff --cc packages/api/src/features/cover-letters/html.tsindex 38f8a9017,38f8a9017..c17fcd24a--- a/packages/api/src/features/cover-letters/html.ts+++ b/packages/api/src/features/cover-letters/html.ts@@@ -1,5 -1,5 +1,30 @@@++import { Parser } from "htmlparser2";import sanitizeHtml from "sanitize-html";++/** Legacy recipient markup becomes display text, never executable markup or encoded entity syntax. */++export function coverLetterRecipientText(html: string): string {++ let text = "";++ let hidden = 0;++ const blocks = new Set(["p", "div", "br", "li", "blockquote", "h1", "h2", "h3", "tr"]);++ new Parser(++ {++ onopentag(name) {++ if (name === "script" || name === "style") hidden++;++ else if (!hidden && blocks.has(name)) text += " ";++ },++ ontext(value) {++ if (!hidden) text += value;++ },++ onclosetag(name) {++ if (name === "script" || name === "style") hidden = Math.max(0, hidden - 1);++ else if (!hidden && blocks.has(name)) text += " ";++ },++ },++ { decodeEntities: true },++ ).end(html);++ return text.replace(/\s+/g, " ").trim();++}++// Match RichInput's formatting surface, without executable markup or CSS URLs.export function sanitizeCoverLetterHtml(html: string): string {return sanitizeHtml(html, {diff --cc packages/api/src/features/documents/listing.integration.test.tsindex 6384e9aaa,230752b65..d711a4ce4--- a/packages/api/src/features/documents/listing.integration.test.ts+++ b/packages/api/src/features/documents/listing.integration.test.ts@@@ -39,10 -39,9 +39,10 @@@ describe.skipIf(!process.env.COVER_LETTCREATE TABLE application (id text PRIMARY KEY, user_id text, company text, role text);CREATE TABLE resume (id text PRIMARY KEY, user_id text, name text, tags text[] DEFAULT '{}', is_locked boolean DEFAULT false,is_public boolean DEFAULT false, slug text DEFAULT 'resume', trashed_at timestamptz, created_at timestamptz DEFAULT '2026-01-01',- updated_at timestamptz DEFAULT '2026-01-01', application_id text);+ updated_at timestamptz DEFAULT '2026-01-01', edited_at timestamptz, application_id text);CREATE TABLE cover_letter (LIKE resume INCLUDING DEFAULTS);- ALTER TABLE cover_letter ADD COLUMN source_application_id text;+ ALTER TABLE cover_letter ADD COLUMN source_application_id text, ADD COLUMN recipient_name text DEFAULT '',- ADD COLUMN recipient_company text DEFAULT '';++ ADD COLUMN recipient_company text DEFAULT '', ADD COLUMN layout text DEFAULT 'structured', ADD COLUMN recipient text DEFAULT '';INSERT INTO application VALUES ('job', 'owner', 'Orbital', 'Design lead'), ('foreign-job', 'stranger', 'Secret', 'Private');INSERT INTO resume (id, user_id, name, tags, is_public, application_id) VALUES('same', 'owner', 'Alpha', ARRAY['design','shared'], true, 'job'),@@@ -87,6 -86,6 +87,33 @@@});});++ it("projects legacy recipients only for freeform letters, with HTML entities decoded", async () => {++ await pool.query(`INSERT INTO cover_letter (id,user_id,name,layout,recipient,recipient_company) VALUES++ ('recipient-free','owner','Recipient fixture 1','freeform','<p>R&D 'Team'</p><p>Example Ltd</p><script>hidden</script>',''),++ ('recipient-structured','owner','Recipient fixture 2','structured','<p>Stale recipient</p>',''),++ ('recipient-current','owner','Recipient fixture 3','freeform','<p>Old recipient</p>','Current company')`);++ try {++ const page = await api.page({ type: "letter", q: "Recipient fixture", sort: "name" });++ expect(page.items.map((row) => row.recipient)).toEqual(["R&D 'Team' Example Ltd", null, "Current company"]);++ expect(page.items.every((row) => !("legacyRecipient" in row))).toBe(true);++ } finally {++ await pool.query(++ `DELETE FROM cover_letter WHERE id IN ('recipient-free','recipient-structured','recipient-current')`,++ );++ }++ });++++ it("keeps long repeated resume names unique across numbered stem fallbacks", async () => {++ const name = "Long imported name ".repeat(6).slice(0, 100);++ const stem = name.slice(0, 94);++ await pool.query(++ `INSERT INTO resume (id,user_id,name) VALUES ('name-original','naming',$1),('name-two','naming',$2),('name-three','naming',$3),('name-foreign','stranger',$4)`,++ [name, `${stem} (2)`, `${stem} (3)`, `${stem} (4)`],++ );++ const { findFreeResumeName } = await import("../resume/slugs");++ expect(await findFreeResumeName("naming", name)).toBe(`${stem} (4)`);++ });++it("filters before paging/counting, uses every tag, searches each field and treats wildcard characters literally", async () => {for (const q of ["orbital", "DESIGN LEAD", "design"]) {const page = await api.page({ q, type: "resume", tags: ["design", "shared"], limit: 1, offset: 1 });diff --cc packages/api/src/features/documents/listing.tsindex cbba21286,94d82155e..ee79c6b55--- a/packages/api/src/features/documents/listing.ts+++ b/packages/api/src/features/documents/listing.ts@@@ -4,6 -4,6 +4,7 @@@ import type { SQLWrapper } from "drizzlimport { and, arrayContains, asc, desc, eq, gte, isNull, or, sql } from "drizzle-orm";import { db } from "@reactive-resume/db/client";import { application, coverLetter, resume } from "@reactive-resume/db/schema";++import { coverLetterRecipientText } from "../cover-letters/html";type ListInput = DocumentFilters & { userId: string; limit?: number | undefined; offset?: number | undefined };@@@ -23,9 -23,6 +24,10 @@@ function library(database: DbOrTx, inputrashedAt: resume.trashedAt,createdAt: resume.createdAt,updatedAt: resume.updatedAt,+ // The migration backfills existing documents from updated_at; coalesce only covers a row that slipped in null.+ editedAt: sql<Date>`coalesce(${resume.editedAt}, ${resume.updatedAt})`.mapWith(resume.updatedAt).as("edited_at"),+ recipient: sql<string | null>`null::text`.as("recipient"),++ legacyRecipient: sql<string | null>`null::text`.as("legacy_recipient"),applicationId: sql<string | null>`${application.id}`.as("application_id"),company: application.company,role: application.role,@@@ -47,14 -44,6 +49,19 @@@trashedAt: coverLetter.trashedAt,createdAt: coverLetter.createdAt,updatedAt: coverLetter.updatedAt,+ editedAt: sql<Date>`coalesce(${coverLetter.editedAt}, ${coverLetter.updatedAt})`+ .mapWith(coverLetter.updatedAt)+ .as("edited_at"),+ recipient: sql<+ string | null+ >`coalesce(nullif(${coverLetter.recipientCompany}, ''), nullif(${coverLetter.recipientName}, ''))`.as(+ "recipient",+ ),++ legacyRecipient: sql<++ string | null++ >`case when ${coverLetter.layout} = 'freeform' then ${coverLetter.recipient} else null end`.as(++ "legacy_recipient",++ ),applicationId: sql<string | null>`${application.id}`.as("application_id"),company: application.company,role: application.role,@@@ -109,8 -98,8 +116,9 @@@ async function readDocuments(database:.where(where): undefined;return {-- items: items.map(({ applicationId, company, role, ...row }): DocumentSummary => ({++ items: items.map(({ applicationId, company, role, legacyRecipient, ...row }): DocumentSummary => ({...row,++ recipient: row.recipient ?? (coverLetterRecipientText(legacyRecipient ?? "") || null),application: applicationId ? { id: applicationId, company: company ?? "", role: role ?? "" } : null,})),total: totals?.[0]?.total ?? items.length,diff --cc packages/api/src/features/resume/slugs.tsindex 3675f4405,d04888938..7cb233c3a--- a/packages/api/src/features/resume/slugs.ts+++ b/packages/api/src/features/resume/slugs.ts@@@ -89,32 -89,6 +89,32 @@@ export async function followNameWithSlu}}+/**+ * A name none of the user's live resumes has, so two imports of one person stay apart in lists and pickers: `name`,+ * then "name — detail" (the headline), then a number.+ */+export async function findFreeResumeName(userId: string, name: string, detail?: string) {+ const rows = await db+ .select({ name: schema.resume.name })+ .from(schema.resume)+ .where(+ and(+ eq(schema.resume.userId, userId),+ isNull(schema.resume.trashedAt),- sql`strpos(lower(${schema.resume.name}), lower(${name})) = 1`,++ sql`strpos(lower(${schema.resume.name}), lower(${name.slice(0, 94)})) = 1`,+ ),+ );+ const taken = new Set(rows.map((row) => row.name.toLowerCase()));+ const free = (candidate: string) => !taken.has(candidate.toLowerCase());+ if (free(name)) return name;+ const described = detail?.trim() && detail.trim() !== name ? `${name} — ${detail.trim()}`.slice(0, 100) : null;+ if (described && free(described)) return described;+ const base = (described ?? name).slice(0, 94);+ for (let number = 2; ; number++) {+ if (free(`${base} (${number})`)) return `${base} (${number})`;+ }+}+/** Whether a slug can be this resume's address, and if not, why and what would work instead. */export async function checkSlug(input: { userId: string; resumeId: string; slug: string }) {const [holder] = await dbdiff --cc packages/api/src/features/resume/social-meta.test.tsindex e2723aed8,ff1f040f1..71c215180--- a/packages/api/src/features/resume/social-meta.test.ts+++ b/packages/api/src/features/resume/social-meta.test.ts@@@ -25,8 -25,8 +25,8 @@@ describe("getPublicResumeCardData", ()const data = structuredClone(sampleResumeData);data.basics.name = "";data.summary.hidden = true;-- // Columns in select order: data, hideContactDetails, isPrimary, customDomain.-- pg.rows = [[data, false, false, null]];++ // Columns in select order: data, hideContactDetails, isPrimary, customDomain, username.++ pg.rows = [[data, false, false, null, "jane"]];const card = await getPublicResumeCardData({ username: "jane", slug: "resume" });@@@ -37,12 -37,12 +37,13 @@@expect(query?.text).toContain('"resume"."trashed_at" is null');expect(card?.data.summary.content).toBe("");expect(card?.data.basics.headline).toBe(data.basics.headline);++ expect(card?.isReleasedUsername).toBe(false);});it("matches renamed slugs via resumeSlugRedirect when redirect is active", async () => {const data = structuredClone(sampleResumeData);data.basics.name = "Jane Doe";-- pg.rows = [[data, false, false, null]];++ pg.rows = [[data, false, false, null, "jane"]];const card = await getPublicResumeCardData({ username: "jane", slug: "old-slug" });@@@ -62,4 -62,4 +63,10 @@@const card = await getPublicResumeCardData({ username: "jane", slug: "missing-slug" });expect(card).toBeNull();});++++ it("identifies a card resolved through a released username", async () => {++ pg.rows = [[structuredClone(sampleResumeData), false, false, null, "new-jane"]];++ const card = await getPublicResumeCardData({ username: "jane", slug: "resume" });++ expect(card?.isReleasedUsername).toBe(true);++ });});diff --cc packages/api/src/features/resume/social-meta.tsindex 035316021,035316021..2493962eb--- a/packages/api/src/features/resume/social-meta.ts+++ b/packages/api/src/features/resume/social-meta.ts@@@ -16,7 -16,7 +16,7 @@@ export type PublicResumeCardInput = { u*/export async function getPublicResumeCardData(input: PublicResumeCardInput,--): Promise<{ data: ResumeData; isPrimary: boolean; customDomain: string | null } | null> {++): Promise<{ data: ResumeData; isPrimary: boolean; customDomain: string | null; isReleasedUsername: boolean } | null> {const resume = await findResume({ username: input.username, slug: input.slug },{@@@ -24,6 -24,6 +24,7 @@@hideContactDetails: schema.resume.hideContactDetails,isPrimary: schema.resume.isPrimary,customDomain: verifiedDomainColumn(),++ username: schema.user.username,},eq(schema.resume.isPublic, true),isNull(schema.resume.password),@@@ -33,5 -33,5 +34,6 @@@data: publicResumeData(resume),isPrimary: resume.isPrimary,customDomain: resume.isPrimary ? resume.customDomain : null,++ isReleasedUsername: resume.username?.toLowerCase() !== input.username.toLowerCase(),};}diff --cc packages/db/src/migrations.integration.test.tsindex 1381bb4a1,3829a3145..f52625b6a--- a/packages/db/src/migrations.integration.test.ts+++ b/packages/db/src/migrations.integration.test.ts@@@ -16,116 -16,6 +16,140 @@@ const v6Migration = "20261001042749_v6_// Needs CREATE DATABASE permission; owns and deletes two disposable databases, never the supplied database.describe.skipIf(!process.env.COVER_LETTER_TEST_DATABASE_URL)("database migrations", () => {+ it("freezes Last edited at updated_at for documents that existed before edited_at, and only content edits move it", async () => {+ const databaseUrl = process.env.COVER_LETTER_TEST_DATABASE_URL;+ if (!databaseUrl) throw new Error("COVER_LETTER_TEST_DATABASE_URL is required");+ const admin = new Pool({ connectionString: databaseUrl });+ const baselineFolder = await mkdtemp(path.join(tmpdir(), "rr-edited-at-"));+ const databaseName = `edited_at_upgrade_${randomUUID().replaceAll("-", "")}`;+ await admin.query(`CREATE DATABASE "${databaseName}"`);+ const url = new URL(databaseUrl);+ url.pathname = `/${databaseName}`;- const pool = new Pool({ connectionString: url.toString(), max: 1 });++ const pool = new Pool({ connectionString: url.toString(), max: 2 });+ const db = drizzle({ client: pool });+ try {+ for (const name of await readdir(migrationsFolder)) {+ if (name < v6Migration) await symlink(path.join(migrationsFolder, name), path.join(baselineFolder, name));+ }+ // The real upgrade path: documents that already exist in two accounts, with the times the library showed.+ await migrate(db, { migrationsFolder: baselineFolder });+ await pool.query(+ `INSERT INTO "user" (id,name,email,username,display_username) VALUES ('up-a','Ana','[email protected]','ana','ana'),('up-b','Ben','[email protected]','ben','ben')`,+ );+ await pool.query(+ `INSERT INTO resume (id,user_id,name,slug,data) VALUES ('a-resume','up-a','A resume','a-resume','{"basics":{}}'),('b-resume','up-b','B resume','b-resume','{"basics":{}}')`,+ );+ await pool.query(+ `INSERT INTO cover_letter (id,user_id,name,content,style) VALUES ('a-letter','up-a','A letter','Old letter','{}')`,+ );+ await pool.query(`UPDATE resume SET updated_at='2025-01-02T00:00:00Z' WHERE id='a-resume'`);+ await pool.query(`UPDATE resume SET updated_at='2025-02-02T00:00:00Z' WHERE id='b-resume'`);+ await pool.query(`UPDATE cover_letter SET updated_at='2025-03-04T00:00:00Z' WHERE id='a-letter'`);++ await migrate(db, { migrationsFolder });++ const baseline = (+ await pool.query(+ `SELECT id,user_id,updated_at,edited_at FROM resume UNION ALL SELECT id,user_id,updated_at,edited_at FROM cover_letter ORDER BY id`,+ )+ ).rows as { id: string; user_id: string; updated_at: Date; edited_at: Date | null }[];+ // No preset edited_at anywhere: the migration itself must freeze the baseline the library already showed.+ expect(baseline.map((row) => [row.id, row.edited_at?.getTime()])).toEqual(+ baseline.map((row) => [row.id, row.updated_at.getTime()]),+ );+ expect(baseline.every((row) => row.edited_at !== null)).toBe(true);++ const order = async (userId: string) =>+ (+ await pool.query(+ `SELECT id FROM (+ SELECT id,coalesce(edited_at,updated_at) AS at,user_id FROM resume+ UNION ALL SELECT id,coalesce(edited_at,updated_at),user_id FROM cover_letter+ ) d WHERE user_id=$1 ORDER BY at DESC, id`,+ [userId],+ )+ ).rows.map((row) => row.id as string);+ expect(await order("up-a")).toEqual(["a-letter", "a-resume"]);+ expect(await order("up-b")).toEqual(["b-resume"]);++ // What the documents service does for tags, sharing, rename, lock and Trash: the detail changes and Drizzle's+ // $onUpdate moves updated_at, but none of it may move "Last edited" or the default order.+ await pool.query(+ `UPDATE resume SET tags='{remote}',is_public=true,is_locked=true,name='Renamed' WHERE id='a-resume'`,+ );+ await pool.query(`UPDATE resume SET updated_at=now() WHERE id='a-resume'`);+ await pool.query(+ `UPDATE cover_letter SET name='Renamed letter',tags='{remote}',trashed_at=now() WHERE id='a-letter'`,+ );+ await pool.query(`UPDATE cover_letter SET updated_at=now() WHERE id='a-letter'`);+ const afterMetadata = (await pool.query(`SELECT edited_at,updated_at FROM resume WHERE id='a-resume'`))+ .rows[0] as { edited_at: Date; updated_at: Date };+ expect(afterMetadata.edited_at).toEqual(new Date("2025-01-02T00:00:00.000Z"));+ // The concurrency check still follows every write.+ expect(afterMetadata.updated_at.getTime()).toBeGreaterThan(Date.parse("2025-01-02T00:00:00Z"));+ expect((await pool.query(`SELECT edited_at FROM cover_letter WHERE id='a-letter'`)).rows[0].edited_at).toEqual(+ new Date("2025-03-04T00:00:00.000Z"),+ );+ expect(await order("up-a")).toEqual(["a-letter", "a-resume"]);+ expect(await order("up-b")).toEqual(["b-resume"]);++ // A real content edit advances it: the resume's data, and each of a letter's text, recipient and design fields.+ await pool.query(`UPDATE resume SET data=jsonb_set(data,'{basics,name}','"Ana"') WHERE id='a-resume'`);+ const editedAt = async (table: "resume" | "cover_letter", id: string) =>+ (await pool.query(`SELECT edited_at,updated_at FROM ${table} WHERE id=$1`, [id])).rows[0] as {+ edited_at: Date;+ updated_at: Date;+ };+ const resumeEdit = await editedAt("resume", "a-resume");+ expect(resumeEdit.edited_at.getTime()).toBeGreaterThan(Date.parse("2025-01-02T00:00:00Z"));+ expect(await order("up-a")).toEqual(["a-resume", "a-letter"]);++ for (const [column, value] of [+ ["content", "'New letter'"],+ ["recipient", "'Acme'"],+ ["style", '\'{"primaryColor":"#000"}\''],+ ] as const) {- const before = (await editedAt("cover_letter", "a-letter")).edited_at.getTime();++ const before = Date.parse("2025-03-04T00:00:00Z");++ await pool.query(`UPDATE cover_letter SET edited_at=$1 WHERE id='a-letter'`, [new Date(before)]);+ await pool.query(`UPDATE cover_letter SET ${column}=${value} WHERE id='a-letter'`);+ expect((await editedAt("cover_letter", "a-letter")).edited_at.getTime()).toBeGreaterThan(before);+ }+++ // A transaction opened first can write last after waiting for another writer's row lock.++ // Compare in PostgreSQL, retaining microseconds instead of depending on JS millisecond timing.++ const earlierWriter = await pool.connect();++ const delayedWriter = await pool.connect();++ try {++ await delayedWriter.query("BEGIN");++ await earlierWriter.query("BEGIN");++ const earlier = await earlierWriter.query(++ `UPDATE resume SET data=jsonb_set(data,'{basics,name}','"Earlier writer"') WHERE id='a-resume' RETURNING edited_at::text AS at`,++ );++ const delayed = delayedWriter.query(++ `UPDATE resume SET data=jsonb_set(data,'{basics,name}','"Later writer"') WHERE id='a-resume' RETURNING edited_at > $1::timestamptz AS newer`,++ [earlier.rows[0].at],++ );++ await earlierWriter.query("COMMIT");++ const result = await delayed;++ await delayedWriter.query("COMMIT");++ expect(result.rows[0].newer).toBe(true);++ } finally {++ earlierWriter.release();++ delayedWriter.release();++ }+++ // A document created after the migration starts its own clock, and the other account was never touched.+ await pool.query(`INSERT INTO resume (id,user_id,name,slug,data) VALUES ('a-new','up-a','New','a-new','{}')`);+ expect((await editedAt("resume", "a-new")).edited_at).toBeInstanceOf(Date);+ expect((await editedAt("resume", "b-resume")).edited_at).toEqual(new Date("2025-02-02T00:00:00.000Z"));+ } finally {+ await pool.end();+ await admin.query(`DROP DATABASE "${databaseName}"`);+ await admin.end();+ await rm(baselineFolder, { recursive: true, force: true });+ }+ }, 30_000);+it("creates the current schema, preserves v5 documents on upgrade, and supports retries and rollback", async () => {const databaseUrl = process.env.COVER_LETTER_TEST_DATABASE_URL;if (!databaseUrl) throw new Error("COVER_LETTER_TEST_DATABASE_URL is required");