The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update paths
Tim Wilsoncd5fe8e3b237
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page-client.tsxsimilarity index 95%rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page-client.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page-client.tsxindex bbadaa3181..8a5a9bdfa9 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page-client.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page-client.tsx@@ -8,8 +8,8 @@ import { useSearchParams } from "next/navigation";import { Controller, useForm } from "react-hook-form";import { z } from "zod";-export function ProgramEmailPageClient({ id }: { id: string }) {- if (id !== "new") return <div>WIP</div>;+export function ProgramEmailPageClient({ emailId }: { emailId: string }) {+ if (emailId !== "new") return <div>WIP</div>;// TODO: Load existing email datadiff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page.tsxsimilarity index 51%rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page.tsxindex dc031dea7f..9237329597 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/[id]/page.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page.tsx@@ -3,9 +3,9 @@ import { ProgramEmailPageClient } from "./page-client";export default function ProgramEmailPage({params,}: {- params: { id: string };+ params: { emailId: string };}) {- const { id } = params;+ const { emailId } = params;- return <ProgramEmailPageClient id={id} />;+ return <ProgramEmailPageClient emailId={emailId} />;}diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/create-email-button.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/create-email-button.tsxsimilarity index 96%rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/create-email-button.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/create-email-button.tsxindex 32c4871f66..e0b7c1084e 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/create-email-button.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/create-email-button.tsx@@ -79,7 +79,7 @@ function CreateEmailModal({({ type, icon: Icon, name, description, colorClassName }) => (<Linkkey={type}- href={`/${workspaceSlug}/program/communication/emails/new?type=${type}`}+ href={`/${workspaceSlug}/program/emails/new?type=${type}`}className="border-border-subtle flex flex-col items-center gap-5 rounded-xl border px-2 py-6 transition-[background-color,transform] hover:bg-neutral-50 active:scale-[0.98]"><divdiff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/page-client.tsxsimilarity index 100%rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/page-client.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/page-client.tsxdiff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/page.tsxsimilarity index 100%rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/communication/emails/page.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/page.tsxdiff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsxindex ed4696d9c1..f4a4088333 100644--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx@@ -250,7 +250,7 @@ const NAV_AREAS: SidebarNavAreas<SidebarNavData> = {{name: "Email Campaigns",icon: PaperPlane,- href: `/${slug}/program/communication/emails`,+ href: `/${slug}/program/emails`,badge: "New",},{