From c6b1af5737c2a525f5e5c0d31ea1f6d1063822bd Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Wed, 3 Sep 2025 09:48:51 -0700 Subject: [PATCH] improvements: address feedback --- .../OrgAlertBanner/OrgAlertBanner.tsx | 4 ++-- .../components/GeneralPageForm.tsx | 13 ++--------- .../components/OrganizationsTable.tsx | 22 ++++++++++++------- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgAlertBanner/OrgAlertBanner.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgAlertBanner/OrgAlertBanner.tsx index de4b65a71..80adce989 100644 --- a/frontend/src/layouts/OrganizationLayout/components/OrgAlertBanner/OrgAlertBanner.tsx +++ b/frontend/src/layouts/OrganizationLayout/components/OrgAlertBanner/OrgAlertBanner.tsx @@ -27,11 +27,11 @@ export const OrgAlertBanner = ({ text, link }: Props) => { target="_blank" className="group flex items-center" > - + here diff --git a/frontend/src/pages/admin/GeneralPage/components/GeneralPageForm.tsx b/frontend/src/pages/admin/GeneralPage/components/GeneralPageForm.tsx index febc7f328..dfc8db0c4 100644 --- a/frontend/src/pages/admin/GeneralPage/components/GeneralPageForm.tsx +++ b/frontend/src/pages/admin/GeneralPage/components/GeneralPageForm.tsx @@ -5,16 +5,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { z } from "zod"; import { createNotification } from "@app/components/notifications"; -import { - Button, - FormControl, - Input, - Select, - SelectClear, - SelectItem, - Switch, - TextArea -} from "@app/components/v2"; +import { Button, FormControl, Input, Select, SelectClear, SelectItem, Switch, TextArea } from "@app/components/v2"; import { useServerConfig } from "@app/context"; import { useGetOrganizations, useUpdateServerConfig } from "@app/hooks/api"; @@ -103,7 +94,7 @@ export const GeneralPageForm = () => { return (
diff --git a/frontend/src/pages/admin/ResourceOverviewPage/components/OrganizationsTable.tsx b/frontend/src/pages/admin/ResourceOverviewPage/components/OrganizationsTable.tsx index bb9664590..b69653180 100644 --- a/frontend/src/pages/admin/ResourceOverviewPage/components/OrganizationsTable.tsx +++ b/frontend/src/pages/admin/ResourceOverviewPage/components/OrganizationsTable.tsx @@ -19,6 +19,7 @@ import { } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useNavigate } from "@tanstack/react-router"; +import { twMerge } from "tailwind-merge"; import { createNotification } from "@app/components/notifications"; import { @@ -192,8 +193,13 @@ const ViewMembersModalContent = ({ leftIcon={} placeholder="Search members..." /> - - + +
- -
@@ -215,7 +221,7 @@ const ViewMembersModalContent = ({ +
Email
+
Role
@@ -284,9 +290,9 @@ const ViewMembersModalContent = ({ )} -
- - {member.role.replace("-", " ")} + + +

{member.role.replace("-", " ")}

{Boolean(member.roleId) && ( @@ -352,7 +358,7 @@ const ViewMembersModalContent = ({ {Boolean(filteredMembers.length) && (