# Bolt.new Prompt: BuzzTrail Platform UI Prototype

Copy and paste this prompt into bolt.new to generate a UI prototype:

---

Build a modern web application prototype for "BuzzTrail Platform" - a **review-first** AI conversation feedback system. Use React, TypeScript, shadcn/ui components, and Tailwind CSS.

**KEY DESIGN PRINCIPLES**:
1. **Review is the PRIMARY interface** - Conversations open DIRECTLY in review mode (no intermediate list)
2. **Never use the word "annotate"** in client UI - only "review" or "feedback"
3. **Per-line feedback is quick**: 👍 = one click (no comment), 👎🚫 = click + comment
4. **Score thermometer** shows conversation health (0-100%)
5. **Single scrollable page** - NO tabs, everything in one view
6. **Multi-reviewer transparency** - Click "3 notes" to see what others said

## Design System
- Use shadcn/ui components (Radix UI + Tailwind CSS)
- Clean, professional design inspired by Fathom.video
- Color scheme: Blue-600 primary, Slate grays for text
- Desktop-first responsive layout

## Navigation Structure

### CLIENT VIEW (default)
Create a sidebar navigation with these sections:
1. **📝 Review** (star/check icon - HIGHLIGHTED/PRIMARY - DEFAULT HOME)
2. **Personas** (user-group icon)
3. **Requests** (clipboard icon - with badge showing "2" pending)
4. **Settings** (gear icon - placeholder)

**IMPORTANT BEHAVIOR**:
- Clicking "Review" → Opens most recent conversation DIRECTLY in review mode (no list view)
- Conversation selector dropdown in header allows switching between conversations
- "Review" is the DEFAULT landing page when user logs in

