Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

feat: Add links to resumes in AutomationDetailPage and MatchDetails components

Khuram Niaz35c026836e80
diff --git a/src/app/dashboard/automations/[id]/page.tsx b/src/app/dashboard/automations/[id]/page.tsx
index 92df032..db1bc2a 100644
--- a/src/app/dashboard/automations/[id]/page.tsx
+++ b/src/app/dashboard/automations/[id]/page.tsx
@@ -324,10 +324,13 @@ export default function AutomationDetailPage() {
Missing
</p>
) : (
- <p className="font-medium flex items-center gap-1">
+ <Link
+ href={`/dashboard/profile/resume/${automation.resume.id}`}
+ className="font-medium flex items-center gap-1 hover:underline"
+ >
<FileText className="h-4 w-4" />
{automation.resume.title}
- </p>
+ </Link>
)}
</div>
<div>
diff --git a/src/components/TipTapContentViewer.tsx b/src/components/TipTapContentViewer.tsx
index ea739d8..dcce772 100644
--- a/src/components/TipTapContentViewer.tsx
+++ b/src/components/TipTapContentViewer.tsx
@@ -26,6 +26,7 @@ export const TipTapContentViewer = ({ content }: { content: string }) => {
],
content: "",
editable: false,
+ immediatelyRender: false,
});
useEffect(() => {
editor?.commands.setContent(content);
diff --git a/src/components/automations/MatchDetails.tsx b/src/components/automations/MatchDetails.tsx
index 0fe9d8d..6d48b31 100644
--- a/src/components/automations/MatchDetails.tsx
+++ b/src/components/automations/MatchDetails.tsx
@@ -1,6 +1,7 @@
"use client";
import { useMemo } from "react";
+import Link from "next/link";
import MarkdownIt from "markdown-it";
import { format } from "date-fns";
import { Badge } from "@/components/ui/badge";
@@ -56,7 +57,16 @@ export function MatchDetails({ matchData, discoveredAt }: MatchDetailsProps) {
{matchData.resumeTitle && (
<p>
Matched with resume:{" "}
- <span className="font-medium">{matchData.resumeTitle}</span>
+ {matchData.resumeId ? (
+ <Link
+ href={`/dashboard/profile/resume/${matchData.resumeId}`}
+ className="font-medium underline hover:text-foreground"
+ >
+ {matchData.resumeTitle}
+ </Link>
+ ) : (
+ <span className="font-medium">{matchData.resumeTitle}</span>
+ )}
</p>
)}
{matchData.provider && (