Skip to content

Commit 6510c70

Browse files
HyteqHyteq
authored andcommitted
temp: disable custom event badge in session
1 parent cea0abe commit 6510c70

5 files changed

Lines changed: 10 additions & 16 deletions

File tree

apps/dashboard/app/(main)/websites/[id]/sessions/_components/session-row.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ function SessionRowInternal({ session, index, isExpanded, onToggle }: SessionRow
150150
</div>
151151

152152
<div className="flex items-center gap-2">
153-
{customEventCount > 0 && (
153+
{/* {customEventCount > 0 && (
154154
<div className="flex flex-col items-center gap-1">
155155
<div className="font-medium text-violet-600 text-xs">Custom</div>
156156
<Badge className="border-0 bg-gradient-to-r from-violet-500 to-purple-500 font-semibold text-white text-xs">
157157
<SparklesIcon className="mr-1 h-3 w-3" />
158158
{customEventCount}
159159
</Badge>
160160
</div>
161-
)}
161+
)} */}
162162

163163
{errorCount > 0 && (
164164
<div className="flex flex-col items-center gap-1">

apps/dashboard/app/(main)/websites/[id]/sessions/_components/sessions-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function SessionsList({ websiteId }: SessionsListProps) {
9797
websiteId={websiteId}
9898
variant="minimal"
9999
/>
100-
<Card>
100+
<Card className="py-0">
101101
<CardContent>
102102
<div className="space-y-3">
103103
{[1, 2, 3, 4, 5, 6, 7, 8].map(i => (

apps/dashboard/components/ui/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {
66
return (
77
<div
88
className={cn(
9-
"flex flex-col gap-6 rounded border bg-card py-4 text-card-foreground shadow-sm",
9+
"flex flex-col gap-6 rounded border bg-card text-card-foreground shadow-sm",
1010
className
1111
)}
1212
data-slot="card"

bun.lock

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
"apps/*",
3232
"packages/*"
3333
],
34-
"dependencies": {
35-
"csv-parse": "^6.1.0"
36-
},
3734
"module": "index.ts",
3835
"type": "module"
39-
}
36+
}

0 commit comments

Comments
 (0)