From 46f6d9f6fb7c2a158acc6abc0eb6aa7258b74dc8 Mon Sep 17 00:00:00 2001
From: Pontus Abrahamsson
Date: Sun, 12 Nov 2023 00:36:27 +0100
Subject: [PATCH] Slack
---
apps/dashboard/package.json | 10 +++----
.../src/app/[locale]/@login/page.tsx | 4 ++-
.../src/components/google-sign-in.tsx | 2 +-
.../src/components/slack-sign-in.tsx | 28 ++++++++++++++++++
apps/dashboard/src/jobs/transactions.ts | 7 +++--
bun.lockb | Bin 328440 -> 331224 bytes
package.json | 2 --
packages/supabase/package.json | 2 +-
packages/ui/src/components/icons.tsx | 26 ++++++++++++++++
9 files changed, 68 insertions(+), 13 deletions(-)
create mode 100644 apps/dashboard/src/components/slack-sign-in.tsx
diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json
index b275e97e76..c3f4f91873 100644
--- a/apps/dashboard/package.json
+++ b/apps/dashboard/package.json
@@ -21,16 +21,16 @@
"@midday/supabase": "workspace:*",
"@midday/ui": "workspace:*",
"@novu/headless": "^0.21.0",
- "@trigger.dev/nextjs": "^2.2.5",
- "@trigger.dev/react": "^2.2.5",
- "@trigger.dev/sdk": "^2.2.5",
+ "@trigger.dev/nextjs": "^2.2.6",
+ "@trigger.dev/react": "^2.2.6",
+ "@trigger.dev/sdk": "^2.2.6",
"change-case": "^5.1.2",
"framer-motion": "^10.16.4",
"next": "canary",
"next-international": "^1.1.4",
- "next-safe-action": "^5.0.2",
+ "next-safe-action": "^5.0.3",
"next-themes": "^0.2.1",
- "next-usequerystate": "^1.10.1",
+ "next-usequerystate": "^1.10.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
diff --git a/apps/dashboard/src/app/[locale]/@login/page.tsx b/apps/dashboard/src/app/[locale]/@login/page.tsx
index 58d2958a5d..db2abc2afe 100644
--- a/apps/dashboard/src/app/[locale]/@login/page.tsx
+++ b/apps/dashboard/src/app/[locale]/@login/page.tsx
@@ -1,4 +1,5 @@
import { GoogleSignIn } from "@/components/google-sign-in";
+import { SlackSignIn } from "@/components/slack-sign-in";
import { Icons } from "@midday/ui/icons";
import Link from "next/link";
@@ -49,8 +50,9 @@ export default function Login() {
effortlessly.
-
+
+
diff --git a/apps/dashboard/src/components/google-sign-in.tsx b/apps/dashboard/src/components/google-sign-in.tsx
index 4e1f7df99b..9028eb6f15 100644
--- a/apps/dashboard/src/components/google-sign-in.tsx
+++ b/apps/dashboard/src/components/google-sign-in.tsx
@@ -19,7 +19,7 @@ export function GoogleSignIn() {
return (