diff --git a/apps/app/components/labels/create-update-label-inline.tsx b/apps/app/components/labels/create-update-label-inline.tsx index 6c61d6d5a..a3a9c6bad 100644 --- a/apps/app/components/labels/create-update-label-inline.tsx +++ b/apps/app/components/labels/create-update-label-inline.tsx @@ -109,7 +109,7 @@ export const CreateUpdateLabelInline: React.FC = ({ return (
diff --git a/apps/app/components/labels/single-label.tsx b/apps/app/components/labels/single-label.tsx index 9c311518e..0bef9ee35 100644 --- a/apps/app/components/labels/single-label.tsx +++ b/apps/app/components/labels/single-label.tsx @@ -18,16 +18,16 @@ export const SingleLabel: React.FC = ({ editLabel, handleLabelDelete, }) => ( -
+
-
+
-
{label.name}
+
{label.name}
addLabelToGroup(label)}> diff --git a/apps/app/components/project/send-project-invitation-modal.tsx b/apps/app/components/project/send-project-invitation-modal.tsx index 5eb007af0..f397324b0 100644 --- a/apps/app/components/project/send-project-invitation-modal.tsx +++ b/apps/app/components/project/send-project-invitation-modal.tsx @@ -199,7 +199,7 @@ const SendProjectInvitationModal: React.FC = ({ isOpen, setIsOpen, member className={({ active, selected }) => `${active ? "bg-indigo-50" : ""} ${ selected ? "bg-indigo-50 font-medium" : "" - } text-gray-900 cursor-default select-none p-2` + } cursor-default select-none p-2 text-gray-900` } value={{ id: person.member.id, @@ -258,7 +258,7 @@ const SendProjectInvitationModal: React.FC = ({ isOpen, setIsOpen, member
-
+
diff --git a/apps/app/components/project/single-integration-card.tsx b/apps/app/components/project/single-integration-card.tsx index 63933b0a6..6113b402f 100644 --- a/apps/app/components/project/single-integration-card.tsx +++ b/apps/app/components/project/single-integration-card.tsx @@ -10,7 +10,7 @@ import useToast from "hooks/use-toast"; // ui import { CustomSelect } from "components/ui"; // icons -import GithubLogo from "public/logos/github-black.png"; +import GithubLogo from "public/logos/github-square.png"; // types import { IWorkspaceIntegrations } from "types"; // fetch-keys @@ -85,16 +85,16 @@ export const SingleIntegration: React.FC = ({ integration }) => { return ( <> {integration && ( -
+
GithubLogo
-

+

{integration.integration_detail.title}

-

Select GitHub repository to enable sync.

+

Select GitHub repository to enable sync.

= ({ integration }) => { )) ) : ( -

No repositories found

+

No repositories found

) ) : ( -

Loading repositories

+

Loading repositories...

)}
diff --git a/apps/app/components/states/create-update-state-inline.tsx b/apps/app/components/states/create-update-state-inline.tsx index 76082f16c..fcae64b4e 100644 --- a/apps/app/components/states/create-update-state-inline.tsx +++ b/apps/app/components/states/create-update-state-inline.tsx @@ -127,7 +127,10 @@ export const CreateUpdateStateInline: React.FC = ({ data, onClose, select }; return ( -
+
{({ open }) => ( @@ -175,7 +178,7 @@ export const CreateUpdateStateInline: React.FC = ({ data, onClose, select name="name" register={register} autoFocus - placeholder="Enter state name" + placeholder="Name" validations={{ required: true, }} @@ -210,7 +213,7 @@ export const CreateUpdateStateInline: React.FC = ({ data, onClose, select id="description" name="description" register={register} - placeholder="Enter state description" + placeholder="Description" error={errors.description} autoComplete="off" /> diff --git a/apps/app/components/states/single-state.tsx b/apps/app/components/states/single-state.tsx index 941449536..18472171f 100644 --- a/apps/app/components/states/single-state.tsx +++ b/apps/app/components/states/single-state.tsx @@ -24,12 +24,12 @@ import { IState } from "types"; import { StateGroup } from "components/states"; // fetch-keys import { STATE_LIST } from "constants/fetch-keys"; +import { getStateGroupIcon } from "components/icons"; type Props = { index: number; state: IState; statesList: IState[]; - activeGroup: StateGroup; handleEditState: () => void; handleDeleteState: () => void; }; @@ -38,7 +38,6 @@ export const SingleState: React.FC = ({ index, state, statesList, - activeGroup, handleEditState, handleDeleteState, }) => { @@ -136,16 +135,11 @@ export const SingleState: React.FC = ({ }; return ( -
-
- +
+
+ {getStateGroupIcon(state.group, "20", "20", state.color)}
-
{addSpaceIfCamelCase(state.name)}
+
{addSpaceIfCamelCase(state.name)}

{state.description}

@@ -153,7 +147,7 @@ export const SingleState: React.FC = ({ {index !== 0 && ( diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx index 42ac576e8..a89bc0e4a 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx @@ -20,6 +20,7 @@ import { IProject, UserAuth } from "types"; import type { NextPage, GetServerSidePropsContext } from "next"; // fetch-keys import { PROJECTS_LIST, PROJECT_DETAILS } from "constants/fetch-keys"; +import { ContrastIcon, GridViewIcon } from "components/icons"; const FeaturesSettings: NextPage = (props) => { const router = useRouter(); @@ -77,7 +78,6 @@ const FeaturesSettings: NextPage = (props) => { return ( @@ -88,80 +88,81 @@ const FeaturesSettings: NextPage = (props) => { } + settingsLayout >
-
-

Project Features

+

Features

+
+
+
+ +
+

Cycles

+

+ Cycles are enabled for all the projects in this workspace. Access them from the + navigation bar. +

+
+
+ +
+
+
+ +
+

Modules

+

+ Modules are enabled for all the projects in this workspace. Access it from the + navigation bar. +

+
+
+ +
-
-
-
-

Use cycles

-

- Cycles are enabled for all the projects in this workspace. Access it from the - navigation bar. -

-
-
- -
-
-
-
-

Use modules

-

- Modules are enabled for all the projects in this workspace. Access it from the - navigation bar. -

-
-
- -
-
- +
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx index bb243642a..4428411d6 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx @@ -30,6 +30,7 @@ import type { NextPage, GetServerSidePropsContext } from "next"; import { PROJECTS_LIST, PROJECT_DETAILS, WORKSPACE_DETAILS } from "constants/fetch-keys"; // constants import { NETWORK_CHOICES } from "constants/project"; +import SettingsNavbar from "layouts/settings-navbar"; const defaultValues: Partial = { name: "", @@ -125,7 +126,6 @@ const GeneralSettings: NextPage = (props) => { return ( @@ -136,6 +136,7 @@ const GeneralSettings: NextPage = (props) => { } + settingsLayout > = (props) => { }} /> -
-
-

General

-

- This information will be displayed to every member of the project. -

-
-
-
-
-

Icon & Name

-

- Select an icon and a name for the project. -

-
- {projectDetails ? ( - ( - - )} +
+
+
+

Icon & Name

+

Select an icon and a name for your project.

+
+
+ {projectDetails ? ( + ( + - ) : ( - - - )} - {projectDetails ? ( - - ) : ( - - - - )} -
-
-
-
-
-

Description

-

Give a description to the project.

- {projectDetails ? ( -