-
{icon}
-
{label}
+
-
+
))}
-
-
+
+
-
+
>
);
diff --git a/packages/frontend/src/pages/org-slug/projects/id/routes.tsx b/packages/frontend/src/pages/org-slug/projects/id/routes.tsx
index 78b15816..4ae7e81d 100644
--- a/packages/frontend/src/pages/org-slug/projects/id/routes.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/id/routes.tsx
@@ -4,7 +4,7 @@ import SettingsTabPanel from './Settings';
import GeneralTabPanel from './settings/General';
import GitTabPanel from './settings/Git';
import { EnvironmentVariablesTabPanel } from './settings/EnvironmentVariables';
-import MembersTabPanel from './settings/Members';
+import CollaboratorsTabPanel from './settings/Collaborators';
import Domains from './settings/Domains';
const Integrations = () => (
@@ -34,8 +34,8 @@ export const settingsTabRoutes = [
element:
,
},
{
- path: 'members',
- element:
,
+ path: 'collaborators',
+ element:
,
},
];
diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/Members.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/Collaborators.tsx
similarity index 93%
rename from packages/frontend/src/pages/org-slug/projects/id/settings/Members.tsx
rename to packages/frontend/src/pages/org-slug/projects/id/settings/Collaborators.tsx
index 7f118fff..9a343a34 100644
--- a/packages/frontend/src/pages/org-slug/projects/id/settings/Members.tsx
+++ b/packages/frontend/src/pages/org-slug/projects/id/settings/Collaborators.tsx
@@ -2,11 +2,11 @@ import { useCallback, useEffect, useState } from 'react';
import { useOutletContext } from 'react-router-dom';
import { Permission, AddProjectMemberInput, ProjectMember } from 'gql-client';
-import MemberCard from '../../../../../components/projects/project/settings/MemberCard';
-import AddMemberDialog from '../../../../../components/projects/project/settings/AddMemberDialog';
+import MemberCard from 'components/projects/project/settings/MemberCard';
+import AddMemberDialog from 'components/projects/project/settings/AddMemberDialog';
import { useGQLClient } from '../../../../../context/GQLClientContext';
import { OutletContextType } from '../../../../../types';
-import { useToast } from '../../../../../components/shared/Toast';
+import { useToast } from 'components/shared/Toast';
import { Button } from 'components/shared/Button';
import { PlusIcon } from 'components/shared/CustomIcon';
import { Badge } from 'components/shared/Badge';
@@ -14,7 +14,7 @@ import { Heading } from 'components/shared/Heading';
const FIRST_MEMBER_CARD = 0;
-const MembersTabPanel = () => {
+const CollaboratorsTabPanel = () => {
const client = useGQLClient();
const { toast } = useToast();
const { project } = useOutletContext
();
@@ -160,4 +160,4 @@ const MembersTabPanel = () => {
);
};
-export default MembersTabPanel;
+export default CollaboratorsTabPanel;
diff --git a/packages/frontend/src/stories/Components/Icons/CollaboratorsIcon.stories.tsx b/packages/frontend/src/stories/Components/Icons/CollaboratorsIcon.stories.tsx
new file mode 100644
index 00000000..3541b0a4
--- /dev/null
+++ b/packages/frontend/src/stories/Components/Icons/CollaboratorsIcon.stories.tsx
@@ -0,0 +1,29 @@
+import { Meta, StoryObj } from '@storybook/react';
+
+import { CollaboratorsIcon } from 'components/shared/CustomIcon';
+
+const meta: Meta = {
+ title: 'Components/CollaboratorsIcon',
+ component: CollaboratorsIcon,
+ tags: ['autodocs'],
+ argTypes: {
+ size: {
+ control: 'text',
+ },
+ name: {
+ control: 'text',
+ },
+ },
+};
+
+export default meta;
+
+type Story = StoryObj;
+
+export const Default: Story = {
+ render: ({ size, name }) => ,
+ args: {
+ size: '24px',
+ name: 'plus',
+ },
+};
diff --git a/packages/frontend/src/stories/Components/Icons/GithubLogoIcon.stories.tsx b/packages/frontend/src/stories/Components/Icons/GithubLogoIcon.stories.tsx
new file mode 100644
index 00000000..ee5bb425
--- /dev/null
+++ b/packages/frontend/src/stories/Components/Icons/GithubLogoIcon.stories.tsx
@@ -0,0 +1,29 @@
+import { Meta, StoryObj } from '@storybook/react';
+
+import { GithubLogoIcon } from 'components/shared/CustomIcon';
+
+const meta: Meta = {
+ title: 'Icons/GithubLogoIcon',
+ component: GithubLogoIcon,
+ tags: ['autodocs'],
+ argTypes: {
+ size: {
+ control: 'text',
+ },
+ name: {
+ control: 'text',
+ },
+ },
+};
+
+export default meta;
+
+type Story = StoryObj;
+
+export const Default: Story = {
+ render: ({ size, name }) => ,
+ args: {
+ size: '24px',
+ name: 'plus',
+ },
+};
diff --git a/packages/frontend/src/stories/Components/Icons/GitHubLogo.stories.tsx b/packages/frontend/src/stories/Components/Icons/SwitchIcon.stories.tsx
similarity index 53%
rename from packages/frontend/src/stories/Components/Icons/GitHubLogo.stories.tsx
rename to packages/frontend/src/stories/Components/Icons/SwitchIcon.stories.tsx
index 2768d670..f8b3ded9 100644
--- a/packages/frontend/src/stories/Components/Icons/GitHubLogo.stories.tsx
+++ b/packages/frontend/src/stories/Components/Icons/SwitchIcon.stories.tsx
@@ -1,10 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
-import { GitHubLogo } from 'components/shared/CustomIcon';
+import { SwitchIcon } from 'components/shared/CustomIcon';
-const meta: Meta = {
- title: 'Icons/GitHubLogo',
- component: GitHubLogo,
+const meta: Meta = {
+ title: 'Icons/SwitchIcon',
+ component: SwitchIcon,
tags: ['autodocs'],
argTypes: {
size: {
@@ -18,10 +18,10 @@ const meta: Meta = {
export default meta;
-type Story = StoryObj;
+type Story = StoryObj;
export const Default: Story = {
- render: ({ size, name }) => ,
+ render: ({ size, name }) => ,
args: {
size: '24px',
name: 'plus',