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.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
Add view jobs link under actions
Khuram Niaz1a3a4dd58111
diff --git a/src/components/admin/CompaniesTable.tsx b/src/components/admin/CompaniesTable.tsxindex 094a0d8..c77633d 100644--- a/src/components/admin/CompaniesTable.tsx+++ b/src/components/admin/CompaniesTable.tsx@@ -16,7 +16,7 @@ import {TableRow,} from "../ui/table";import { Company } from "@/models/job.model";-import { MoreHorizontal, Pencil, Trash } from "lucide-react";+import { Briefcase, MoreHorizontal, Pencil, Trash } from "lucide-react";import { useState } from "react";import Link from "next/link";import { deleteCompanyById } from "@/actions/company.actions";@@ -119,7 +119,7 @@ function CompaniesTable({{company._count.jobsApplied}</Link>) : (- company._count?.jobsApplied ?? 0+ (company._count?.jobsApplied ?? 0))}</TableCell><TableCell>@@ -132,6 +132,16 @@ function CompaniesTable({</DropdownMenuTrigger><DropdownMenuContent align="end"><DropdownMenuLabel>Actions</DropdownMenuLabel>+ {company._count?.jobsApplied ? (+ <DropdownMenuItem className="cursor-pointer" asChild>+ <Link+ href={`/dashboard/myjobs?company=${encodeURIComponent(company.value)}&applied=true`}+ >+ <Briefcase className="mr-2 h-4 w-4" />+ View Jobs+ </Link>+ </DropdownMenuItem>+ ) : null}<DropdownMenuItemclassName="cursor-pointer"onClick={() => editCompany(company.id)}diff --git a/src/components/admin/JobLocationsTable.tsx b/src/components/admin/JobLocationsTable.tsxindex 629c644..25bc2d2 100644--- a/src/components/admin/JobLocationsTable.tsx+++ b/src/components/admin/JobLocationsTable.tsx@@ -19,7 +19,7 @@ import {TableRow,} from "../ui/table";import { JobLocation } from "@/models/job.model";-import { MoreHorizontal, Trash } from "lucide-react";+import { Briefcase, MoreHorizontal, Trash } from "lucide-react";import Link from "next/link";import { AlertDialog } from "@/models/alertDialog.model";import { toast } from "../ui/use-toast";@@ -104,7 +104,7 @@ function JobLocationsTable({{location._count.jobsApplied}</Link>) : (- location._count?.jobsApplied ?? 0+ (location._count?.jobsApplied ?? 0))}</TableCell><TableCell>@@ -117,6 +117,16 @@ function JobLocationsTable({</DropdownMenuTrigger><DropdownMenuContent align="end"><DropdownMenuLabel>Actions</DropdownMenuLabel>+ {location._count?.jobsApplied ? (+ <DropdownMenuItem className="cursor-pointer" asChild>+ <Link+ href={`/dashboard/myjobs?location=${encodeURIComponent(location.value)}&applied=true`}+ >+ <Briefcase className="mr-2 h-4 w-4" />+ View Jobs+ </Link>+ </DropdownMenuItem>+ ) : null}<DropdownMenuItemclassName="text-red-600 cursor-pointer"onClick={() => onDeleteJobLocation(location)}diff --git a/src/components/admin/JobSourcesTable.tsx b/src/components/admin/JobSourcesTable.tsxindex 2e3879c..e6e59a4 100644--- a/src/components/admin/JobSourcesTable.tsx+++ b/src/components/admin/JobSourcesTable.tsx@@ -18,7 +18,7 @@ import {TableRow,} from "../ui/table";import { JobSource } from "@/models/job.model";-import { MoreHorizontal, Trash } from "lucide-react";+import { Briefcase, MoreHorizontal, Trash } from "lucide-react";import Link from "next/link";import { AlertDialog } from "@/models/alertDialog.model";import { DeleteAlertDialog } from "../DeleteAlertDialog";@@ -107,7 +107,7 @@ function JobSourcesTable({{source._count.jobsApplied}</Link>) : (- source._count?.jobsApplied ?? 0+ (source._count?.jobsApplied ?? 0))}</TableCell><TableCell>@@ -120,6 +120,16 @@ function JobSourcesTable({</DropdownMenuTrigger><DropdownMenuContent align="end"><DropdownMenuLabel>Actions</DropdownMenuLabel>+ {source._count?.jobsApplied ? (+ <DropdownMenuItem className="cursor-pointer" asChild>+ <Link+ href={`/dashboard/myjobs?source=${encodeURIComponent(source.value)}&applied=true`}+ >+ <Briefcase className="mr-2 h-4 w-4" />+ View Jobs+ </Link>+ </DropdownMenuItem>+ ) : null}<DropdownMenuItemclassName="text-red-600 cursor-pointer"onClick={() => onDeleteJobSource(source)}diff --git a/src/components/admin/JobTitlesTable.tsx b/src/components/admin/JobTitlesTable.tsxindex 61fc8f2..65b5024 100644--- a/src/components/admin/JobTitlesTable.tsx+++ b/src/components/admin/JobTitlesTable.tsx@@ -18,7 +18,7 @@ import {TableRow,} from "../ui/table";import { JobTitle } from "@/models/job.model";-import { MoreHorizontal, Trash } from "lucide-react";+import { Briefcase, MoreHorizontal, Trash } from "lucide-react";import Link from "next/link";import { AlertDialog } from "@/models/alertDialog.model";import { DeleteAlertDialog } from "../DeleteAlertDialog";@@ -103,7 +103,7 @@ function JobTitlesTable({ jobTitles, reloadJobTitles }: JobTitlesTableProps) {{title._count.jobs}</Link>) : (- title._count?.jobs ?? 0+ (title._count?.jobs ?? 0))}</TableCell><TableCell>@@ -116,6 +116,16 @@ function JobTitlesTable({ jobTitles, reloadJobTitles }: JobTitlesTableProps) {</DropdownMenuTrigger><DropdownMenuContent align="end"><DropdownMenuLabel>Actions</DropdownMenuLabel>+ {title._count?.jobs ? (+ <DropdownMenuItem className="cursor-pointer" asChild>+ <Link+ href={`/dashboard/myjobs?title=${encodeURIComponent(title.value)}&applied=true`}+ >+ <Briefcase className="mr-2 h-4 w-4" />+ View Jobs+ </Link>+ </DropdownMenuItem>+ ) : null}<DropdownMenuItemclassName="text-red-600 cursor-pointer"onClick={() => onDeleteJobTitle(title)}