Skip to content

Commit 6510c70

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

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

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
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"workspaces": {
44
"": {
55
"name": "databuddy",
6-
"dependencies": {
7-
"csv-parse": "^6.1.0",
8-
},
96
"devDependencies": {
107
"@biomejs/biome": "2.1.2",
118
"@types/bun": "latest",
@@ -394,7 +391,7 @@
394391
},
395392
},
396393
"packages/mapper": {
397-
"name": "mapper",
394+
"name": "@databuddy/mapper",
398395
"dependencies": {
399396
"csv-parse": "^6.1.0",
400397
"zod": "4",
@@ -534,6 +531,8 @@
534531

535532
"@databuddy/email": ["@databuddy/email@workspace:packages/email"],
536533

534+
"@databuddy/mapper": ["@databuddy/mapper@workspace:packages/mapper"],
535+
537536
"@databuddy/redis": ["@databuddy/redis@workspace:packages/redis"],
538537

539538
"@databuddy/rpc": ["@databuddy/rpc@workspace:packages/rpc"],
@@ -2174,8 +2173,6 @@
21742173

21752174
"make-dir": ["[email protected]", "", { "dependencies": { "semver": "^7.5.3" } }, "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw=="],
21762175

2177-
"mapper": ["mapper@workspace:packages/mapper"],
2178-
21792176
"markdown-extensions": ["[email protected]", "", {}, "sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q=="],
21802177

21812178
"markdown-table": ["[email protected]", "", {}, "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw=="],
@@ -3010,6 +3007,8 @@
30103007

30113008
"@databuddy/email/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.8.0" } }, "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w=="],
30123009

3010+
"@databuddy/mapper/zod": ["[email protected]", "", {}, "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA=="],
3011+
30133012
"@databuddy/redis/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-cuVNgarYWZqxRJDQHEB58GEONhOK79QVR/qYx4S7kcUObQvUwvFnYxJuuHUKm2aieN9X3yZB4LZsuYNU1Qphsw=="],
30143013

30153014
"@databuddy/redis/zod": ["[email protected]", "", {}, "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA=="],
@@ -3202,8 +3201,6 @@
32023201

32033202
"make-dir/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="],
32043203

3205-
"mapper/zod": ["[email protected]", "", {}, "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA=="],
3206-
32073204
"mdast-util-find-and-replace/escape-string-regexp": ["[email protected]", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="],
32083205

32093206
"mdast-util-mdx-jsx/parse-entities": ["[email protected]", "", { "dependencies": { "@types/unist": "^2.0.0", "character-entities-legacy": "^3.0.0", "character-reference-invalid": "^2.0.0", "decode-named-character-reference": "^1.0.0", "is-alphanumerical": "^2.0.0", "is-decimal": "^2.0.0", "is-hexadecimal": "^2.0.0" } }, "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw=="],

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)