From e10a569bc2c4e57fb88e56820ee612a1259580dc Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 2 Dec 2025 08:26:45 -0600 Subject: [PATCH] Improve Customer Data Upload guidance with clearer instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add tooltip explaining what data improves persona accuracy - Add "What data should I upload?" section with bullet list - Update "What's included in the personas?" section with revised copy - Add PowerPoint support to allowed file types - Make FieldTooltip example prop optional for simpler tooltips 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/AssetUploader.tsx | 6 +- .../ai-recruiter/AIRecruiterForm.tsx | 64 ++++++++++++++----- src/components/ui/field-tooltip.tsx | 28 ++++---- 3 files changed, 69 insertions(+), 29 deletions(-) diff --git a/src/components/AssetUploader.tsx b/src/components/AssetUploader.tsx index 9e31396b..1cebb3d8 100644 --- a/src/components/AssetUploader.tsx +++ b/src/components/AssetUploader.tsx @@ -131,9 +131,11 @@ export default function AssetUploader({ 'text/*': 'Text files', 'application/msword': 'Word docs', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'Word docs', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'Excel files' + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'Excel files', + 'application/vnd.ms-powerpoint': 'PowerPoint', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'PowerPoint' }; - + return allowedTypes.map(type => typeMap[type] || type).filter((v, i, a) => a.indexOf(v) === i); }; diff --git a/src/components/ai-recruiter/AIRecruiterForm.tsx b/src/components/ai-recruiter/AIRecruiterForm.tsx index 62769228..ca5fe834 100644 --- a/src/components/ai-recruiter/AIRecruiterForm.tsx +++ b/src/components/ai-recruiter/AIRecruiterForm.tsx @@ -240,47 +240,81 @@ export default function AIRecruiterForm({ onSubmit, isGenerating }: AIRecruiterF
+ {/* Custom Label with Tooltip */} +

+ Customer Data Upload + +

+

+ Upload existing customer data to create more realistic and accurate synthetic personas. This helps the AI understand your target audience better. +

+ { setCurrentFiles(files); setUploadedFiles(files.length > 0 ? createFileList(files) : null); }} /> -

- Supports PDF, Word docs, Excel files, text files, and images -

- + + {/* What data should I upload? */} +
+

+ What data should I upload? +

+

+ LLMs work well with large amounts of unstructured information. The more information you give the AI about your target audience, the more precise the personas. +

+
    +
  • Customer surveys
  • +
  • Interviews or transcripts
  • +
  • Customer journey maps or personas from previous research
  • +
  • Support chat logs
  • +
  • Social media audience insights
  • +
+
+
-

What's included?

+

What's included in the personas?

  • - Demographic profiles based on your brief + Demographic profiles based on your audience brief
  • - Personality traits and behavioral patterns + Contextual "life scenarios" linked to your research objectives +
  • +
  • + + Personality traits and behavioural patterns
  • Consumer preferences and interests
  • -
  • - - Review and refine capabilities -
diff --git a/src/components/ui/field-tooltip.tsx b/src/components/ui/field-tooltip.tsx index f7963597..fbebe021 100644 --- a/src/components/ui/field-tooltip.tsx +++ b/src/components/ui/field-tooltip.tsx @@ -9,7 +9,7 @@ import { interface FieldTooltipProps { content: string - example: string + example?: string } export function FieldTooltip({ content, example }: FieldTooltipProps) { @@ -27,17 +27,21 @@ export function FieldTooltip({ content, example }: FieldTooltipProps) {

{content}

- - {showExample && ( -
- {example} -
+ {example && ( + <> + + {showExample && ( +
+ {example} +
+ )} + )}