[WEB-5339] chore: work item sidebar refactor #8058
This commit is contained in:
parent
10590ffa13
commit
7178627f6a
4 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
import type { TIssue } from "@plane/types";
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
export const TransferHopInfo = ({ workItem }: { workItem: TIssue }) => <></>;
|
||||
|
|
@ -36,6 +36,7 @@ import { useProjectState } from "@/hooks/store/use-project-state";
|
|||
// components
|
||||
import { WorkItemAdditionalSidebarProperties } from "@/plane-web/components/issues/issue-details/additional-properties";
|
||||
import { IssueParentSelectRoot } from "@/plane-web/components/issues/issue-details/parent-select-root";
|
||||
import { TransferHopInfo } from "@/plane-web/components/issues/issue-details/sidebar/transfer-hop-info";
|
||||
import { DateAlert } from "@/plane-web/components/issues/issue-details/sidebar.tsx/date-alert";
|
||||
import { IssueWorklogProperty } from "@/plane-web/components/issues/worklog/property";
|
||||
import { IssueCycleSelect } from "./cycle-select";
|
||||
|
|
@ -261,6 +262,7 @@ export const IssueDetailsSidebar: React.FC<Props> = observer((props) => {
|
|||
<div className="flex w-2/5 flex-shrink-0 items-center gap-1 text-sm text-custom-text-300">
|
||||
<CycleIcon className="h-4 w-4 flex-shrink-0" />
|
||||
<span>{t("common.cycle")}</span>
|
||||
<TransferHopInfo workItem={issue} />
|
||||
</div>
|
||||
<IssueCycleSelect
|
||||
className="w-3/5 flex-grow"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import { useProjectState } from "@/hooks/store/use-project-state";
|
|||
// plane web components
|
||||
import { WorkItemAdditionalSidebarProperties } from "@/plane-web/components/issues/issue-details/additional-properties";
|
||||
import { IssueParentSelectRoot } from "@/plane-web/components/issues/issue-details/parent-select-root";
|
||||
import { TransferHopInfo } from "@/plane-web/components/issues/issue-details/sidebar/transfer-hop-info";
|
||||
import { DateAlert } from "@/plane-web/components/issues/issue-details/sidebar.tsx/date-alert";
|
||||
import { IssueWorklogProperty } from "@/plane-web/components/issues/worklog/property";
|
||||
import type { TIssueOperations } from "../issue-detail";
|
||||
|
|
@ -263,6 +264,7 @@ export const PeekOverviewProperties: FC<IPeekOverviewProperties> = observer((pro
|
|||
<div className="flex items-center gap-1 w-1/4 flex-shrink-0 text-sm text-custom-text-300">
|
||||
<CycleIcon className="h-4 w-4 flex-shrink-0" />
|
||||
<span>{t("common.cycle")}</span>
|
||||
<TransferHopInfo workItem={issue} />
|
||||
</div>
|
||||
<IssueCycleSelect
|
||||
className="w-3/4 flex-grow"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue