fix: ui fixes and improvement (#479)
* fix: list view longer title tooltip fix * fix: module and cycle sidebar ui improvement
This commit is contained in:
parent
b96d40f106
commit
505b14e3a6
6 changed files with 35 additions and 15 deletions
|
|
@ -19,7 +19,6 @@ import {
|
|||
UserCircleIcon,
|
||||
ChevronDownIcon,
|
||||
DocumentIcon,
|
||||
ExclamationCircleIcon,
|
||||
} from "@heroicons/react/24/outline";
|
||||
// ui
|
||||
import { CustomMenu, Loader, ProgressBar } from "components/ui";
|
||||
|
|
@ -31,6 +30,8 @@ import cyclesService from "services/cycles.service";
|
|||
import { SidebarProgressStats } from "components/core";
|
||||
import ProgressChart from "components/core/sidebar/progress-chart";
|
||||
import { DeleteCycleModal } from "components/cycles";
|
||||
// icons
|
||||
import { ExclamationIcon } from "components/icons";
|
||||
// helpers
|
||||
import { capitalizeFirstLetter, copyTextToClipboard } from "helpers/string.helper";
|
||||
import { groupBy } from "helpers/array.helper";
|
||||
|
|
@ -346,8 +347,8 @@ export const CycleDetailsSidebar: React.FC<Props> = ({ cycle, isOpen, cycleStatu
|
|||
</Disclosure.Button>
|
||||
) : (
|
||||
<div className="flex items-center gap-1">
|
||||
<ExclamationCircleIcon className="h-3 w-3" />
|
||||
<span className="text-xs italic">
|
||||
<ExclamationIcon height={14} width={14} />
|
||||
<span className="text-xs italic text-gray-500">
|
||||
Invalid date. Please enter valid date.
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -417,8 +418,10 @@ export const CycleDetailsSidebar: React.FC<Props> = ({ cycle, isOpen, cycleStatu
|
|||
</Disclosure.Button>
|
||||
) : (
|
||||
<div className="flex items-center gap-1">
|
||||
<ExclamationCircleIcon className="h-3 w-3" />
|
||||
<span className="text-xs italic">No issues found. Please add issue.</span>
|
||||
<ExclamationIcon height={14} width={14} />
|
||||
<span className="text-xs italic text-gray-500">
|
||||
No issues found. Please add issue.
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue