fix: oxfmt

This commit is contained in:
Atul Tameshwari
2026-06-29 10:47:03 +05:30
parent ca6d480dd8
commit 52478d58d4
7 changed files with 18 additions and 25 deletions

View File

@@ -79,7 +79,7 @@ export const IssueActivityCommentRoot = observer(function IssueActivityCommentRo
activityId={activityComment.id}
ends={index === 0 ? "top" : index === filteredActivityAndComments.length - 1 ? "bottom" : undefined}
/>
) : null
) : null;
})}
</div>
);

View File

@@ -217,11 +217,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
)}
{projectDetails?.cycle_view && (
<SidebarPropertyListItem
icon={CycleIcon}
label={t("common.cycle")}
appendElement={null}
>
<SidebarPropertyListItem icon={CycleIcon} label={t("common.cycle")} appendElement={null}>
<IssueCycleSelect
className="h-7.5 w-full grow"
workspaceSlug={workspaceSlug}

View File

@@ -232,7 +232,7 @@ export const KanbanIssueBlock = observer(function KanbanIssueBlock(props: IssueB
},
})
);
// oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps
// oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps
}, [cardRef?.current, issue?.id, isDragAllowed, canDropOverIssue, setIsCurrentBlockDragging, setIsDraggingOverBlock]);
if (!issue) return null;

View File

@@ -184,6 +184,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
const minDate = getDate(issue.start_date);
const maxDate = getDate(issue.target_date);
// oxlint-disable-next-line unicorn/consistent-function-scoping
const handleEventPropagation = (e: SyntheticEvent<HTMLDivElement>) => {
e.stopPropagation();
e.preventDefault();
@@ -339,7 +340,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
{/* modules */}
{projectDetails?.module_view && (
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="modules">
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
<div className="h-5" onFocus={handleEventPropagation} onClick={handleEventPropagation}>
<ModuleDropdown
buttonContainerClassName="truncate max-w-40"
@@ -360,7 +361,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
{/* cycles */}
{projectDetails?.cycle_view && (
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="cycle">
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
<div className="h-5" onFocus={handleEventPropagation} onClick={handleEventPropagation}>
<CycleDropdown
buttonContainerClassName="truncate max-w-40"
@@ -382,7 +383,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
{/* estimates */}
{projectId && areEstimateEnabledByProjectId(projectId?.toString()) && (
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="estimate">
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
<div className="h-5" onFocus={handleEventPropagation} onClick={handleEventPropagation}>
<EstimateDropdown
value={issue.estimate_point ?? undefined}
@@ -411,7 +412,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
isMobile={isMobile}
renderByDefault={false}
>
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
<div
onFocus={handleEventPropagation}
onClick={(e) => {
@@ -445,7 +446,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
isMobile={isMobile}
renderByDefault={false}
>
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events oxlint-disable-next-line jsx_a11y/no-static-element-interactions */}
<div
className="flex h-5 flex-shrink-0 items-center justify-center gap-2 overflow-hidden rounded-sm border-[0.5px] border-strong px-2.5 py-1"
onFocus={handleEventPropagation}

View File

@@ -15,11 +15,11 @@ import { CalendarDays, LayersIcon, Paperclip } from "lucide-react";
import { EIconSize, ISSUE_PRIORITIES, STATE_GROUPS } from "@plane/constants";
import { Logo } from "@plane/propel/emoji-icon-picker";
import type { ISvgIcons } from "@plane/propel/icons";
import {
CycleGroupIcon,
CycleIcon,
ModuleIcon,
PriorityIcon,
import {
CycleGroupIcon,
CycleIcon,
ModuleIcon,
PriorityIcon,
StateGroupIcon,
LinkIcon,
StatePropertyIcon,
@@ -43,7 +43,7 @@ import type {
TGroupedIssues,
IIssueDisplayFilterOptions,
TGetColumns,
TSpreadsheetColumn
TSpreadsheetColumn,
} from "@plane/types";
import { EIssuesStoreType } from "@plane/types";
// plane ui
@@ -53,7 +53,7 @@ import { renderFormattedDate, getFileURL } from "@plane/utils";
import { store } from "@/lib/store-context";
import { ISSUE_FILTER_DEFAULT_DATA } from "@/store/issue/helpers/base-issues.store";
import { DEFAULT_DISPLAY_PROPERTIES } from "@/store/issue/issue-details/sub_issues_filter.store";
// constants
// constants
import { ISSUE_GROUP_BY_OPTIONS } from "@plane/constants";
// components
import {

View File

@@ -217,11 +217,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
)}
{projectDetails?.cycle_view && (
<SidebarPropertyListItem
icon={CycleIcon}
label={t("common.cycle")}
appendElement={null}
>
<SidebarPropertyListItem icon={CycleIcon} label={t("common.cycle")} appendElement={null}>
<IssueCycleSelect
className="h-7.5 w-full grow"
workspaceSlug={workspaceSlug}

View File

@@ -244,7 +244,7 @@ export const PageEditorBody = observer(function PageEditorBody(props: Props) {
<div className="page-summary-container absolute top-[64px] right-0 z-[5] h-full">
<div className="sticky top-[72px]">
<div className="group/page-toc relative px-page-x">
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events */}
{/* oxlint-disable-next-line jsx_a11y/click-events-have-key-events */}
<div
className="max-h-[50vh] !cursor-pointer overflow-hidden"
// oxlint-disable-next-line jsx_a11y/prefer-tag-over-role