From f5e41f7efe5b18b99bb82655d51b268a82191e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Fri, 3 Apr 2026 17:51:14 +0200 Subject: [PATCH] fix(ux): improve empty-state messaging for tickets #49 and #57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #49 — upgrade MyVacationsClient account-not-linked inline text to a prominent centred amber card with icon, heading, and admin-action guidance. #57 — replace vague AI suggestions hint with actionable copy explaining the Step 3 dependency before the user wonders why the list is empty. Co-Authored-By: claude-flow --- apps/web/src/components/projects/ProjectWizard.tsx | 2 +- .../src/components/vacations/MyVacationsClient.tsx | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/projects/ProjectWizard.tsx b/apps/web/src/components/projects/ProjectWizard.tsx index 88e0c94..79aaaf7 100644 --- a/apps/web/src/components/projects/ProjectWizard.tsx +++ b/apps/web/src/components/projects/ProjectWizard.tsx @@ -730,7 +730,7 @@ function ReqSuggestions({ if (!req.requiredSkills.length) { return ( -

Add required skills in Step 3 to see suggestions.

+

No skills defined for this demand yet. Go back to Step 3 and add required skills — the AI will then suggest matching resources here.

); } diff --git a/apps/web/src/components/vacations/MyVacationsClient.tsx b/apps/web/src/components/vacations/MyVacationsClient.tsx index 88294ce..e2c5390 100644 --- a/apps/web/src/components/vacations/MyVacationsClient.tsx +++ b/apps/web/src/components/vacations/MyVacationsClient.tsx @@ -74,8 +74,17 @@ export function MyVacationsClient() { {!resourceId && ( -
- Your account is not linked to a resource. Please contact an administrator. +
+ + + +
+

Account not linked to a resource

+

+ Your user account has not been connected to a resource record yet. Vacation tracking requires this link.
+ Please ask an administrator to open your resource profile and link it to your account. +

+
)}