From 551378cfb9ab69d73b461bcab772fc4645f5aaea Mon Sep 17 00:00:00 2001 From: Saketh Pavan Goti <44170829+Sakethpavan@users.noreply.github.com> Date: Sun, 13 Oct 2024 14:55:16 +0530 Subject: [PATCH 1/4] feat: follow unkey on X (#2357) --- oss.gg/3_follow_the_unkey_x_account.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oss.gg/3_follow_the_unkey_x_account.md b/oss.gg/3_follow_the_unkey_x_account.md index fc0ebc9ac3..2772ea0b80 100644 --- a/oss.gg/3_follow_the_unkey_x_account.md +++ b/oss.gg/3_follow_the_unkey_x_account.md @@ -41,6 +41,9 @@ Your turn 👇 » 11-October-2024 by [Devang Rakholiya](@Devang0907) » Link to Account: https://x.com/Devang0907 +» 12-October-2024 by [Saketh Pavan](@Sakethpavan) +» Link to Account: https://x.com/Sakethpavan1 + --- From 573949b35e800bfd16310e8bf9edc53a9e983670 Mon Sep 17 00:00:00 2001 From: Teddy ASSIH <110066080+Ionfinisher@users.noreply.github.com> Date: Sun, 13 Oct 2024 09:40:47 +0000 Subject: [PATCH 2/4] Update 6_record_onboarding.md (#2301) --- oss.gg/6_record_onboarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oss.gg/6_record_onboarding.md b/oss.gg/6_record_onboarding.md index 635b7818a2..5fb8eba59d 100644 --- a/oss.gg/6_record_onboarding.md +++ b/oss.gg/6_record_onboarding.md @@ -28,6 +28,6 @@ Your turn 👇 //////////////////////////// -» 01-October-2024 by YOUR NAME +» 10-October-2024 by Teddy ASSIH --- From 95d3932e7eceaf8ff841d5eb2ff40f3dc3aa03c1 Mon Sep 17 00:00:00 2001 From: Vardhaman Bhandari <97441447+Vardhaman619@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:04:08 +0530 Subject: [PATCH 3/4] fix: reset input fields in API delete dialog after reopening (#2316) * fix: reset input fields in API delete dialog after reopening * refactor: remove unnecessary useEffect and utilize existing onOpenChange function for dialog * refactor: removed unused imports --- .../apis/[apiId]/settings/delete-api.tsx | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/apps/dashboard/app/(app)/apis/[apiId]/settings/delete-api.tsx b/apps/dashboard/app/(app)/apis/[apiId]/settings/delete-api.tsx index b4629fa8ec..1a210362c3 100644 --- a/apps/dashboard/app/(app)/apis/[apiId]/settings/delete-api.tsx +++ b/apps/dashboard/app/(app)/apis/[apiId]/settings/delete-api.tsx @@ -1,14 +1,8 @@ "use client"; -import { Button } from "@/components/ui/button"; -import type React from "react"; -import { useState } from "react"; - -import { Card, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; -import { Input } from "@/components/ui/input"; -import { toast } from "@/components/ui/toaster"; - import { Loading } from "@/components/dashboard/loading"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; +import { Button } from "@/components/ui/button"; +import { Card, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; import { Dialog, DialogContent, @@ -25,13 +19,16 @@ import { FormLabel, FormMessage, } from "@/components/ui/form"; +import { Input } from "@/components/ui/input"; +import { toast } from "@/components/ui/toaster"; import { trpc } from "@/lib/trpc/client"; +import { cn } from "@/lib/utils"; import { zodResolver } from "@hookform/resolvers/zod"; import { useRouter } from "next/navigation"; +import type React from "react"; +import { useState } from "react"; import { useForm } from "react-hook-form"; import { z } from "zod"; - -import { cn } from "@/lib/utils"; import { revalidate } from "./actions"; type Props = { @@ -84,6 +81,11 @@ export const DeleteApi: React.FC = ({ api, keys }) => { deleteApi.mutate({ apiId: api.id }); } + function handleDialogOpenChange(newState: boolean) { + setOpen(newState); + form.reset(); + } + return ( <> = ({ api, keys }) => { ) : null} - setOpen(o)}> + Delete API From 077c791ae532df896601ba492fd40533ae15127a Mon Sep 17 00:00:00 2001 From: Atharva_404 <72994819+Atharva-3000@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:26:38 +0530 Subject: [PATCH 4/4] Update 3_follow_the_unkey_x_account.md (#2364) Added name to the followed list. Co-authored-by: Andreas Thomas --- oss.gg/3_follow_the_unkey_x_account.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oss.gg/3_follow_the_unkey_x_account.md b/oss.gg/3_follow_the_unkey_x_account.md index 2772ea0b80..c10f190f76 100644 --- a/oss.gg/3_follow_the_unkey_x_account.md +++ b/oss.gg/3_follow_the_unkey_x_account.md @@ -41,6 +41,9 @@ Your turn 👇 » 11-October-2024 by [Devang Rakholiya](@Devang0907) » Link to Account: https://x.com/Devang0907 +» 13-October-2024 by [Atharva Deshmukh](@atharva-3000) +» Link to Account: https://x.com/0x_atharva + » 12-October-2024 by [Saketh Pavan](@Sakethpavan) » Link to Account: https://x.com/Sakethpavan1