From 679d1cafb6acf623ca897170d8697c6cb908387a Mon Sep 17 00:00:00 2001
From: Amirhossein Khalili
Date: Sat, 25 Apr 2026 19:06:58 +0330
Subject: [PATCH] refactor(ui): use icon-only create actions in list pages
---
src/pages/Clients.tsx | 7 +++++--
src/pages/Projects.tsx | 5 +++--
src/pages/Tags.tsx | 3 +--
src/pages/Workspaces.tsx | 5 +++--
4 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/pages/Clients.tsx b/src/pages/Clients.tsx
index cab433f..035e95f 100644
--- a/src/pages/Clients.tsx
+++ b/src/pages/Clients.tsx
@@ -125,9 +125,12 @@ export default function Clients() {
{canCreateClient && (
-
{canCreateTag && (
-
+
- {t.tags?.create || "Create Tag"}
)}
diff --git a/src/pages/Workspaces.tsx b/src/pages/Workspaces.tsx
index 0520b5c..32dc7c1 100644
--- a/src/pages/Workspaces.tsx
+++ b/src/pages/Workspaces.tsx
@@ -124,10 +124,11 @@ export default function Workspaces() {
navigate('/workspaces/create')}
- className="gap-2 shadow-sm"
+ size="icon"
+ className="shadow-sm"
+ title={t.workspace?.createNew || 'Create New'}
>
- {t.workspace?.createNew || 'Create New'}