From 5fad33634a6e47d4a8610fe2ef9582c1b1114927 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Mon, 27 Jul 2026 23:02:11 +0530 Subject: [PATCH] Show specifically what's missing before submit-for-verification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The disabled-button hint just said "Complete all required fields to submit" with no indication of which section was incomplete. For job seekers, portfolio completion (headline, summary, education, work experience, skills — filled in via My Portfolio, a separate page from this one) is required alongside Basic Info and Documents, so seeing both visible tabs fully checked while submit stays disabled looked like a bug. Now names the actual missing items. Co-Authored-By: Claude Sonnet 5 --- src/components/dashboard/ProfilePage.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/dashboard/ProfilePage.tsx b/src/components/dashboard/ProfilePage.tsx index a9b7f55..1cb50c1 100644 --- a/src/components/dashboard/ProfilePage.tsx +++ b/src/components/dashboard/ProfilePage.tsx @@ -1330,7 +1330,13 @@ export default function ProfilePage(props: Props) { - Complete all required fields to submit + {(() => { + const parts: string[] = []; + if (missingBasicLabels().length) parts.push(missingBasicLabels().join(", ")); + if (missingDocLabels().length) parts.push(missingDocLabels().join(", ")); + if (missingPortfolioLabels().length) parts.push(`${missingPortfolioLabels().join(", ")} (in My Portfolio)`); + return parts.length ? `Missing: ${parts.join("; ")}` : "Complete all required fields to submit"; + })()}