diff --git a/.deepsource.toml b/.deepsource.toml index 85de1a5e8..2b40af672 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -1,5 +1,11 @@ version = 1 +exclude_patterns = [ + "bin/**", + "**/node_modules/", + "**/*.min.js" +] + [[analyzers]] name = "shell" diff --git a/packages/editor/document-editor/package.json b/packages/editor/document-editor/package.json index 5f82a35f7..0016d5261 100644 --- a/packages/editor/document-editor/package.json +++ b/packages/editor/document-editor/package.json @@ -1,6 +1,6 @@ { "name": "@plane/document-editor", - "version": "0.0.1", + "version": "0.1.0", "description": "Package that powers Plane's Pages Editor", "main": "./dist/index.mjs", "module": "./dist/index.mjs", diff --git a/packages/editor/document-editor/src/ui/components/heading-component.tsx b/packages/editor/document-editor/src/ui/components/heading-component.tsx index 629d3b427..2a71beebf 100644 --- a/packages/editor/document-editor/src/ui/components/heading-component.tsx +++ b/packages/editor/document-editor/src/ui/components/heading-component.tsx @@ -8,6 +8,7 @@ export const HeadingComp = ({

{heading}

@@ -23,6 +24,7 @@ export const SubheadingComp = ({

{subHeading}

diff --git a/packages/editor/document-editor/src/ui/readonly/index.tsx b/packages/editor/document-editor/src/ui/readonly/index.tsx index 608179bf4..188d62427 100644 --- a/packages/editor/document-editor/src/ui/readonly/index.tsx +++ b/packages/editor/document-editor/src/ui/readonly/index.tsx @@ -82,7 +82,7 @@ const DocumentReadOnlyEditor = ({ { {/* name */} -
+
{issue.name}
diff --git a/web/components/api-token/ApiTokenForm/ApiTokenDescription.tsx b/web/components/api-token/ApiTokenForm/ApiTokenDescription.tsx deleted file mode 100644 index d17e4662e..000000000 --- a/web/components/api-token/ApiTokenForm/ApiTokenDescription.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { TextArea } from "@plane/ui"; -import { Control, Controller, FieldErrors } from "react-hook-form"; -import { IApiToken } from "types/api_token"; -import { IApiFormFields } from "./types"; -import { Dispatch, SetStateAction } from "react"; - -interface IApiTokenDescription { - generatedToken: IApiToken | null | undefined; - control: Control; - focusDescription: boolean; - setFocusTitle: Dispatch>; - setFocusDescription: Dispatch>; -} - -export const ApiTokenDescription = ({ - generatedToken, - control, - focusDescription, - setFocusTitle, - setFocusDescription, -}: IApiTokenDescription) => ( - - focusDescription ? ( -