Skip to content

Commit 4832eeb

Browse files
committed
merge conlicts
2 parents 8c25a71 + 26e3c57 commit 4832eeb

File tree

299 files changed

+6639
-3415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+6639
-3415
lines changed

.changeset/khaki-items-tease.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/dashboard/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@radix-ui/react-switch": "^1.1.0",
4747
"@radix-ui/react-tooltip": "1.1.2",
4848
"@sentry/nextjs": "8.32.0",
49-
"@shazow/whatsabi": "^0.14.1",
49+
"@shazow/whatsabi": "^0.15.2",
5050
"@stripe/react-stripe-js": "^2.7.3",
5151
"@stripe/stripe-js": "^3.5.0",
5252
"@tanstack/react-query": "5.56.2",
@@ -110,14 +110,14 @@
110110
"@next/eslint-plugin-next": "14.2.13",
111111
"@playwright/test": "1.47.2",
112112
"@storybook/addon-essentials": "8.3.4",
113-
"@storybook/addon-interactions": "8.3.4",
113+
"@storybook/addon-interactions": "8.3.5",
114114
"@storybook/addon-links": "8.3.4",
115115
"@storybook/addon-onboarding": "8.3.4",
116116
"@storybook/addon-viewport": "8.3.4",
117117
"@storybook/blocks": "8.3.4",
118118
"@storybook/nextjs": "8.3.4",
119119
"@storybook/react": "8.3.4",
120-
"@storybook/test": "8.3.4",
120+
"@storybook/test": "8.3.5",
121121
"@types/color": "^3.0.6",
122122
"@types/node": "20.14.9",
123123
"@types/papaparse": "^5.3.14",
Binary file not shown.
1.24 MB
Loading
-294 KB
Binary file not shown.
1.24 MB
Loading

apps/dashboard/src/@/api/team.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ export type Team = {
99
slug: string;
1010
createdAt: string;
1111
updatedAt: string;
12-
deletedAt: string | null;
13-
bannedAt: string | null;
14-
// image: string; // -> TODO
12+
deletedAt?: string;
13+
bannedAt?: string;
14+
image?: string;
1515
billingPlan: "pro" | "growth" | "free";
1616
billingStatus: "validPayment" | (string & {}); // what's the other value?
17-
// billingEmail: string;
17+
billingEmail: string;
1818
// billingExternalId: string;
1919
// billingType: "STRIPE" | ??
2020
// billingCustomerPayload: ?? | null
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"use client";
2+
3+
import { useEffect } from "react";
4+
import { setCookie } from "../../stores/SyncStoreToCookies";
5+
6+
export function DashboardTypeCookieSetter(props: {
7+
type: "team" | "old";
8+
}) {
9+
// eslint-disable-next-line no-restricted-syntax
10+
useEffect(() => {
11+
setCookie("x-dashboard-type", props.type);
12+
}, [props.type]);
13+
14+
return null;
15+
}

apps/dashboard/src/@/components/blocks/Avatars/ProjectAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function ProjectAvatar(props: {
99
return (
1010
<Img
1111
src={props.src}
12-
className={cn("rounded-lg border", props.className)}
12+
className={cn("rounded-lg border border-border", props.className)}
1313
alt={""}
1414
fallback={
1515
<div className="flex items-center justify-center bg-muted/50">

apps/dashboard/src/@/components/blocks/DangerSettingCard.tsx

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ import {
1111
DialogTitle,
1212
DialogTrigger,
1313
} from "@/components/ui/dialog";
14+
import { cn } from "../../lib/utils";
1415

1516
export function DangerSettingCard(props: {
1617
title: string;
18+
className?: string;
19+
footerClassName?: string;
1720
description: string;
1821
buttonLabel: string;
1922
buttonOnClick: () => void;
@@ -22,18 +25,31 @@ export function DangerSettingCard(props: {
2225
title: string;
2326
description: string;
2427
};
28+
children?: React.ReactNode;
2529
}) {
2630
return (
27-
<div className="overflow-hidden rounded-lg border border-red-500/70">
28-
<div className="bg-muted/50 px-4 py-6 lg:px-6">
31+
<div
32+
className={cn(
33+
"overflow-hidden rounded-lg border border-red-500/70",
34+
props.className,
35+
)}
36+
>
37+
<div className="px-4 py-6 lg:px-6">
2938
<h3 className="font-semibold text-xl tracking-tight">{props.title}</h3>
3039

3140
<p className="mt-1.5 mb-4 text-foreground text-sm">
3241
{props.description}
3342
</p>
43+
44+
{props.children}
3445
</div>
3546

36-
<div className="flex justify-end border-red-500/70 border-t bg-red-100 px-4 py-4 lg:px-6 dark:bg-red-500/20">
47+
<div
48+
className={cn(
49+
"flex justify-end border-red-500/70 border-t bg-red-100 px-4 py-4 lg:px-6 dark:bg-red-500/20",
50+
props.footerClassName,
51+
)}
52+
>
3753
<Dialog>
3854
<DialogTrigger asChild>
3955
<Button
@@ -46,7 +62,10 @@ export function DangerSettingCard(props: {
4662
</Button>
4763
</DialogTrigger>
4864

49-
<DialogContent>
65+
<DialogContent
66+
className="z-[10001]"
67+
dialogOverlayClassName="z-[10000]"
68+
>
5069
<DialogHeader className="pr-10">
5170
<DialogTitle className="leading-snug">
5271
{props.confirmationDialog.title}

0 commit comments

Comments
 (0)