Skip to content

Commit 0bdd45a

Browse files
Merge pull request #50 from Nandgopal-R/fix/report
fix: remove unused fields from report
2 parents 02e21e8 + 14b37d6 commit 0bdd45a

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

src/components/reports/AIInsightsSection.tsx

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import {
55
Sparkles,
66
TrendingUp,
77
} from 'lucide-react'
8-
import { KeyTakeaways } from './KeyTakeaways'
9-
import { ResponseCharts } from './ResponseCharts'
8+
109
import type { AnalyticsReport } from '@/api/ai'
1110
import { Button } from '@/components/ui/button'
1211
import {
@@ -119,16 +118,7 @@ export function AIInsightsSection({
119118
</div>
120119
</div>
121120

122-
{/* 2. Key Takeaways Section (New Enhancement) */}
123-
<div className="animate-in slide-in-from-bottom-3 duration-700 delay-100">
124-
<KeyTakeaways takeaways={[
125-
"Users overall seem very satisfied with the current platform speed.",
126-
"Mobile responses are higher during evening hours (6 PM - 10 PM).",
127-
"Pricing clarity is the most common feedback theme among non-subscribers."
128-
]} />
129-
</div>
130-
131-
{/* 3. Quantitative Insights */}
121+
{/* 2. Quantitative Insights */}
132122
{report.quantitativeInsights.length > 0 && (
133123
<div className="print-break-avoid space-y-4">
134124
<h4 className="text-sm font-black uppercase tracking-widest flex items-center gap-2 text-muted-foreground/80">
@@ -158,12 +148,7 @@ export function AIInsightsSection({
158148
</div>
159149
)}
160150

161-
{/* 4. Response Visualizations Section (New Enhancement) */}
162-
<div className="animate-in slide-in-from-bottom-3 duration-700 delay-200">
163-
<ResponseCharts />
164-
</div>
165-
166-
{/* 5. Qualitative Themes */}
151+
{/* 3. Qualitative Themes */}
167152
{report.qualitativeThemes.length > 0 && (
168153
<div className="print-break-avoid space-y-4">
169154
<div className="flex items-center justify-between border-b pb-2">

0 commit comments

Comments
 (0)