refactor: update code to use centralized Ant Design imports
- Replaced direct import of '@ant-design/icons' with centralized import from '@/shared/antd-imports'
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
ProfileOutlined,
|
||||
TeamOutlined,
|
||||
UserOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import React, { ReactNode, lazy } from 'react';
|
||||
const Overview = lazy(() => import('./overview/overview'));
|
||||
const Users = lazy(() => import('./users/users'));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EditOutlined, MailOutlined, PhoneOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, MailOutlined, PhoneOutlined } from '@/shared/antd-imports';
|
||||
import { PageHeader } from '@ant-design/pro-components';
|
||||
import { Button, Card, Input, Space, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
Tooltip,
|
||||
Typography,
|
||||
} from '@/shared/antd-imports';
|
||||
import { DeleteOutlined, SearchOutlined, SyncOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined, SearchOutlined, SyncOutlined } from '@/shared/antd-imports';
|
||||
import { PageHeader } from '@ant-design/pro-components';
|
||||
import { projectsApiService } from '@/api/projects/projects.api.service';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RightOutlined } from '@ant-design/icons';
|
||||
import { RightOutlined } from '@/shared/antd-imports';
|
||||
import { ConfigProvider, Flex, Menu, MenuProps } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { Link, useLocation } from 'react-router-dom';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SearchOutlined, SyncOutlined } from '@ant-design/icons';
|
||||
import { SearchOutlined, SyncOutlined } from '@/shared/antd-imports';
|
||||
import { PageHeader } from '@ant-design/pro-components';
|
||||
import { Button, Flex, Input, Tooltip } from '@/shared/antd-imports';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SearchOutlined, SyncOutlined } from '@ant-design/icons';
|
||||
import { SearchOutlined, SyncOutlined } from '@/shared/antd-imports';
|
||||
import { PageHeader } from '@ant-design/pro-components';
|
||||
import { Button, Card, Flex, Input, Table, TableProps, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useCallback, useEffect, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useMediaQuery } from 'react-responsive';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { UserOutlined } from '@ant-design/icons';
|
||||
import { UserOutlined } from '@/shared/antd-imports';
|
||||
import { Form, Card, Input, Flex, Button, Typography, Result } from 'antd/es';
|
||||
|
||||
import PageHeader from '@components/AuthPageHeader';
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { Card, Input, Flex, Checkbox, Button, Typography, Space, Form, message } from 'antd/es';
|
||||
import { Rule } from 'antd/es/form';
|
||||
|
||||
import { LockOutlined, UserOutlined } from '@ant-design/icons';
|
||||
import { LockOutlined, UserOutlined } from '@/shared/antd-imports';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useMediaQuery } from 'react-responsive';
|
||||
|
||||
@@ -2,10 +2,10 @@ import { useEffect, useState } from 'react';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useMediaQuery } from 'react-responsive';
|
||||
import { LockOutlined, MailOutlined, UserOutlined } from '@ant-design/icons';
|
||||
import { LockOutlined, MailOutlined, UserOutlined } from '@/shared/antd-imports';
|
||||
import { Form, Card, Input, Flex, Button, Typography, Space, message } from 'antd/es';
|
||||
import { Rule } from 'antd/es/form';
|
||||
import { CheckCircleTwoTone, CloseCircleTwoTone } from '@ant-design/icons';
|
||||
import { CheckCircleTwoTone, CloseCircleTwoTone } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
import googleIcon from '@/assets/images/google-icon.png';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
import { Link, useNavigate, useParams } from 'react-router-dom';
|
||||
import { Form, Card, Input, Flex, Button, Typography, Result } from 'antd/es';
|
||||
import { LockOutlined } from '@ant-design/icons';
|
||||
import { LockOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useMediaQuery } from 'react-responsive';
|
||||
import { CheckCircleTwoTone, CloseCircleTwoTone } from '@ant-design/icons';
|
||||
import { CheckCircleTwoTone, CloseCircleTwoTone } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
import PageHeader from '@components/AuthPageHeader';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { StarFilled } from '@ant-design/icons';
|
||||
import { StarFilled } from '@/shared/antd-imports';
|
||||
import { Button, ConfigProvider, Tooltip } from '@/shared/antd-imports';
|
||||
import { useMemo } from 'react';
|
||||
import { colors } from '@/styles/colors';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SyncOutlined } from '@ant-design/icons';
|
||||
import { SyncOutlined } from '@/shared/antd-imports';
|
||||
import {
|
||||
Badge,
|
||||
Button,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import HomeCalendar from '../../../components/calendars/homeCalendar/HomeCalendar';
|
||||
import { Tag, Typography } from '@/shared/antd-imports';
|
||||
import { ClockCircleOutlined } from '@ant-design/icons';
|
||||
import { ClockCircleOutlined } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import AddTaskInlineForm from './add-task-inline-form';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ExpandAltOutlined, SyncOutlined } from '@ant-design/icons';
|
||||
import { ExpandAltOutlined, SyncOutlined } from '@/shared/antd-imports';
|
||||
import {
|
||||
Badge,
|
||||
Button,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CheckCircleOutlined } from '@ant-design/icons';
|
||||
import { CheckCircleOutlined } from '@/shared/antd-imports';
|
||||
import ConfigProvider from 'antd/es/config-provider';
|
||||
import Button from 'antd/es/button';
|
||||
import Tooltip from 'antd/es/tooltip';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CheckCircleOutlined, SyncOutlined } from '@ant-design/icons';
|
||||
import { CheckCircleOutlined, SyncOutlined } from '@/shared/antd-imports';
|
||||
import { useRef, useState } from 'react';
|
||||
import Form from 'antd/es/form';
|
||||
import Input, { InputRef } from 'antd/es/input';
|
||||
|
||||
@@ -23,7 +23,7 @@ import {
|
||||
SyncOutlined,
|
||||
UnorderedListOutlined,
|
||||
AppstoreOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import type { FilterValue, SorterResult } from 'antd/es/table/interface';
|
||||
|
||||
import ProjectDrawer from '@/components/projects/project-drawer/project-drawer';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import TaskListFilters from '../taskList/taskListFilters/TaskListFilters';
|
||||
import { Button, Skeleton } from '@/shared/antd-imports';
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { toggleDrawer } from '@/features/projects/status/StatusSlice';
|
||||
import KanbanGroup from '@/components/board/kanban-group/kanban-group';
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
DownOutlined,
|
||||
RightOutlined,
|
||||
ExpandAltOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { NewTaskType, toggleTaskExpansion } from '@features/roadmap/roadmap-slice';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleTaskDrawer } from '@features/tasks/taskSlice';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useCallback, useMemo, useRef, useState } from 'react';
|
||||
import { Checkbox, Flex, Tag, Tooltip } from '@/shared/antd-imports';
|
||||
import { HolderOutlined } from '@ant-design/icons';
|
||||
import { HolderOutlined } from '@/shared/antd-imports';
|
||||
import {
|
||||
DndContext,
|
||||
DragEndEvent,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Avatar, Checkbox, DatePicker, Flex, Select, Tag } from '@/shared/antd-imports';
|
||||
import { createColumnHelper, ColumnDef } from '@tanstack/react-table';
|
||||
import { IProjectTask } from '@/types/project/projectTasksViewModel.types';
|
||||
import { HolderOutlined, PlusOutlined } from '@ant-design/icons';
|
||||
import { HolderOutlined, PlusOutlined } from '@/shared/antd-imports';
|
||||
import StatusDropdown from '@/components/task-list-common/status-dropdown/status-dropdown';
|
||||
import Avatars from '@/components/avatars/avatars';
|
||||
import LabelsSelector from '@/components/task-list-common/labelsSelector/labels-selector';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
EllipsisOutlined,
|
||||
EditOutlined,
|
||||
RetweetOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { ITaskListGroup } from '@/types/tasks/taskList.types';
|
||||
import { ITaskStatusCategory } from '@/types/status.types';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Badge, Button, Collapse, ConfigProvider, Dropdown, Flex, Input, Typography } from '@/shared/antd-imports';
|
||||
import { useState } from 'react';
|
||||
import { TaskType } from '@/types/task.types';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import './task-list-table-wrapper.css';
|
||||
import TaskListTable from '../table-v2';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { ConfigProvider, Flex, Select } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { colors } from '@/styles/colors';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import {
|
||||
Badge,
|
||||
Button,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable react-hooks/exhaustive-deps */
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import {
|
||||
Badge,
|
||||
Button,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import { useState } from 'react';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SearchOutlined } from '@ant-design/icons';
|
||||
import { SearchOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Card, Dropdown, Flex, Input, InputRef, Space } from '@/shared/antd-imports';
|
||||
import { useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { MoreOutlined } from '@ant-design/icons';
|
||||
import { MoreOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CaretDownFilled, SortAscendingOutlined, SortDescendingOutlined } from '@ant-design/icons';
|
||||
import { CaretDownFilled, SortAscendingOutlined, SortDescendingOutlined } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { colors } from '../../../../../styles/colors';
|
||||
|
||||
@@ -12,7 +12,7 @@ import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { deselectAll } from '@features/projects/bulkActions/bulkActionSlice';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IProjectTask } from '@/types/project/projectTasksViewModel.types';
|
||||
import { HolderOutlined } from '@ant-design/icons';
|
||||
import { HolderOutlined } from '@/shared/antd-imports';
|
||||
|
||||
const TaskListTable = ({
|
||||
taskList,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Badge, Button, Collapse, ConfigProvider, Dropdown, Flex, Input, Typography } from '@/shared/antd-imports';
|
||||
import { useState } from 'react';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '../../../../../styles/colors';
|
||||
import './taskListTableWrapper.css';
|
||||
import TaskListTable from './TaskListTable';
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
InboxOutlined,
|
||||
RetweetOutlined,
|
||||
UserAddOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Badge, Dropdown, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { MenuProps } from 'antd/lib';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
DownOutlined,
|
||||
RightOutlined,
|
||||
ExpandAltOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { setShowTaskDrawer } from '@/features/task-drawer/task-drawer.slice';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Divider, Empty, Flex, Popover, Typography } from '@/shared/antd-imports';
|
||||
import { PlayCircleFilled } from '@ant-design/icons';
|
||||
import { PlayCircleFilled } from '@/shared/antd-imports';
|
||||
import { colors } from '../../../../../../styles/colors';
|
||||
import CustomAvatar from '../../../../../../components/CustomAvatar';
|
||||
import { mockTimeLogs } from './mockTimeLogs';
|
||||
|
||||
@@ -29,7 +29,7 @@ import { calculateTimeDifference } from '@/utils/calculate-time-difference';
|
||||
import { getUserSession } from '@/utils/session-helper';
|
||||
import './project-view-updates.css';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { DeleteOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined } from '@/shared/antd-imports';
|
||||
|
||||
const MAX_COMMENT_LENGTH = 2000;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Flex } from '@/shared/antd-imports';
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { nanoid } from '@reduxjs/toolkit';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
MoreOutlined,
|
||||
PlusOutlined,
|
||||
RetweetOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { MenuProps } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import { CSS } from '@dnd-kit/utilities';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { themeWiseColor } from '@/utils/themeWiseColor';
|
||||
import BoardSectionCardHeader from './board-section-card-header';
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import BoardViewTaskCard from '../board-task-card/board-view-task-card';
|
||||
import BoardViewCreateTaskCard from '../board-task-card/board-view-create-task-card';
|
||||
import { ITaskListGroup } from '@/types/tasks/taskList.types';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
DeleteOutlined,
|
||||
ExclamationCircleFilled,
|
||||
InboxOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import CustomAvatarGroup from '@/components/board/custom-avatar-group';
|
||||
import CustomDueDatePicker from '@/components/board/custom-due-date-picker';
|
||||
import { IProjectTask } from '@/types/project/projectTasksViewModel.types';
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
CaretDownFilled,
|
||||
ExclamationCircleFilled,
|
||||
PlusOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import dayjs, { Dayjs } from 'dayjs';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useSortable } from '@dnd-kit/sortable';
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
DeleteOutlined,
|
||||
ExclamationCircleFilled,
|
||||
ExclamationCircleOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { durationDateFormat } from '@utils/durationDateFormat';
|
||||
import { DEFAULT_PAGE_SIZE, IconsMap } from '@/shared/constants';
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Flex, Progress } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { themeWiseColor } from '@/utils/themeWiseColor';
|
||||
import { DownOutlined, ExclamationCircleOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined, ExclamationCircleOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
import logger from '@/utils/errorLogger';
|
||||
import { projectsApiService } from '@/api/projects/projects.api.service';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Card, Flex, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons';
|
||||
import { ExclamationCircleOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import OverdueTasksTable from './tables/overdue-tasks-table';
|
||||
import OverLoggedTasksTable from './tables/over-logged-tasks-table';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Avatar, Button, Flex, Table, Typography } from '@/shared/antd-imports';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { TableProps } from 'antd/lib';
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import { IInsightTasks } from '@/types/project/projectInsights.types';
|
||||
import logger from '@/utils/errorLogger';
|
||||
import { projectInsightsApiService } from '@/api/projects/insights/project-insights.api.service';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DownloadOutlined } from '@ant-design/icons';
|
||||
import { DownloadOutlined } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Checkbox, Flex, Segmented } from '@/shared/antd-imports';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { useParams } from 'react-router-dom';
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
} from '@/shared/antd-imports';
|
||||
|
||||
// Icons
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SyncOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SyncOutlined } from '@/shared/antd-imports';
|
||||
|
||||
// React & Router
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
@@ -65,7 +65,7 @@ import { addTaskCardToTheTop, fetchBoardTaskGroups } from '@/features/board/boar
|
||||
import { fetchPhasesByProjectId } from '@/features/projects/singleProject/phase/phases.slice';
|
||||
import { fetchEnhancedKanbanGroups } from '@/features/enhanced-kanban/enhanced-kanban.slice';
|
||||
import { fetchTasksV3 } from '@/features/task-management/task-management.slice';
|
||||
import { ShareAltOutlined } from '@ant-design/icons';
|
||||
import { ShareAltOutlined } from '@/shared/antd-imports';
|
||||
import { fetchStatuses } from '@/features/taskAttributes/taskStatusSlice';
|
||||
|
||||
const ProjectViewHeader = memo(() => {
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
Tabs,
|
||||
PushpinFilled,
|
||||
PushpinOutlined,
|
||||
type TabsProps,
|
||||
} from '@/shared/antd-imports';
|
||||
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
@@ -41,7 +40,6 @@ import { SuspenseFallback } from '@/components/suspense-fallback/suspense-fallba
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useTimerInitialization } from '@/hooks/useTimerInitialization';
|
||||
|
||||
|
||||
// Import critical components synchronously to avoid suspense interruptions
|
||||
import TaskDrawer from '@components/task-drawer/task-drawer';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import Dropdown from 'antd/es/dropdown';
|
||||
import Input from 'antd/es/input';
|
||||
import Typography from 'antd/es/typography';
|
||||
import { MenuProps } from 'antd/es/menu';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
DragEndEvent,
|
||||
DragStartEvent,
|
||||
} from '@dnd-kit/core';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
LoadingOutlined,
|
||||
RetweetOutlined,
|
||||
UserAddOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Badge, Dropdown, Flex, Typography, Modal } from '@/shared/antd-imports';
|
||||
import { MenuProps } from 'antd/lib';
|
||||
import { useState } from 'react';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Badge, Card, Dropdown, Empty, Flex, Menu, MenuProps, Typography } from '@/shared/antd-imports';
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
// custom css file
|
||||
import './custom-column-label-cell.css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Badge, Card, Dropdown, Empty, Flex, Menu, MenuProps, Typography } from '@/shared/antd-imports';
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
// custom css file
|
||||
import './custom-column-selection-cell.css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SettingOutlined } from '@ant-design/icons';
|
||||
import { SettingOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Flex, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Tooltip } from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import {
|
||||
|
||||
@@ -51,7 +51,7 @@ import {
|
||||
} from '@/features/task-management/task-management.slice';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { tasksCustomColumnsService } from '@/api/tasks/tasks-custom-columns.service';
|
||||
import { ExclamationCircleFilled } from '@ant-design/icons';
|
||||
import { ExclamationCircleFilled } from '@/shared/antd-imports';
|
||||
|
||||
const CustomColumnModal = () => {
|
||||
const [mainForm] = Form.useForm();
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { nanoid } from 'nanoid';
|
||||
import { PhaseColorCodes } from '../../../../../../../../shared/constants';
|
||||
import { Button, Flex, Input, Select, Tag, Typography } from '@/shared/antd-imports';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '../../../../../../../../hooks/useAppDispatch';
|
||||
import { useAppSelector } from '../../../../../../../../hooks/useAppSelector';
|
||||
import { setLabelsList } from '../../../../../../../../features/projects/singleProject/task-list-custom-columns/task-list-custom-columns-slice';
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { nanoid } from 'nanoid';
|
||||
import { PhaseColorCodes } from '../../../../../../../../shared/constants';
|
||||
import { Button, Flex, Input, Select, Tag, Typography } from '@/shared/antd-imports';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@/shared/antd-imports';
|
||||
|
||||
import { useAppDispatch } from '../../../../../../../../hooks/useAppDispatch';
|
||||
import { useAppSelector } from '../../../../../../../../hooks/useAppSelector';
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
PaperClipOutlined,
|
||||
MinusCircleOutlined,
|
||||
RetweetOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Input, { InputRef } from 'antd/es/input';
|
||||
import { useMemo, useRef, useState, useEffect } from 'react';
|
||||
import { Spin } from '@/shared/antd-imports';
|
||||
import { LoadingOutlined } from '@ant-design/icons';
|
||||
import { LoadingOutlined } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -9,7 +9,7 @@ import Dropdown from 'antd/es/dropdown';
|
||||
import Input from 'antd/es/input';
|
||||
import Typography from 'antd/es/typography';
|
||||
import { MenuProps } from 'antd/es/menu';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined, EllipsisOutlined, RetweetOutlined, RightOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import './task-list-table-wrapper.css';
|
||||
import TaskListTable from '../task-list-table';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
SettingOutlined,
|
||||
UsergroupAddOutlined,
|
||||
PlusOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useSortable } from '@dnd-kit/sortable';
|
||||
import { CSS } from '@dnd-kit/utilities';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Card, Checkbox, Dropdown, Flex, Skeleton, Space, Typography } from '@/shared/antd-imports';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import MembersReportsTable from './members-reports-table/members-reports-table';
|
||||
import TimeWiseFilter from '@/components/reporting/time-wise-filter';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Flex, Typography, theme } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState, useCallback, useMemo } from 'react';
|
||||
import OverviewStatCard from './overview-stat-card';
|
||||
import { BankOutlined, FileOutlined, UsergroupAddOutlined } from '@ant-design/icons';
|
||||
import { BankOutlined, FileOutlined, UsergroupAddOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewStatistics } from '@/types/reporting/reporting.types';
|
||||
|
||||
@@ -4,7 +4,7 @@ import { setSelectedProjectCategories } from '@/features/reporting/projectReport
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { IProjectCategoryViewModel } from '@/types/project/projectCategory.types';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Card, Checkbox, Dropdown, Empty, Flex, Input, InputRef, List } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { IProjectHealth } from '@/types/project/projectHealth.types';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -3,7 +3,7 @@ import { setSelectedProjectManagers } from '@/features/reporting/projectReports/
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { IProjectManager } from '@/types/project/projectManager.types';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, Empty, Flex, Input, InputRef, List } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { IProjectStatus } from '@/types/project/projectStatus.types';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import { debounce } from 'lodash';
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { useState } from 'react';
|
||||
import { MoreOutlined } from '@ant-design/icons';
|
||||
import { MoreOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useEffect, useState, useMemo, useCallback, memo } from 'react';
|
||||
import { Button, ConfigProvider, Flex, PaginationProps, Table, TableColumnsType } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { ExpandAltOutlined } from '@ant-design/icons';
|
||||
import { ExpandAltOutlined } from '@/shared/antd-imports';
|
||||
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable react-hooks/exhaustive-deps */
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import { Badge, Card, Dropdown, Flex, Input, InputRef, Menu, MenuProps, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Badge, Card, Dropdown, Flex, Menu, MenuProps, Typography } from '@/shared/antd-imports';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import './project-health-cell.css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Button, Card, Checkbox, Dropdown, Flex, Space, Typography } from '@/shared/antd-imports';
|
||||
import { useMemo, useCallback, memo } from 'react';
|
||||
import CustomPageHeader from '@/pages/reporting/page-header/custom-page-header';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import ProjectReportsTable from './projects-reports-table/projects-reports-table';
|
||||
import ProjectsReportsFilters from './projects-reports-filters/project-reports-filters';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { GlobalOutlined, LeftCircleOutlined, RightCircleOutlined } from '@ant-design/icons';
|
||||
import { GlobalOutlined, LeftCircleOutlined, RightCircleOutlined } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { Button, Flex, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { setSelectOrDeselectBillable } from '@/features/reporting/time-reports/time-reports-overview.slice';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Checkbox, Dropdown, MenuProps } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
} from '@/features/reporting/time-reports/time-reports-overview.slice';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Divider, Dropdown, Input, theme } from '@/shared/antd-imports';
|
||||
import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
||||
import React, { useState } from 'react';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
DownOutlined,
|
||||
RightOutlined,
|
||||
FilterOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import {
|
||||
Button,
|
||||
Checkbox,
|
||||
|
||||
@@ -1,24 +1,19 @@
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Checkbox, Divider, Dropdown, Input, theme } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import type { CheckboxChangeEvent } from 'antd/es/checkbox';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { ISelectableTeam } from '@/types/reporting/reporting-filters.types';
|
||||
import { reportingApiService } from '@/api/reporting/reporting.api.service';
|
||||
import logger from '@/utils/errorLogger';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import {
|
||||
fetchReportingCategories,
|
||||
fetchReportingProjects,
|
||||
fetchReportingTeams,
|
||||
setSelectOrDeselectAllTeams,
|
||||
setSelectOrDeselectTeam,
|
||||
} from '@/features/reporting/time-reports/time-reports-overview.slice';
|
||||
|
||||
const Team: React.FC = () => {
|
||||
const dispatch = useAppDispatch();
|
||||
const [checkedList, setCheckedList] = useState<string[]>([]);
|
||||
const [searchText, setSearchText] = useState('');
|
||||
const [selectAll, setSelectAll] = useState(true);
|
||||
const { t } = useTranslation('time-report');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Button, Checkbox, Dropdown, Space, Typography } from '@/shared/antd-imports';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import CustomPageHeader from '../../page-header/custom-page-header';
|
||||
import TimeWiseFilter from '../../../../components/reporting/time-wise-filter';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Button, DatePicker, DatePickerProps, Select, Space } from '@/shared/antd-imports';
|
||||
import React, { Suspense, useState } from 'react';
|
||||
import Team from '../../components/schedule-old/team/Team';
|
||||
import { SettingOutlined } from '@ant-design/icons';
|
||||
import { SettingOutlined } from '@/shared/antd-imports';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { toggleSettingsDrawer } from '@/features/schedule-old/scheduleSlice';
|
||||
import ScheduleSettingsDrawer from '@/features/schedule-old/ScheduleSettingsDrawer';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, DatePicker, DatePickerProps, Flex, Select, Space } from '@/shared/antd-imports';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import React, { useRef } from 'react';
|
||||
import { SettingOutlined } from '@ant-design/icons';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { setDate, setType, toggleSettingsDrawer } from '@/features/schedule/scheduleSlice';
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { toggleTheme } from '@/features/theme/themeSlice';
|
||||
import { useDocumentTitle } from '@/hooks/useDoumentTItle';
|
||||
import { MoonOutlined, SunOutlined } from '@ant-design/icons';
|
||||
import { MoonOutlined, SunOutlined } from '@/shared/antd-imports';
|
||||
|
||||
const AppearanceSettings = () => {
|
||||
const { t } = useTranslation('settings/appearance');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SearchOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SearchOutlined } from '@/shared/antd-imports';
|
||||
import {
|
||||
Button,
|
||||
Card,
|
||||
@@ -13,7 +13,6 @@ import {
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { CategoryType } from '@/types/categories.types';
|
||||
import CustomColorsCategoryTag from '@features/settings/categories/CustomColorsCategoryTag';
|
||||
import { deleteCategory } from '@features/settings/categories/categoriesSlice';
|
||||
import { categoriesApiService } from '@/api/settings/categories/categories.api.service';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EyeInvisibleOutlined, EyeOutlined } from '@ant-design/icons';
|
||||
import { EyeInvisibleOutlined, EyeOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Card, Form, Input, notification, Row, Typography } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { useDocumentTitle } from '@/hooks/useDoumentTItle';
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
EditOutlined,
|
||||
ExclamationCircleFilled,
|
||||
SearchOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import {
|
||||
Button,
|
||||
Card,
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
EditOutlined,
|
||||
ExclamationCircleFilled,
|
||||
SearchOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useDocumentTitle } from '@/hooks/useDoumentTItle';
|
||||
import { jobTitlesApiService } from '@/api/settings/job-titles/job-titles.api.service';
|
||||
|
||||
@@ -13,7 +13,7 @@ import { useEffect, useMemo, useState } from 'react';
|
||||
|
||||
import PinRouteToNavbarButton from '../../../components/PinRouteToNavbarButton';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SearchOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined, ExclamationCircleFilled, SearchOutlined } from '@/shared/antd-imports';
|
||||
import { ITaskLabel } from '@/types/label.type';
|
||||
import { labelsApiService } from '@/api/taskAttributes/labels/labels.api.service';
|
||||
import CustomColorLabel from '@components/task-list-common/labelsSelector/custom-color-label';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LoadingOutlined, PlusOutlined } from '@ant-design/icons';
|
||||
import { LoadingOutlined, PlusOutlined } from '@/shared/antd-imports';
|
||||
import {
|
||||
Button,
|
||||
Card,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Button, Card, Popconfirm, Table, TableProps, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { DeleteOutlined, EditOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined } from '@/shared/antd-imports';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useDocumentTitle } from '@/hooks/useDoumentTItle';
|
||||
import { projectTemplatesApiService } from '@/api/project-templates/project-templates.api.service';
|
||||
|
||||
@@ -4,7 +4,7 @@ import StatusGroupTables from '../../../projects/project-view-1/taskList/statusT
|
||||
import { TaskType } from '../../../../types/task.types';
|
||||
import { useAppSelector } from '../../../../hooks/useAppSelector';
|
||||
import { PageHeader } from '@ant-design/pro-components';
|
||||
import { ArrowLeftOutlined, CaretDownFilled } from '@ant-design/icons';
|
||||
import { ArrowLeftOutlined, CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { useNavigate, useParams } from 'react-router-dom';
|
||||
import SearchDropdown from '../../../projects/project-view-1/taskList/taskListFilters/SearchDropdown';
|
||||
import { useSelectedProject } from '../../../../hooks/useSelectedProject';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RightOutlined } from '@ant-design/icons';
|
||||
import { RightOutlined } from '@/shared/antd-imports';
|
||||
import { ConfigProvider, Flex, Menu, MenuProps } from '@/shared/antd-imports';
|
||||
import { Link, useLocation } from 'react-router-dom';
|
||||
import { colors } from '@/styles/colors';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Button, Card, Popconfirm, Table, TableProps, Tooltip, Typography } from
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import './task-templates-settings.css';
|
||||
import { DeleteOutlined, EditOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined, EditOutlined } from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import TaskTemplateDrawer from '@/components/task-templates/task-template-drawer';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
SearchOutlined,
|
||||
SyncOutlined,
|
||||
UserSwitchOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import {
|
||||
Avatar,
|
||||
Badge,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Button, Card, Flex, Table, TableProps, Tooltip, Typography } from '@/sh
|
||||
import PinRouteToNavbarButton from '@components/PinRouteToNavbarButton';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { durationDateFormat } from '@utils/durationDateFormat';
|
||||
import { EditOutlined } from '@ant-design/icons';
|
||||
import { EditOutlined } from '@/shared/antd-imports';
|
||||
import { useEffect, useState } from 'react';
|
||||
import EditTeamModal from '@/components/settings/edit-team-name-modal';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
Reference in New Issue
Block a user