From 6d1c7731f04898f0795882d50eb7adec365f7eae Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Fri, 20 Mar 2026 18:13:53 +0530 Subject: [PATCH] refactor: improve spacing and layout in ApprovalCard component --- .../tool-ui/linear/create-linear-issue.tsx | 75 ++++++++++--------- 1 file changed, 38 insertions(+), 37 deletions(-) diff --git a/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx b/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx index a722c10be..7914aa54e 100644 --- a/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx +++ b/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx @@ -272,13 +272,13 @@ function ApprovalCard({ {!decided && ( <>
-
+
{interruptData.context?.error ? (

{interruptData.context.error}

) : ( <> {workspaces.length > 0 && ( -
+

Linear Account *

@@ -317,7 +317,7 @@ function ApprovalCard({ {selectedWorkspace && ( <> -
+

Team *

@@ -346,7 +346,7 @@ function ApprovalCard({ {selectedTeam && ( <> -
+

State

-
-

Assignee

- + + + + + Unassigned + {selectedTeam.members + .filter((m) => m.active) + .map((m) => ( + + {m.name} ({m.email}) + + ))} + + +
+
+

Priority

+ -
- -
-

Priority

- + + +
{selectedTeam.labels.length > 0 && ( -
+

Labels

-
+
{allowedDecisions.includes("approve") && (