Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bun run migrate:tenants # Migrate all tenant databases (CI/CD - IDs are masked
- **Email**: React Email + Resend
- **File Storage**: S3-compatible storage
- **Search**: Upstash Search for full-text search with filtering
- **Monitoring**: Sentry + PostHog
- **Monitoring**: Sentry
- **Linting**: Biome (not ESLint)

### Directory Structure
Expand Down
17 changes: 8 additions & 9 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ClerkProvider } from "@clerk/nextjs";
import { Analytics } from "@vercel/analytics/next";
import { Geist } from "next/font/google";
import { PostHogProvider } from "@/components/core/posthog-provider";
import { ThemeProvider } from "@/components/core/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import { SITE_METADATA } from "@/data/marketing";
Expand Down Expand Up @@ -322,14 +322,13 @@ export default function RootLayout({
/>
</head>
<body className="min-h-full min-w-full flex-1">
<PostHogProvider>
<ClerkProvider>
<ThemeProvider>
<Toaster position="top-center" />
{children}
</ThemeProvider>
</ClerkProvider>
</PostHogProvider>
<ClerkProvider>
<ThemeProvider>
<Toaster position="top-center" />
{children}
</ThemeProvider>
</ClerkProvider>
<Analytics />
</body>
</html>
);
Expand Down
2 changes: 0 additions & 2 deletions build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM oven/bun:slim AS base

ARG NEXT_PUBLIC_APP_URL
ARG NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
ARG NEXT_PUBLIC_POSTHOG_KEY
ARG NEXT_PUBLIC_POSTHOG_HOST
ARG QSTASH_URL
ARG QSTASH_TOKEN
ARG QSTASH_CURRENT_SIGNING_KEY
Expand Down
17 changes: 3 additions & 14 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 0 additions & 58 deletions components/core/posthog-provider.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions lib/posthog.ts

This file was deleted.

15 changes: 0 additions & 15 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,9 @@ const nextConfig = {
source: "/api/calendar/:ownerId/:projectId/calendar.ics",
destination: "/api/calendar/:ownerId/:projectId",
},
{
source: "/ingest/static/:path*",
destination: "https://us-assets.i.posthog.com/static/:path*",
},
{
source: "/ingest/:path*",
destination: "https://us.i.posthog.com/:path*",
},
{
source: "/ingest/decide",
destination: "https://us.i.posthog.com/decide",
},
];
},

// This is required to support PostHog trailing slash API requests
skipTrailingSlashRedirect: true,

// output: "standalone", // Uncomment this to enable standalone mode in Docker
};

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@upstash/redis": "^1.35.3",
"@upstash/search": "^0.1.5",
"@upstash/workflow": "^0.2.16",
"@vercel/analytics": "^1.5.0",
"autoprefixer": "10.4.14",
"babel-plugin-react-compiler": "^1.0.0",
"caniuse-lite": "^1.0.30001737",
Expand All @@ -76,8 +77,6 @@
"nuqs": "^2.4.1",
"postcss": "8.4.23",
"postgres": "^3.4.7",
"posthog-js": "^1.242.2",
"posthog-node": "^4.17.1",
"react": "19.2.0",
"react-day-picker": "^8.10.1",
"react-dom": "19.2.0",
Expand Down