From f9ac778e47384f66ab4eec759545ac455143a296 Mon Sep 17 00:00:00 2001 From: Andre H Date: Tue, 5 Mar 2024 14:16:54 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E2=9A=92=EF=B8=8F=20build:=20add=20usehook?= =?UTF-8?q?s-ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index ec89a071..614068fb 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -49,7 +49,7 @@ "siwe": "^2.1.4", "tailwind-variants": "^0.2.0", "typescript": "^4.9.5", - "usehooks-ts": "^2.10.0", + "usehooks-ts": "^2.15.1", "vertical-stepper-nav": "^1.0.2", "viem": "^2.7.11", "wagmi": "^2.5.7", diff --git a/yarn.lock b/yarn.lock index e44f8793..2708695e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18209,7 +18209,7 @@ use-sync-external-store@1.2.0: resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== -usehooks-ts@^2.10.0: +usehooks-ts@^2.15.1: version "2.15.1" resolved "https://registry.yarnpkg.com/usehooks-ts/-/usehooks-ts-2.15.1.tgz#ede348c6f01b4b4fe981e240551624885a2fed83" integrity sha512-AK29ODCt4FT9XleILNbkbjjmkRCNaQrgxQEkvqHjlnT76iPXzTFGvK2Y/s83JEdSxRp43YEnSa3bYBEV6HZ26Q== From c079a9c33674ecc9ee8fa105682e67175f03b0e1 Mon Sep 17 00:00:00 2001 From: Andre H Date: Tue, 5 Mar 2024 14:18:31 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=94=A7=20chore:=20prevent=20Avatar=20?= =?UTF-8?q?from=20shrinking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/shared/Avatar/Avatar.theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/shared/Avatar/Avatar.theme.ts b/packages/frontend/src/components/shared/Avatar/Avatar.theme.ts index b7522cfe..a72a1bc7 100644 --- a/packages/frontend/src/components/shared/Avatar/Avatar.theme.ts +++ b/packages/frontend/src/components/shared/Avatar/Avatar.theme.ts @@ -2,7 +2,7 @@ import { tv, type VariantProps } from 'tailwind-variants'; export const avatarTheme = tv( { - base: ['relative', 'block', 'rounded-full', 'overflow-hidden'], + base: ['relative', 'block', 'rounded-full', 'overflow-hidden', 'shrink-0'], slots: { image: [ 'h-full', From f6db1e119b4fdcaaedeb87ef3ebdb44c1dd7f513 Mon Sep 17 00:00:00 2001 From: Andre H Date: Tue, 5 Mar 2024 14:18:51 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=94=A7=20chore:=20add=20overflow-scro?= =?UTF-8?q?ll=20to=20Tabs=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/shared/Tabs/Tabs.theme.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts b/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts index 81a32589..783d242b 100644 --- a/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts +++ b/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts @@ -71,6 +71,7 @@ export const tabsTheme = tv({ 'gap-5', 'border-b', 'border-transparent', + 'overflow-scroll', // Horizontal – default 'data-[orientation=horizontal]:border-border-interactive/10', // Vertical From 96f519d5e316e9edc22986a951318ed654d45280 Mon Sep 17 00:00:00 2001 From: Andre H Date: Tue, 5 Mar 2024 14:19:47 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20feat:=20mobile=20layou?= =?UTF-8?q?t=20for=20project=20overview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/overview/Activity/Activity.tsx | 2 +- .../src/pages/org-slug/projects/Id.tsx | 21 ++++++++++++++----- .../pages/org-slug/projects/id/Overview.tsx | 12 +++++------ 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/components/projects/project/overview/Activity/Activity.tsx b/packages/frontend/src/components/projects/project/overview/Activity/Activity.tsx index 040683b9..252d85a1 100644 --- a/packages/frontend/src/components/projects/project/overview/Activity/Activity.tsx +++ b/packages/frontend/src/components/projects/project/overview/Activity/Activity.tsx @@ -11,7 +11,7 @@ export const Activity = ({ activities: GitCommitWithBranch[]; }) => { return ( -
+
Activity
- - +
diff --git a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx index 81cdbe16..c1337045 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx @@ -115,8 +115,8 @@ const OverviewTabPanel = () => { }, [project]); return ( -
-
+
+
{ imageSrc={project.icon} type="blue" /> -
- +
+ {project.name} - +

{project.subDomain} - +

}> From 2182beca22c86a096ba6533f7205b51a09ff1612 Mon Sep 17 00:00:00 2001 From: Andre H Date: Tue, 5 Mar 2024 14:22:59 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=A7=20chore:=20remove=20database?= =?UTF-8?q?=20tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/org-slug/projects/Id.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/frontend/src/pages/org-slug/projects/Id.tsx b/packages/frontend/src/pages/org-slug/projects/Id.tsx index 668b3f8e..9db6dee1 100644 --- a/packages/frontend/src/pages/org-slug/projects/Id.tsx +++ b/packages/frontend/src/pages/org-slug/projects/Id.tsx @@ -107,9 +107,6 @@ const Id = () => { Deployments - - Database - Integrations