### ADMIN VIEW (when toggled)
When user clicks "Switch to Admin View", sidebar changes to:
1. **📝 Review** (same as client view)
2. **👥 All Personas** (shows all clients' personas)
3. **📊 Analytics** (cross-client dashboard - placeholder)
4. **📋 All Requests** (all clients' requests)
5. **⚙️ Clients** (client management - placeholder)
6. **Settings** (gear icon - placeholder)

**Admin-specific features**:
- Persona detail pages show Tavus links and admin controls
- Requests show all clients (not just one)
- Can see all conversations across all clients

Add user menu in top-right with:
- User avatar/name
- Client name: "Acme Corp"
- **Role toggle** (FOR PROTOTYPE ONLY): "Switch to Admin View" / "Switch to Client View"
  - Allows demoing both client and admin experiences
  - Changes available navigation items and features
- Logout button (non-functional)

## Page 1: Personas List View

**Path**: `/personas`

Display a grid of persona cards with:
- Persona name (e.g., "Sophie Sales Assistant")
- Description (2-3 lines, truncated)
- Version badge (e.g., "v1.2.3")
- Status badge (colored: "Staging" = blue, "Production" = green)
- Last updated: "2 days ago"
- Total sessions: "47 sessions"
- Selected voice: "Professional Sarah" (read-only text)

**Dummy data** (create 3-4 personas):
```
1. Sophie Sales Assistant
   - Description: "Friendly sales rep for discovery calls with enterprise prospects"
   - Version: v12
   - Status: Production
   - Sessions: 47
   - Voice: Professional Sarah

2. Marcus Support Agent
   - Description: "Technical support specialist for troubleshooting customer issues"
   - Version: v8
   - Status: Production
   - Sessions: 128
   - Voice: Calm Michael

3. Emma Training Coach
   - Description: "Onboarding trainer for new customer walkthroughs"
   - Version: v3
   - Status: Staging
   - Sessions: 12
   - Voice: Energetic Emily
```

## Page 2: Persona Detail View (CLIENT VIEW)

**Path**: `/personas/:id`

**ALL READ-ONLY** (no client editing):

**Persona Configuration** (labeled "View Only - Managed in Tavus"):
- **Voice**: "Professional Sarah" (text with lock icon)
- **Interaction Mode**: "Voice Conversation" (text with lock icon)
- **Avatar**: "Sophie Replica #4" (text with lock icon)
- **Description**: "Friendly sales rep for discovery calls with enterprise prospects" (read-only text, no textarea)

**Goals** (expandable section, read-only):
- "Understand customer pain points"
- "Qualify budget and timeline"
- "Identify decision makers"

**Safety Guidelines** (expandable section, read-only):
- "Never discuss specific pricing"
- "Escalate technical questions to human"
- "Always remain professional and courteous"

**Conversation Script Preview** (read-only, collapsed by default):
```
You are Sophie, a friendly sales assistant for BuzzTrail...
[Show first 200 chars with "Show more" button]
```

**Action Button**:
- "Request Changes" (primary button) → Opens request modal for ANY persona modifications

---

## Page 2b: Persona Detail View (ADMIN VIEW)

**Path**: `/admin/personas/:id`

**Visible when "Switch to Admin View" is toggled**

**Header Actions** (prominent, top of page):
- **"Edit in Tavus (Basic)"** button (large, blue, primary)
  - Shows placeholder URL: `https://platform.tavus.io/personas/builder?persona_id=p6876dc72dfd&session_id=abc123`
  - Click → Shows toast: "Would open Tavus Persona Builder in new tab"
  - In real app, opens in new tab
- **"Edit in Tavus (Advanced)"** button (secondary)
  - Shows placeholder URL: `https://platform.tavus.io/personas/update?persona_id=p6876dc72dfd`
  - Click → Shows toast: "Would open Tavus Advanced Editor in new tab"
- **"View in Tavus Dashboard"** link (tertiary)
  - Shows placeholder URL: `https://platform.tavus.io/personas/p6876dc72dfd`
- **Version badge**: "v12" (current version)

**Persona Configuration** (all read-only display, but labeled "Managed in Tavus"):
- **Voice**: "Professional Sarah"
- **Interaction Mode**: "Voice Conversation"
- **Avatar**: "Sophie Replica #4"
- **Description**: "Friendly sales rep for discovery calls with enterprise prospects"
- **Associated Slide Deck**: "Product Demo 2024" (with "Edit Slide Deck" button)

**Conversation Script** (expandable, read-only):
```
You are Sophie, a friendly sales assistant for BuzzTrail.
Your goal is to understand customer pain points...
[Full script shown]
```

**Goals** (read-only):
- "Understand customer pain points"
- "Qualify budget and timeline"
- "Identify decision makers"

**Safety Guidelines** (read-only):
- "Never discuss specific pricing"
- "Escalate technical questions to human"
- "Always remain professional and courteous"

**Technical Configuration** (expandable, read-only):
- LLM: "GPT-4"
- STT: "Whisper v3"
- TTS: "ElevenLabs Professional"
- Temperature: "0.7"

**Lifecycle Actions** (admin only):
- Status dropdown: Testing → Staging → Production
- "Archive Persona" button (destructive, secondary)

**Version History** (expandable table):
```
v12 | Oct 3, 2025 | BuzzTrail Admin | Changed via Tavus Builder
v11 | Oct 1, 2025 | BuzzTrail Admin | Voice changed to Professional Sarah
v10 | Sep 28, 2025 | Client Admin    | Description updated
```

### Tab 2: Conversation History

Table with columns:
- Date/Time
- Duration
- Participant (name or "Anonymous")
- Status (Completed/Failed)
- Actions: "View Details" button

**Dummy data** (5-6 conversations):
```
Oct 3, 2025 2:15 PM | 12m 34s | John Prospect | Completed
Oct 2, 2025 4:42 PM | 8m 12s  | Sarah Williams | Completed
Oct 1, 2025 10:22 AM | 15m 3s | Anonymous | Completed
```

### Tab 3: Version History

Table with columns:
- Version
- Date
- Changed By
- Changes

**Dummy data**:
```
v12 | Oct 3, 2025 | Client Admin | Description updated
v11 | Oct 1, 2025 | BuzzTrail Admin | Voice changed to Professional Sarah
v10 | Sep 28, 2025 | Client Admin | Description updated
v9 | Sep 25, 2025 | BuzzTrail Admin | Conversation script improved
```

## Page 3a: Template Selector Modal

**Purpose**: Generate new report using different template

Triggered by "Generate Report" button in conversation detail header.

**Modal Layout**:
- Title: "Select Report Template"
- Subtitle: "Choose a template to extract insights from this conversation"

**Template Grid** (2 columns on desktop, 1 on mobile):

Each template card shows:
- Template name (e.g., "Sales - BANT")
- Brief description (e.g., "Budget, Authority, Need, Timeline")
- Icon (optional)
- "FREE" badge (for General template)
- ✅ Checkmark if already generated
- Disabled state if already exists

**Dummy templates** to show:
```
✅ General (FREE) - Already generated
   "Meeting summary, topics, and action items"

Sales - BANT
   "Budget, Authority, Need, Timeline qualification"

Sales - MEDDPICC
   "Metrics, Economic Buyer, Decision Criteria, and more"

Sales - SPIN Selling
   "Situation, Problem, Implication, Need-Payoff"

Sales - Sandler
   "Pain, Budget, Decision framework"

Q&A
   "Questions and answers from the conversation"

Customer Success
   "Goals, challenges, and next steps"

Action Items Only
   "Extracted action items with assignees"
```

**Clicking template**:
- If not generated: Closes modal, shows loading toast "Generating report...", after 5-10 seconds shows new tab
- If already generated: Shows message "This report already exists. View it in the [Template Name] tab."

**Buttons**:
- "Cancel" (secondary)

**Note**: Generation timing matches backend PRD (5-15 seconds typical)

---

## Page 3b: Request Advanced Changes Modal

Triggered by "Submit Request" button in feedback flow (optional after negative feedback).

**Context** (pre-filled if from annotation):
- Conversation reference (e.g., "Conversation #12345 at 03:42")
- Related annotation category and feedback (read-only, if applicable)

**Form fields**:
- **Change Type** (dropdown):
  - Behavior Adjustment
  - Voice Change
  - Avatar Change
  - New Feature
  - Bug Report
  - Other

- **Description** (textarea, required, placeholder: "Describe the changes you'd like...")
  - If from annotation: Pre-filled with annotation feedback

**Buttons**:
- "Submit Request" (primary)
- "Cancel" (secondary)

## Page 4: Conversations - Annotation Mode (DEFAULT VIEW)

**Path**: `/conversations` (opens in annotation mode by default)

**Tinder-Style Swipe Interface** 🔥

Display ONE conversation card at a time in the center of the screen (mobile-friendly, large card):

**Card Front**:
- **Header**:
  - Conversation #12345
  - Date: Oct 3, 2025 2:15 PM
  - Duration: 12m 34s
- **Persona**: "Sophie Sales Assistant" (avatar + name)
- **Participant**: "John Prospect"
- **Phase indicators**: Phase 1: 5m 32s | Phase 2: 7m 2s

**Transcript Preview** (scrollable, 60% of card):
```
[00:00] Sophie: Hi John! I'm Sophie...
[00:03] John: I'm looking for a solution...
[00:12] Sophie: That's great! Can you tell me more...
[Show first 15-20 lines with scroll]
```

**Annotation Quick Actions** (bottom of card):

Three large, colorful buttons:
- 👍 **Good** (green button)
  - Click → Card swipes right, shows success toast, loads next conversation
  - Submits positive annotation automatically

- 👎 **Needs Work** (yellow button)
  - Click → Expands inline annotation form on card

- 🚫 **Critical Issue** (red button)
  - Click → Expands inline annotation form + auto-checks "Submit Request"

**Expanded Feedback Form** (appears when "Needs Work" or "Critical Issue" clicked):

Overlay on bottom half of card:
- **Category** (dropdown): Behavior Issue, Misunderstanding, Technical Issue, Positive Feedback, Other
- **Your Feedback** (textarea, focus here): "What went well or what needs improvement?"
- **☐ Submit request to improve persona** (checkbox, auto-checked if "Critical Issue")
- **Buttons**:
  - "Submit & Next" (primary, green) → Saves feedback, shows next conversation
  - "Skip" (secondary) → Dismisses form, loads next without feedback

**Counter** (top-right): "3 of 24 conversations" (shows progress)

**View Mode Toggle** (top-left):
- "📝 Review Mode" (active)
- "📋 List View" (switch to traditional list)

---

## Page 4b: Conversations - List View (ALTERNATE VIEW)

**Path**: `/conversations?view=list`

Traditional list view (accessible via toggle):

**Filters** (top bar):
- Date range picker
- Persona dropdown filter
- Annotation status filter: All | Annotated | Not Annotated | Needs Review
- Search box

**Conversation Cards** (list view):
- Date/time, duration, persona, participant (or "Unknown Customer")
- **Annotation Progress Badge**:
  - "12/18 lines reviewed" with progress bar (if partially reviewed)
  - ✅ "All lines reviewed" (green, if 100% complete)
  - ⭕ "Not reviewed" (gray, if 0% complete)
- **Feedback Status Badge**:
  - ✅ "Good" (green) - if overall positive
  - ⚠️ "Needs Work" (yellow) - if has 👎 annotations
  - 🚫 "Critical Issues" (red) - if has 🚫 annotations
  - ⭕ "Not Reviewed" (gray)
- **Report Badge** (if generated): "📊 2 Reports" (shows count)
- **Actions**: "Review & Annotate" (primary, large button) | "View Details"

**Dummy data** (8-10 conversations, mix of annotated/not annotated):
- 3 conversations: 100% reviewed (all green 👍)
- 2 conversations: Partially reviewed with mixed feedback (some 👎, some 👍)
- 1 conversation: Has critical issues (🚫 annotations)
- 4 conversations: Not reviewed yet (0/18 lines)

## Page 5: Conversation Review (SINGLE SCROLLABLE PAGE - NO TABS!)

**Path**: `/review` or `/review/:conversation_id`

**THIS IS THE DEFAULT HOME PAGE** - Opens most recent conversation automatically.

**Header Section**:
- **Conversation Navigation** (prominent, top row):
  - **← Previous** button (left side, always visible)
  - **Conversation selector dropdown**: "Conversation #12345 - Oct 3, 2025" (center, shows all 24 conversations)
  - **Next →** button (right side, always visible)
  - Position indicator: "Conversation 3 of 24"
  - **"Skip to Next Unreviewed"** button (blue, prominent) - jumps to next 0% reviewed conversation

- Conversation metadata (second row):
  - Date: Oct 3, 2025 2:15 PM | Duration: 12m 34s
  - Persona: Sophie Sales Assistant | Participant: John Prospect (or "Unknown Customer")

- **Score Thermometer** (large, prominent):
  - Visual gauge: 85% = Green zone ("Excellent 🎉")
  - 65% = Yellow zone ("Needs Attention ⚠️")
  - 30% = Red zone ("Critical Issues 🚨")
  - Shows trend arrow: "↑ Improving from last conversation (was 78%)"

- **Progress Badge**: "Reviewed 12/18 AI responses" (with animated progress bar)
- **Streak Indicator**: "🔥 3-day review streak!"

- **Quick Actions** (action bar):
  - "Copy Transcript" button (copies transcript text only, without reviews)
  - "Generate Report" button
  - "Share Review" button (future feature, placeholder)

**SINGLE SCROLLABLE PAGE** with these sections:

### Section 1: Line-by-Line Review (PRIMARY CONTENT)

**Full-width transcript** (no columns) with inline review controls:

Each conversation line is displayed with review controls in the **first column** (left of transcript):

**AI Speaker Lines** (clearly distinguished):
- Light blue background (bg-blue-50)
- AI avatar icon
- Label: "AI Assistant" (NOT persona name)
- Transcript text
- **Review controls in LEFT MARGIN** (always visible):
  - 👍 (green button) - **Click ONCE → saves, NO comment box opens**
  - 👎 (yellow button) - **Click → saves + opens comment box below**
  - 🚫 (red button) - **Click → saves + opens comment box + "Request behavior adjustment?" checkbox**
  - If already reviewed: icon is filled/highlighted
  - **Review count badge** (e.g., "3 notes") - **CLICKABLE**:
    - Click → Opens popover showing ALL reviews from ALL team members
    - Shows: Reviewer name, rating icon, comment, timestamp
    - "Sarah: 👎 'Could be more empathetic' - 2 hours ago"
    - "Mike: 👍 - 1 day ago"

**Customer Speaker Lines**:
- Neutral/white background
- Generic avatar (👤)
- Label: "Customer" or name if known
- Transcript text
- **No review controls** (only review AI responses)

**Review Interaction Examples**:
1. Click 👍 on line 5 → Background turns subtle green, icon fills, saves immediately, **NO comment box**
2. Click 👎 on line 7 → Background turns yellow, icon fills, inline comment box appears:
   ```
   [👎 Comment box appears below line]
   └─ "What could be better about this response?"
   └─ [Textarea, 200 char limit]
   └─ ☐ Request behavior adjustment for this issue
   └─ [Auto-saves on blur]
   ```
3. Click 🚫 on line 12 → Background turns red, icon fills, comment box appears with checkbox auto-checked:
   ```
   [🚫 Comment box appears below line]
   └─ "What went wrong with this response?"
   └─ [Textarea, 200 char limit]
   └─ ☑️ Request behavior adjustment for this issue (auto-checked)
   └─ [Auto-saves on blur]
   ```
4. Click "3 notes" badge → Popover appears showing other reviewers' feedback

**Phase Dividers**:
- Visual separator: "📞 Phase 1: Discovery (5m 32s)"
- Visual separator: "📽️ Phase 2: Slide Demo (7m 2s)"

**Dummy Transcript** (18 lines total: 12 AI, 6 Customer):
```
📞 Phase 1: Discovery - 5m 32s

[👍][👎][🚫]  [00:00] AI Assistant: Hi John! I'm Sophie, your AI assistant. How can I help you today?

              [00:03] Customer: I'm looking for a solution to automate our sales demos.

[👍][👎][🚫]  [00:12] AI Assistant: That's great! Can you tell me more about your current process?
   ✓ (👍 filled, bg-green-50)

              [00:18] Customer: Right now, each rep spends 2-3 hours preparing for demos...

[👍][👎][🚫]  [00:35] AI Assistant: I understand. How many sales reps do you have on your team?
   ⚠️ (👎 filled, bg-yellow-50, "2 notes" badge clickable)
   └─ "Could be more empathetic here" [your comment]

              [00:42] Customer: We have 15 reps total.

📽️ Phase 2: Slide Demo - 7m 2s

[👍][👎][🚫]  [05:45] AI Assistant: Let me show you how BuzzTrail works. [Slide 1]

              [05:52] Customer: That looks interesting.

[👍][👎][🚫]  [06:03] AI Assistant: Here's our pricing structure. [Slide 3]
   🚫 (critical, bg-red-50, "1 note" badge)
   └─ "Skipped to pricing too fast, should have shown features first"
   └─ ☑️ Request behavior adjustment for this issue

... (12 AI lines total, 6 customer lines)
```

### Section 2: Conversation Summary (AUTO-GENERATED FROM REVIEWS)

**Collapsible section** at bottom of page - expands to show:

**Overall Score Card**:
- Large thermometer/gauge: 72% (Yellow zone - "Needs Attention")
- Trend: "↓ Down from last conversation (was 85%)"

**Review Breakdown**:
- Total lines reviewed: "18/18 ✅ Complete!"
- Rating distribution:
  - 👍 Positive: 12 lines (67%)
  - 👎 Needs work: 4 lines (22%)
  - 🚫 Critical: 2 lines (11%)

**Key Issues** (aggregated from 👎 and 🚫 comments):
- Line 7: "AI interrupted during budget discussion"
- Line 12: "Incorrect information about pricing (🚫 Critical)"
- Line 15: "Too pushy on timeline"
- Line 18: "Failed to set follow-up meeting"

**Improvement Requests Created**:
- Request #REQ-042: "Fix pricing interruption behavior" (from Line 12)
- Request #REQ-043: "Improve timeline discussion approach" (from Line 15)

**AI Recommendations** (generated from patterns):
- "AI should wait for customer to finish speaking (appeared in 2 lines)"
- "Review pricing information accuracy"
- "Use softer language when discussing timelines"

### Section 3: Generated Reports (COLLAPSIBLE)

**Collapsible section header**: "📊 Reports (2 generated)" - Click to expand

When expanded, shows **accordion** of available reports:

**Report Card 1: General Report** (default, expanded):
- Template badge: "General (FREE)"
- "Copy Report" button
- "👍 Helpful" | "👎 Needs improvement" quick feedback

**Meeting Purpose**:
"Discuss potential implementation of BuzzTrail's AI avatar demo solution for improving sales team conversion rates."

**Key Takeaways**:
- John's team of 15 reps currently spends 2-3 hours per day on manual demo prep
- Budget of $50K approved for Q4 automation tools
- Decision timeline: end of October
- Technical evaluation with CTO needed as next step

**Topics**:
- Sales automation
- Team structure (15 sales reps)
- Current workflow pain points
- Budget and timeline
- Integration requirements

**Action Items**:
- ☐ Schedule technical evaluation with CTO [at 12:05] (Assigned: John)
- ☐ Send pricing proposal by Friday [at 13:42] (Assigned: Sophie)
- ☐ Prepare ROI calculator for 15-rep team [at 14:20] (Assigned: Sophie)

**Your Questions** (asked by participant):
- "How does this integrate with our existing CRM?" [at 08:30]
- "Can we customize the avatar's appearance?" [at 10:15]
- "What's the implementation timeline?" [at 11:50]

**Feedback on this Report** (collapsed by default):
- "Add Feedback" button
- When expanded: Inline form with category/severity/text + optional "Submit improvement request" checkbox

---

**Alternative Report View** (if user selects "BANT" template):

**BANT Qualification**:

**Budget**:
"$50K approved for Q4" [at 03:42]

**Authority**:
"John is VP of Sales, final decision maker. Needs CTO buy-in for technical evaluation." [at 07:15]

**Need**:
"Manual demo prep taking 15 hours/week per rep. Team losing deals due to slow response times." [at 01:30]

**Timeline**:
"Decision by end of October. Implementation target: November." [at 12:05]

**Report Card 2: BANT Report** (collapsed, click to expand):
- Template badge: "BANT"
- Shows BANT qualification breakdown
- "Copy Report" button
- Quick feedback buttons

**+ "Generate New Report" button** → Opens template selector modal

### Section 4: Slide Details (COLLAPSIBLE - if Phase 2 used slides)

**Collapsible section header**: "📽️ Slides (6 shown, 2 skipped)" - Click to expand

When expanded:
- **Slide Timeline**: Visual timeline `[Slide 1: 0:00-0:45] [Slide 3: 0:45-2:15] [Slide 5: 2:15-4:30]`
  - Click segment → Jumps to that line in Section 1 review
- **Slides Shown**: Grid of thumbnails with titles, timestamps, duration
- **Slides Skipped**: "Slide 2: Company Overview (reason: already discussed)"
- **Customization Summary**: "Slides customized based on discovery - Pricing emphasized"

### Section 5: Recording (COLLAPSIBLE - Placeholder)

**Collapsible section header**: "🎥 Recording" - Click to expand

- Placeholder card: "Recording Playback Coming Soon"
- Text: "Multi-stream video playback will be available in a future release"

---

**IMPORTANT NOTES**:
- **NO SEPARATE TABS** - Everything is on one scrollable page
- **NO "Transcript" TAB** - Transcript is in Section 1 (Line-by-Line Review)
- **NO "Feedback" TAB** - Feedback is auto-aggregated in Section 2 (Conversation Summary)
- **Use "Copy Transcript" button** in header to copy plain transcript without reviews
- **Never use the word "annotate"** in client UI - only "review" or "feedback"

## Page 6: Requests List View

**Path**: `/requests`

**Header Stats**:
- Total Requests: 8
- Pending Review: 2
- In Progress: 3
- Completed: 3

### My Requests Table
Showing:
- Request ID
- **Source Line** (NEW - if from line review):
  - "Line 12 of Conv #12345" (clickable link)
  - Or "General request" (if standalone)
- Persona
- Type (Behavior Adjustment, Voice Change, etc.)
- Status (New/Under Review/In Progress/Completed/Declined)
- **Review Rating** (if from line review): 👍 👎 or 🚫 badge
- Submitted date
- Actions: "View Details" | "Jump to Line" buttons

**Dummy data** (5 requests):
```
#REQ-001 | Line 12 of Conv #12345 | Sophie Sales Assistant | Behavior Adjustment | Under Review | 🚫 | Oct 3, 2025 | [View] [Jump to Line]
#REQ-002 | Line 7 of Conv #12340  | Sophie Sales Assistant | Behavior Adjustment | In Progress | 👎 | Oct 2, 2025 | [View] [Jump to Line]
#REQ-003 | Line 15 of Conv #12298 | Marcus Support Agent | Behavior Adjustment | Completed   | 👎 | Sep 28, 2025 | [View] [Jump to Line]
#REQ-004 | General request        | Emma Training Coach   | New Feature         | Completed   | -  | Sep 15, 2025 | [View]
#REQ-005 | Line 3 of Conv #12389  | Sophie Sales Assistant | Voice Change       | New         | 🚫 | Oct 4, 2025 | [View] [Jump to Line]
```

**Note**:
- Requests from line reviews show "Line X of Conv #XXXXX" (clickable)
- Clicking "Jump to Line" opens that conversation in review mode, scrolled to that specific line
- Standalone requests show "General request"

## Page 7: Request Detail Modal

Shows:
- **Request ID** and **Status badge** (New/Under Review/In Progress/Completed/Declined)
- **Persona name**: "Sophie Sales Assistant"
- **Change type**: "Behavior Adjustment"
- **Source** (if from line review):
  - "📝 From Line 12 of Conversation #12345" (clickable link)
  - **"Jump to Line"** button → Opens conversation review scrolled to that line

**Original Line Review** (if from line review):
- Card showing the exact line from transcript:
  - **Line number**: "Line 12"
  - **Timestamp**: "[03:42]"
  - **AI Response**: "Based on your budget of $50k, I'd recommend our Enterprise plan."
  - **Review rating**: 🚫 Critical Issue
  - **Review comment**: "Budget was $100k, not $50k - AI misheard the amount"
  - **"Jump to Line"** button (prominent) → Opens conversation at this line

**Request Description** (full text, may be same as review comment or expanded):
"Please adjust the persona to correctly capture budget information. The AI misheard $100k as $50k, which could lead to incorrect recommendations. This is a critical issue that needs immediate attention."

**Submitted date**: Oct 3, 2025 3:00 PM

**For Standalone Requests** (no line review):
- **Source**: "Submitted directly"
- No "Original Line Review" card shown

**Admin Response** (if any):
- Card showing:
  - "We're working on this, will deploy to testing on Friday"
  - Responded by: BuzzTrail Admin
  - Responded on: Oct 4, 2025 10:30 AM

**Status History Timeline**:
```
Oct 4, 10:30 AM - Moved to "In Progress" (Admin comment added)
Oct 3, 3:05 PM - Moved to "Under Review"
Oct 3, 3:00 PM - Request submitted
```

## UI Component Requirements

Use these shadcn/ui components:
- `Card` for persona cards, conversation cards
- `Table` for conversation lists, version history
- `Badge` for status/version/priority indicators
- `Tabs` for multi-tab views
- `Button` (primary and secondary variants)
- `Dialog/Modal` for "Request Changes" form
- `Form` + `Input` + `Textarea` for forms
- `Select` for dropdowns
- `Checkbox` for Goals Achieved checklist
- `Separator` for dividing sections
- `ScrollArea` for long transcripts

## Dummy Data Summary

Create realistic dummy data for:
- 3-4 personas (varying statuses and versions, all read-only for clients)
- **24 conversations** (for swipe feedback mode - mix of reviewed and not reviewed)
  - **Per-line annotation data**:
    - 3 conversations: 100% reviewed (18/18 lines, all 👍)
    - 2 conversations: Partially reviewed (12/18 lines, mix of 👍👎)
    - 1 conversation: Has critical issues (15/18 lines reviewed, 3x 🚫, 8x 👍, 4x 👎)
    - 18 not reviewed yet (0/18 lines)
  - 12 have reports generated (mix of General, BANT, MEDDPICC)
- **Each conversation has 18 transcript lines**:
  - 12 AI lines (can be annotated)
  - 6 Customer lines (no annotation controls)
  - Phase 1: 10 lines total (7 AI, 3 Customer)
  - Phase 2: 8 lines total (5 AI, 3 Customer)
- 5-6 version history entries per persona
- 4-5 client requests
  - 3 linked to per-line annotations (show conversation ID, line number, and annotation type 👎 or 🚫)
  - 1-2 standalone requests (no linked conversation)
- Each conversation with report shows report data with timestamps
- **Gamification data**: Show user has 3-day streak, 12/18 lines reviewed on current conversation

## Styling Guidelines

- Use Tailwind utility classes
- Consistent spacing (p-4, p-6 for cards)
- Hover states on interactive elements
- Loading states (use skeleton loaders)
- Empty states with helpful messages
- Responsive breakpoints (md, lg, xl)

## Additional Features

- **Smooth transitions**: Card transitions when navigating between conversations (use Framer Motion or CSS transitions)
- **Per-line annotation animations**:
  - Click 👍 → Line background smoothly transitions to green tint, icon fills
  - Click 👎 → Line background smoothly transitions to yellow tint, icon fills
  - Click 🚫 → Line background smoothly transitions to red tint, icon fills
  - Comment box expands with smooth slide-down animation
- **Progress indicator**:
  - Header badge: "Reviewed 12/18 AI responses" with animated progress bar
  - Updates in real-time as user clicks feedback icons
- **Gamification animations**:
  - Progress bar fills with smooth animation
  - Completion badge appears with scale + fade animation when all lines reviewed
  - Streak counter increments with small bounce animation
- **Confetti animation**: When all 18 AI lines in a conversation are reviewed, show celebration animation
- **Toast notifications**:
  - "✅ Line annotation saved!" (green, auto-dismiss 2s)
  - "📋 Request submitted successfully!" (blue)
  - "📊 Generating BANT report..." (blue, with spinner)
  - "✅ Report ready! View it in the BANT tab." (green)
  - "🎉 All lines reviewed! You're on a 3-day streak!" (celebration toast)
- **Keyboard shortcuts** in Review tab:
  - "1" key = 👍 Good (for selected AI line)
  - "2" key = 👎 Needs Work
  - "3" key = 🚫 Critical Issue
  - "C" key = Add/expand comment on selected line
  - "J/K" keys = Navigate between AI lines (vim-style)
  - Arrow keys = Scroll transcript
- **Timestamp links**: Clicking "[at MM:SS]" in reports navigates to Review tab (not Transcript) and highlights that line
- Search functionality (just UI, no real filtering)
- Date range picker (dummy selection)
- Breadcrumbs for navigation
- **Auto-save indicator**: Small "Saving..." then "✓ Saved" text appears briefly when annotation saved

## What NOT to Include

- No real backend integration
- No authentication flow (just show logged-in state)
- No real data fetching (use hardcoded arrays)
- No form validation (just show UI)
- No real WebSocket/realtime updates

---

**Goal**: Create a high-fidelity, clickable prototype that demonstrates the UX flow and visual design. Focus on making it look polished and professional, similar to Fathom.video's clean, modern interface.

## Key UX Improvements - Review-First Design

1. **Review is DEFAULT HOME PAGE**: Opens most recent conversation in review mode immediately
2. **NO TABS**: Single scrollable page with collapsible sections
3. **Never say "annotate"**: Client UI only uses "review" or "feedback"
4. **👍 = One click only**: NO comment box opens for positive feedback (already good!)
5. **👎🚫 = Click + comment**: Only negative feedback gets comment box
6. **Multi-reviewer transparency**: Click "3 notes" badge to see what other team members said
7. **Score thermometer**: 0-100% visual gauge showing conversation health
8. **Auto-aggregated summary**: Section 2 compiles all line reviews into overall summary
9. **Inline request creation**: Check box to create behavior adjustment request directly from line review
10. **Clear AI identification**: Blue background, "AI Assistant" label (not persona name)
11. **Conversation selector**: Dropdown to switch conversations without leaving review mode
12. **Copy Transcript button**: Copies plain text without reviews
13. **Collapsible sections**: Reports, Slides, Recording collapse when not needed
14. **No separate Feedback tab**: All feedback auto-generated from line reviews
15. **No separate Transcript tab**: Transcript IS the review (Section 1)
