diff --git a/packages/editor/core/src/ui/extensions/image/image-resize.tsx b/packages/editor/core/src/ui/extensions/image/image-resize.tsx index 448b8811c..5e86475cf 100644 --- a/packages/editor/core/src/ui/extensions/image/image-resize.tsx +++ b/packages/editor/core/src/ui/extensions/image/image-resize.tsx @@ -23,8 +23,8 @@ export const ImageResizer = ({ editor }: { editor: Editor }) => { origin={false} edge={false} throttleDrag={0} - keepRatio={true} - resizable={true} + keepRatio + resizable throttleResize={0} onResize={({ target, width, height, delta }: any) => { delta[0] && (target!.style.width = `${width}px`); @@ -33,7 +33,7 @@ export const ImageResizer = ({ editor }: { editor: Editor }) => { onResizeEnd={() => { updateMediaSize(); }} - scalable={true} + scalable renderDirections={["w", "e"]} onScale={({ target, transform }: any) => { target!.style.transform = transform; diff --git a/web/components/cycles/single-cycle-card.tsx b/web/components/cycles/single-cycle-card.tsx index a91a6a5f3..e3e4ff437 100644 --- a/web/components/cycles/single-cycle-card.tsx +++ b/web/components/cycles/single-cycle-card.tsx @@ -334,7 +334,7 @@ export const SingleCycleCard: React.FC = ({ position="bottom" >
- +
diff --git a/web/components/exporter/export-modal.tsx b/web/components/exporter/export-modal.tsx index fe73dd620..825b64cd4 100644 --- a/web/components/exporter/export-modal.tsx +++ b/web/components/exporter/export-modal.tsx @@ -128,7 +128,7 @@ export const Exporter: React.FC = observer((props) => { value={value ?? []} onChange={(val: string[]) => onChange(val)} options={options} - input={true} + input label={ value && value.length > 0 ? projects && diff --git a/web/components/exporter/guide.tsx b/web/components/exporter/guide.tsx index dee7d854f..bb64e6170 100644 --- a/web/components/exporter/guide.tsx +++ b/web/components/exporter/guide.tsx @@ -150,7 +150,7 @@ const IntegrationGuide = () => { {provider && ( handleCsvClose()} data={null} user={user} diff --git a/web/components/issues/description-form.tsx b/web/components/issues/description-form.tsx index cea6211a7..1887b8cd3 100644 --- a/web/components/issues/description-form.tsx +++ b/web/components/issues/description-form.tsx @@ -114,7 +114,7 @@ export const IssueDescriptionForm: FC = (props) => { onChange(e.target.value); debouncedFormSave(); }} - required={true} + required className="min-h-10 block w-full resize-none overflow-hidden rounded border-none bg-transparent px-3 py-2 text-xl outline-none ring-0 focus:ring-1 focus:ring-custom-primary" hasError={Boolean(errors?.description)} role="textbox" diff --git a/web/components/issues/issue-layouts/kanban/properties.tsx b/web/components/issues/issue-layouts/kanban/properties.tsx index f40434686..10423973d 100644 --- a/web/components/issues/issue-layouts/kanban/properties.tsx +++ b/web/components/issues/issue-layouts/kanban/properties.tsx @@ -111,7 +111,7 @@ export const KanBanProperties: React.FC = observer((props) => onChange={handleState} states={states} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} @@ -121,7 +121,7 @@ export const KanBanProperties: React.FC = observer((props) => value={issue?.priority || null} onChange={handlePriority} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} @@ -132,7 +132,7 @@ export const KanBanProperties: React.FC = observer((props) => onChange={handleLabel} labels={labels} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} @@ -140,7 +140,7 @@ export const KanBanProperties: React.FC = observer((props) => {displayProperties && displayProperties?.assignee && ( = observer((props) => onChange={handleEstimate} estimatePoints={estimates} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} diff --git a/web/components/issues/issue-layouts/list/default.tsx b/web/components/issues/issue-layouts/list/default.tsx index e6fce190a..cb0fe6fff 100644 --- a/web/components/issues/issue-layouts/list/default.tsx +++ b/web/components/issues/issue-layouts/list/default.tsx @@ -136,7 +136,7 @@ export const List: React.FC = observer((props) => { handleIssues={handleIssues} quickActions={quickActions} display_properties={display_properties} - is_list={true} + is_list states={states} labels={labels} members={members} diff --git a/web/components/issues/issue-layouts/list/properties.tsx b/web/components/issues/issue-layouts/list/properties.tsx index e751a2fe9..9da637dca 100644 --- a/web/components/issues/issue-layouts/list/properties.tsx +++ b/web/components/issues/issue-layouts/list/properties.tsx @@ -62,7 +62,7 @@ export const KanBanProperties: FC = observer((props) => { {display_properties && display_properties?.state && states && ( = observer((props) => { value={issue?.priority || null} onChange={handlePriority} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} @@ -86,7 +86,7 @@ export const KanBanProperties: FC = observer((props) => { onChange={handleLabel} labels={labels} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> )} @@ -94,7 +94,7 @@ export const KanBanProperties: FC = observer((props) => { {display_properties && display_properties?.assignee && members && ( = observer((props) => { diff --git a/web/components/issues/issue-peek-overview/properties.tsx b/web/components/issues/issue-peek-overview/properties.tsx index bd087e10b..14ba0c57d 100644 --- a/web/components/issues/issue-peek-overview/properties.tsx +++ b/web/components/issues/issue-peek-overview/properties.tsx @@ -57,7 +57,7 @@ export const PeekOverviewProperties: FC = (props) => { onChange={handleState} states={states} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> @@ -75,7 +75,7 @@ export const PeekOverviewProperties: FC = (props) => { value={issue?.assignees || null} onChange={(ids: string[]) => handleAssignee(ids)} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow members={members} /> @@ -94,7 +94,7 @@ export const PeekOverviewProperties: FC = (props) => { value={issue?.priority || null} onChange={handlePriority} disabled={false} - hideDropdownArrow={true} + hideDropdownArrow /> diff --git a/web/components/issues/select/assignee.tsx b/web/components/issues/select/assignee.tsx index 7e4c5bedb..f26d7ecaa 100644 --- a/web/components/issues/select/assignee.tsx +++ b/web/components/issues/select/assignee.tsx @@ -50,7 +50,7 @@ export const IssueAssigneeSelect: React.FC = ({ projectId, value = [], on
{value && value.length > 0 && Array.isArray(value) ? (
- +
) : (
diff --git a/web/components/issues/select/label.tsx b/web/components/issues/select/label.tsx index a6d1ea8fa..6319ee207 100644 --- a/web/components/issues/select/label.tsx +++ b/web/components/issues/select/label.tsx @@ -49,7 +49,7 @@ export const IssueLabelSelect: React.FC = ({ setIsOpen, value, onChange, issueLabels?.find((l) => l.id === v)) ?? []} length={3} - showLength={true} + showLength /> ) : ( diff --git a/web/components/project/card.tsx b/web/components/project/card.tsx index ca746d02e..35f260d97 100644 --- a/web/components/project/card.tsx +++ b/web/components/project/card.tsx @@ -177,7 +177,7 @@ export const ProjectCard: React.FC = observer((props) => { > {projectMembersIds.length > 0 ? (
- +
) : ( No Member Yet diff --git a/web/components/project/members-select.tsx b/web/components/project/members-select.tsx index 6ea90f608..4d8819883 100644 --- a/web/components/project/members-select.tsx +++ b/web/components/project/members-select.tsx @@ -87,7 +87,7 @@ export const MembersSelect: React.FC = ({ >
{value && value.length > 0 && Array.isArray(value) ? ( - + ) : ( + {({ open }) => ( <> {!isCollapsed && ( @@ -186,7 +186,7 @@ export const ProjectSidebarList: FC = observer(() => { {(provided) => (
{orderedJoinedProjects && orderedJoinedProjects.length > 0 && ( - + {({ open }) => ( <> {!isCollapsed && ( diff --git a/web/components/ui/graphs/bar-graph.tsx b/web/components/ui/graphs/bar-graph.tsx index ae4154f36..565ca43e5 100644 --- a/web/components/ui/graphs/bar-graph.tsx +++ b/web/components/ui/graphs/bar-graph.tsx @@ -43,7 +43,7 @@ export const BarGraph: React.FC, "height" }} labelTextColor={{ from: "color", modifiers: [["darker", 1.6]] }} theme={{ ...CHARTS_THEME, ...(theme ?? {}) }} - animate={true} + animate enableLabel={rest.enableLabel ?? false} {...rest} /> diff --git a/web/components/ui/graphs/line-graph.tsx b/web/components/ui/graphs/line-graph.tsx index fb082e5fc..7adda5a16 100644 --- a/web/components/ui/graphs/line-graph.tsx +++ b/web/components/ui/graphs/line-graph.tsx @@ -30,7 +30,7 @@ export const LineGraph: React.FC = ({ : undefined, }} theme={{ ...CHARTS_THEME, ...(theme ?? {}) }} - animate={true} + animate {...rest} />
diff --git a/web/components/ui/graphs/pie-graph.tsx b/web/components/ui/graphs/pie-graph.tsx index 6f60afe2f..52b56e492 100644 --- a/web/components/ui/graphs/pie-graph.tsx +++ b/web/components/ui/graphs/pie-graph.tsx @@ -16,7 +16,7 @@ export const PieGraph: React.FC, "height" | "widt
diff --git a/web/components/ui/graphs/scatter-plot-graph.tsx b/web/components/ui/graphs/scatter-plot-graph.tsx index 99f42d958..a14def580 100644 --- a/web/components/ui/graphs/scatter-plot-graph.tsx +++ b/web/components/ui/graphs/scatter-plot-graph.tsx @@ -11,7 +11,7 @@ export const ScatterPlotGraph: React.FC<
diff --git a/web/components/web-view/issue-web-view-form.tsx b/web/components/web-view/issue-web-view-form.tsx index 5d088a263..728d25ad0 100644 --- a/web/components/web-view/issue-web-view-form.tsx +++ b/web/components/web-view/issue-web-view-form.tsx @@ -89,7 +89,7 @@ export const IssueWebViewForm: React.FC = (props) => { setIsSubmitting("submitting"); debouncedTitleSave(); }} - required={true} + required className="min-h-10 block w-full resize-none overflow-hidden rounded border bg-transparent px-3 py-2 text-xl outline-none ring-0 focus:ring-1 focus:ring-custom-primary" role="textbox" disabled={!isAllowed} @@ -125,7 +125,7 @@ export const IssueWebViewForm: React.FC = (props) => { ? "

" : value } - debouncedUpdatesEnabled={true} + debouncedUpdatesEnabled setShouldShowAlert={setShowAlert} setIsSubmitting={setIsSubmitting} customClassName={isAllowed ? "min-h-[150px] shadow-sm" : "!p-0 !pt-2 text-custom-text-200"} diff --git a/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx index 24a25fa9d..a6b17ace2 100644 --- a/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx +++ b/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx @@ -338,7 +338,7 @@ const SinglePage: NextPage = () => { placeholder="Page Title" onBlur={handleSubmit(updatePage)} onChange={(e) => setValue("name", e.target.value)} - required={true} + required className="min-h-10 block w-full resize-none overflow-hidden rounded border-none bg-transparent !px-3 !py-2 text-xl font-semibold outline-none ring-0" role="textbox" /> diff --git a/web/pages/m/[workspaceSlug]/editor.tsx b/web/pages/m/[workspaceSlug]/editor.tsx index 336c80ba8..be37fce6e 100644 --- a/web/pages/m/[workspaceSlug]/editor.tsx +++ b/web/pages/m/[workspaceSlug]/editor.tsx @@ -62,7 +62,7 @@ const Editor: NextPage = () => { deleteFile={fileService.deleteImage} borderOnFocus={false} value={!value || value === "" ? "

" : value} - noBorder={true} + noBorder customClassName="h-full shadow-sm overflow-auto" editorContentCustomClassNames="pb-9" onChange={(description: Object, description_html: string) => {