UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: внешний контур, auth empty state и HDESIGN update
This commit is contained in:
@@ -8,7 +8,7 @@ import { observer } from "mobx-react";
|
||||
import { SignalHigh } from "lucide-react";
|
||||
import { ISSUE_PRIORITIES } from "@plane/constants";
|
||||
import { useTranslation } from "@plane/i18n";
|
||||
import { LabelPropertyIcon, PriorityPropertyIcon } from "@plane/propel/icons";
|
||||
import { LabelPropertyIcon, PriorityIcon, PriorityPropertyIcon } from "@plane/propel/icons";
|
||||
import type { TIssue } from "@plane/types";
|
||||
import { PriorityDropdown } from "@/components/dropdowns/priority";
|
||||
import { IssueLabelSelect } from "@/components/issues/select";
|
||||
@@ -34,7 +34,7 @@ export const ExternalContoursIssueContentProperties = observer(function External
|
||||
|
||||
return (
|
||||
<div className="flex w-full flex-col">
|
||||
<div className="w-full overflow-y-auto">
|
||||
<div className="w-full overflow-visible">
|
||||
<h5 className="mb-2 text-body-sm-medium">{t("external_contours_page.properties.section_title")}</h5>
|
||||
<div className={`${!isEditable ? "opacity-60" : ""}`}>
|
||||
<div className="flex flex-col gap-3">
|
||||
@@ -48,12 +48,12 @@ export const ExternalContoursIssueContentProperties = observer(function External
|
||||
onChange={(val) => issue?.id && issueOperations.update(workspaceSlug, targetProjectId, issue.id, { priority: val })}
|
||||
disabled={!isEditable}
|
||||
buttonVariant="transparent-without-text"
|
||||
className="flex-1"
|
||||
buttonContainerClassName="h-full w-full"
|
||||
className="flex-1 overflow-visible"
|
||||
buttonContainerClassName="nodedc-external-property-control-shell h-full w-full overflow-visible rounded-[1.25rem] border-0 bg-transparent shadow-none outline-none"
|
||||
button={
|
||||
<div className="nodedc-external-property-control text-[13px] font-medium">
|
||||
{issue.priority && issue.priority !== "none" ? (
|
||||
<PriorityPropertyIcon className="h-3.5 w-3.5 flex-shrink-0 text-tertiary" />
|
||||
<PriorityIcon priority={issue.priority} className="h-3.5 w-3.5 flex-shrink-0" />
|
||||
) : (
|
||||
<SignalHigh className="h-3.5 w-3.5 flex-shrink-0 text-tertiary" />
|
||||
)}
|
||||
@@ -72,14 +72,14 @@ export const ExternalContoursIssueContentProperties = observer(function External
|
||||
<LabelPropertyIcon className="h-4 w-4 flex-shrink-0" />
|
||||
<span>{t("labels")}</span>
|
||||
</div>
|
||||
<div className="h-full min-h-8 flex-1">
|
||||
<div className="h-full min-h-8 flex-1 overflow-visible">
|
||||
<IssueLabelSelect
|
||||
value={issue.label_ids || []}
|
||||
onChange={(labelIds) => issue?.id && issueOperations.update(workspaceSlug, targetProjectId, issue.id, { label_ids: labelIds })}
|
||||
projectId={targetProjectId}
|
||||
disabled={!isEditable}
|
||||
rootClassName="w-full"
|
||||
buttonContainerClassName="h-full w-full"
|
||||
rootClassName="w-full overflow-visible"
|
||||
buttonContainerClassName="nodedc-external-property-control-shell h-full w-full overflow-visible rounded-[1.25rem] border-0 bg-transparent shadow-none outline-none"
|
||||
label={
|
||||
<div className="nodedc-external-property-control text-[13px] font-medium">
|
||||
<LabelPropertyIcon className="h-3.5 w-3.5 flex-shrink-0 text-tertiary" />
|
||||
|
||||
Reference in New Issue
Block a user