Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into webhooks-ga

Steven Tey6beb47706b27
diff --cc apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index 4426320b51,a2ed30981d..41f0cbbd14
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@@ -33,13 -35,15 +33,14 @@@ import { WorkspaceDropdown } from "./wo
const NAV_AREAS: SidebarNavAreas<{
slug: string;
queryString: string;
- flags?: Record<BetaFeatures, boolean>;
programs?: { id: string }[];
session?: Session | null;
+ showNews?: boolean;
}> = {
// Top-level
- default: ({ slug, queryString, programs }) => ({
+ default: ({ slug, queryString, programs, showNews }) => ({
showSwitcher: true,
- showNews: true,
+ showNews,
direction: "left",
content: [
{
@@@ -256,8 -265,10 +257,9 @@@ export function AppSidebarNav(
data={{
slug: slug || "",
queryString: getQueryString(),
- flags,
programs,
session: session || undefined,
+ showNews: pathname.startsWith(`/${slug}/programs/`) ? false : true,
}}
toolContent={toolContent}
newsContent={newsContent}
diff --cc packages/utils/src/constants/integrations.ts
index cc51aa8c2b,67de874ace..00449f5259
--- a/packages/utils/src/constants/integrations.ts
+++ b/packages/utils/src/constants/integrations.ts
@@@ -1,4 -1,3 +1,5 @@@
export const SLACK_INTEGRATION_ID = "clzu59rx9000110bm5fnlzwuj";
export const STRIPE_INTEGRATION_ID = "clzra1ya60001wnj4a89zcg9h";
+export const SEGMENT_INTEGRATION_ID = "cm481uged0001eh6uotzmcphy"; // TODO: Replace with real ID
+export const ZAPIER_INTEGRATION_ID = "cl7pj5kq4006835rbjlt2ofka"; // TODO: Replace with real ID
+ export const SHOPIFY_INTEGRATION_ID = "int_iWOtrZgmcyU6XDwKr4AYYqLN";