fix: remove unused imports and variables (part 1 — packages & non-web-core) (#8751)

* fix: remove unused imports and variables (part 1)

Resolve oxlint no-unused-vars warnings in packages/*, apps/admin,
apps/space, apps/live, and apps/web (non-core).

* fix: resolve CI check failures

* fix: resolve check:types failures

* fix: resolve check:types and check:format failures

- Use destructuring alias for activeCycleResolvedPath
- Format propel tab-navigation file

* fix: format propel button helper with oxfmt

Reorder Tailwind classes to match oxfmt canonical ordering.
This commit is contained in:
darkingtail 2026-03-25 04:17:03 +08:00 committed by sriram veeraghanta
parent c3c7c72aff
commit d9695afcdc
95 changed files with 71 additions and 145 deletions

View file

@ -4,7 +4,6 @@
* See the LICENSE file for details.
*/
import type { FC } from "react";
import React from "react";
import type { ISvgIcons } from "@plane/propel/icons";
import { DropdownIcon } from "@plane/propel/icons";

View file

@ -28,7 +28,6 @@ export function DropdownOptions(props: IMultiSelectDropdownOptions | ISingleSele
keyExtractor,
options,
handleClose,
value,
renderItem,
loader,
isMobile = false,

View file

@ -6,7 +6,6 @@
import { Combobox } from "@headlessui/react";
import { sortBy } from "lodash-es";
import type { FC } from "react";
import React, { useMemo, useRef, useState } from "react";
import { usePopper } from "react-popper";
// plane imports

View file

@ -6,7 +6,6 @@
import { Combobox } from "@headlessui/react";
import { sortBy } from "lodash-es";
import type { FC } from "react";
import React, { useMemo, useRef, useState } from "react";
import { usePopper } from "react-popper";
// plane imports

View file

@ -4,7 +4,6 @@
* See the LICENSE file for details.
*/
import type { FC } from "react";
import React from "react";
// plane utils
import { calculateTimeAgo, cn, getIconForLink } from "@plane/utils";

View file

@ -4,7 +4,6 @@
* See the LICENSE file for details.
*/
import type { FC } from "react";
import React, { useState, useEffect } from "react";
interface IRadialProgressBar {

View file

@ -5,7 +5,6 @@
*/
import * as RadixScrollArea from "@radix-ui/react-scroll-area";
import type { FC } from "react";
import React from "react";
import { cn } from "./utils";

View file

@ -5,7 +5,6 @@
*/
import { Tab } from "@headlessui/react";
import type { FC } from "react";
import React, { Fragment, useEffect, useState } from "react";
// helpers
import { useLocalStorage } from "@plane/hooks";