Merge branch 'imp/invite--improvement' into test/invitation-process
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Button, Dropdown } from 'antd';
|
||||
import { Button, Dropdown } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { ILanguageType, setLanguage } from './localesSlice';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { QuestionCircleOutlined } from '@ant-design/icons';
|
||||
import { Button, Tooltip } from 'antd';
|
||||
import { QuestionCircleOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Tooltip } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import './HelpButton.css';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UsergroupAddOutlined } from '@ant-design/icons';
|
||||
import { Button, Tooltip } from 'antd';
|
||||
import { UsergroupAddOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Tooltip } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { colors } from '../../../styles/colors';
|
||||
|
||||
@@ -5,8 +5,8 @@ import {
|
||||
ProjectOutlined,
|
||||
QuestionCircleOutlined,
|
||||
ReadOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { Button, Card, Dropdown, Flex, MenuProps, Space, Typography } from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Button, Card, Dropdown, Flex, MenuProps, Space, Typography } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { colors } from '../../../styles/colors';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState, useMemo } from 'react';
|
||||
import { Link, useLocation } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Col, ConfigProvider, Flex, Menu, MenuProps, Alert } from 'antd';
|
||||
import { Col, ConfigProvider, Flex, Menu, MenuProps, Alert } from '@/shared/antd-imports';
|
||||
import { createPortal } from 'react-dom';
|
||||
|
||||
import InviteTeamMembers from '../../components/common/invite-team-members/invite-team-members';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Ant Design Icons
|
||||
import { BankOutlined, CaretDownFilled, CheckCircleFilled } from '@ant-design/icons';
|
||||
import { BankOutlined, CaretDownFilled, CheckCircleFilled } from '@/shared/antd-imports';
|
||||
|
||||
// Ant Design Components
|
||||
import { Card, Divider, Dropdown, Flex, Tooltip, Typography } from 'antd';
|
||||
import { Card, Divider, Dropdown, Flex, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
|
||||
// Redux Hooks
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ClockCircleOutlined, StopOutlined } from '@ant-design/icons';
|
||||
import { Badge, Button, Dropdown, List, Tooltip, Typography, Space, Divider, theme } from 'antd';
|
||||
import { ClockCircleOutlined, StopOutlined } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Dropdown, List, Tooltip, Typography, Space, Divider, theme } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { taskTimeLogsApiService, IRunningTimer } from '@/api/tasks/task-time-logs.api.service';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Tooltip } from 'antd';
|
||||
import { Button, Tooltip } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { colors } from '../../../styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UserOutlined } from '@ant-design/icons';
|
||||
import { Button, Card, Dropdown, Flex, MenuProps, Tooltip, Typography } from 'antd';
|
||||
import { UserOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Card, Dropdown, Flex, MenuProps, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
|
||||
import { Link } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
TagsOutlined,
|
||||
UserAddOutlined,
|
||||
UsergroupAddOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { Button, Flex, Tooltip, Typography } from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Button, Flex, Tooltip, Typography } from '@/shared/antd-imports';
|
||||
import { colors } from '../../../styles/colors';
|
||||
|
||||
type BulkTasksActionProps = {
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import { SettingOutlined } from '@ant-design/icons';
|
||||
import { Button, Tooltip } from 'antd';
|
||||
import React from 'react';
|
||||
import { useAppDispatch } from '../../../../hooks/useAppDispatch';
|
||||
import { SettingOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Tooltip } from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleDrawer } from './phases.slice';
|
||||
import { useAppSelector } from '../../../../hooks/useAppSelector';
|
||||
import { colors } from '../../../../styles/colors';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
const ConfigPhaseButton = () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Drawer, Flex, Input, Skeleton, Spin, Typography } from 'antd';
|
||||
import { Button, Drawer, Flex, Input, Spin, Typography } from '@/shared/antd-imports';
|
||||
import { useState } from 'react';
|
||||
import { useAppSelector } from '../../../../hooks/useAppSelector';
|
||||
import { useAppDispatch } from '../../../../hooks/useAppDispatch';
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
updateProjectPhaseLabel,
|
||||
} from './phases.slice';
|
||||
import { Divider } from 'antd/lib';
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined } from '@/shared/antd-imports';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import PhaseOptionItem from './PhaseOptionItem';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { useAppSelector } from '../../../../hooks/useAppSelector';
|
||||
import { Flex } from 'antd';
|
||||
import { Flex } from '@/shared/antd-imports';
|
||||
import ConfigPhaseButton from './ConfigPhaseButton';
|
||||
import { colors } from '../../../../styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, ColorPicker, ConfigProvider, Flex, Input } from 'antd';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons';
|
||||
import { Button, ColorPicker, ConfigProvider, Flex, Input } from '@/shared/antd-imports';
|
||||
import { CloseCircleOutlined, HolderOutlined } from '@/shared/antd-imports';
|
||||
import { nanoid } from '@reduxjs/toolkit';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import {
|
||||
|
||||
@@ -11,14 +11,14 @@ import {
|
||||
Select,
|
||||
Tag,
|
||||
Typography,
|
||||
} from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import {
|
||||
healthStatusData,
|
||||
projectColors,
|
||||
statusData,
|
||||
} from '../../../lib/project/project-constants';
|
||||
import { PlusCircleOutlined, PlusOutlined, QuestionCircleOutlined } from '@ant-design/icons';
|
||||
import { PlusCircleOutlined, PlusOutlined, QuestionCircleOutlined } from '@/shared/antd-imports';
|
||||
import { colors } from '../../../styles/colors';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Card, ConfigProvider, Tag, Timeline, Typography } from 'antd';
|
||||
import { Card, ConfigProvider, Tag, Timeline, Typography } from '@/shared/antd-imports';
|
||||
import { simpleDateFormat } from '@/utils/simpleDateFormat';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { colors } from '../../../../../styles/colors';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Skeleton } from 'antd';
|
||||
import { Flex, Skeleton } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import EmptyListPlaceholder from '@/components/EmptyListPlaceholder';
|
||||
import ActivityLogCard from './activity-log-card';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tabs } from 'antd';
|
||||
import { Tabs } from '@/shared/antd-imports';
|
||||
import { TabsProps } from 'antd/lib';
|
||||
import React from 'react';
|
||||
import MembersReportsOverviewTab from './overviewTab/MembersReportsOverviewTab';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Drawer, Typography, Flex, Button, Space, Dropdown } from 'antd';
|
||||
import { Drawer, Typography, Flex, Button, Space, Dropdown } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleMembersReportsDrawer } from '../membersReportsSlice';
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { DownOutlined } from '@/shared/antd-imports';
|
||||
import MembersReportsDrawerTabs from './members-reports-drawer-tabs';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import MembersOverviewTasksStatsDrawer from './overviewTab/members-overview-tasks-stats-drawer/members-overview-tasks-stats-drawer';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography } from 'antd';
|
||||
import { Badge, Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewMemberChartData } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography, Tooltip as AntTooltip } from 'antd';
|
||||
import { Badge, Card, Flex, Typography, Tooltip as AntTooltip } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewMemberChartData } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography } from 'antd';
|
||||
import { Badge, Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewMemberChartData } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Drawer, Typography } from 'antd';
|
||||
import { Drawer, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { memo } from 'react';
|
||||
import { ConfigProvider, Flex, Skeleton, Spin, Table, TableColumnsType, Typography } from 'antd';
|
||||
import { ConfigProvider, Flex, Skeleton, Spin, Table, TableColumnsType, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import CustomTableTitle from '@components/CustomTableTitle';
|
||||
import { simpleDateFormat } from '@/utils/simpleDateFormat';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Drawer, Typography } from 'antd';
|
||||
import { Drawer, Typography } from '@/shared/antd-imports';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Badge, Collapse, Flex, Table, TableColumnsType, Tag, Typography } from 'antd';
|
||||
import { Badge, Collapse, Flex, Table, TableColumnsType, Tag, Typography } from '@/shared/antd-imports';
|
||||
import CustomTableTitle from '@components/CustomTableTitle';
|
||||
import { colors } from '@/styles/colors';
|
||||
import dayjs from 'dayjs';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { DoubleRightOutlined } from '@ant-design/icons';
|
||||
import { DoubleRightOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { setShowTaskDrawer } from '@/features/task-drawer/task-drawer.slice';
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ import {
|
||||
ClockCircleOutlined,
|
||||
ExclamationCircleOutlined,
|
||||
FileExcelOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { Button, Card, Flex } from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Button, Card, Flex } from '@/shared/antd-imports';
|
||||
import React, { ReactNode } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex } from 'antd';
|
||||
import { Flex } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import CustomSearchbar from '../../../../../components/CustomSearchbar';
|
||||
import { fetchData } from '@/utils/fetchData';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Badge, Flex, Table, TableColumnsType, Tag, Typography } from 'antd';
|
||||
import { Badge, Flex, Table, TableColumnsType, Tag, Typography } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import dayjs from 'dayjs';
|
||||
import { DoubleRightOutlined } from '@ant-design/icons';
|
||||
import { DoubleRightOutlined } from '@/shared/antd-imports';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { setSelectedTaskId, setShowTaskDrawer } from '@/features/task-drawer/task-drawer.slice';
|
||||
import CustomTableTitle from '@/components/CustomTableTitle';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IRPTOverviewProject } from '@/types/reporting/reporting.types';
|
||||
import { Flex, Select, Typography } from 'antd';
|
||||
import { Flex, Select, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
type ProjectFilterProps = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from 'antd';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Button, Card, Checkbox, Dropdown, List, Space } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Skeleton } from 'antd';
|
||||
import { Flex, Skeleton } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import BillableFilter from './billable-filter';
|
||||
import { fetchData } from '@/utils/fetchData';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Card, ConfigProvider, Tag, Timeline, Typography } from 'antd';
|
||||
import { Card, ConfigProvider, Tag, Timeline, Typography } from '@/shared/antd-imports';
|
||||
import { simpleDateFormat } from '@/utils/simpleDateFormat';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Drawer, Typography, Flex, Button, Dropdown } from 'antd';
|
||||
import { Drawer, Typography, Flex, Button, Dropdown } from '@/shared/antd-imports';
|
||||
import React, { useState } from 'react';
|
||||
import { useAppSelector } from '../../../../hooks/useAppSelector';
|
||||
import { useAppDispatch } from '../../../../hooks/useAppDispatch';
|
||||
import { setSelectedProject, toggleProjectReportsDrawer } from '../project-reports-slice';
|
||||
import { BankOutlined, DownOutlined } from '@ant-design/icons';
|
||||
import { BankOutlined, DownOutlined } from '@/shared/antd-imports';
|
||||
import ProjectReportsDrawerTabs from './ProjectReportsDrawerTabs';
|
||||
import { colors } from '../../../../styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tabs } from 'antd';
|
||||
import { Tabs } from '@/shared/antd-imports';
|
||||
import { TabsProps } from 'antd/lib';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex } from 'antd';
|
||||
import { Flex } from '@/shared/antd-imports';
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import CustomSearchbar from '../../../../../components/CustomSearchbar';
|
||||
import ProjectReportsMembersTable from './ProjectReportsMembersTable';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Progress, Table, TableColumnsType } from 'antd';
|
||||
import { Progress, Table, TableColumnsType } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import CustomTableTitle from '../../../../../components/CustomTableTitle';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Drawer, Typography, Flex, Button } from 'antd';
|
||||
import { Drawer, Typography, Flex, Button } from '@/shared/antd-imports';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
import { FileOutlined } from '@ant-design/icons';
|
||||
import { FileOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import React from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { Badge, Flex, Table, TableColumnsType, Tag, Typography } from 'antd';
|
||||
import { Badge, Flex, Table, TableColumnsType, Tag, Typography } from '@/shared/antd-imports';
|
||||
import dayjs from 'dayjs';
|
||||
import { DoubleRightOutlined } from '@ant-design/icons';
|
||||
import { DoubleRightOutlined } from '@/shared/antd-imports';
|
||||
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { setShowTaskDrawer } from '@/features/task-drawer/task-drawer.slice';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography } from 'antd';
|
||||
import { Badge, Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewProjectTasksByDue } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography } from 'antd';
|
||||
import { Badge, Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewProjectTasksByPriority } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ import {
|
||||
ClockCircleOutlined,
|
||||
ExclamationCircleOutlined,
|
||||
FileExcelOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { Card, Flex, Typography } from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import { Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import React, { ReactNode } from 'react';
|
||||
import { colors } from '../../../../../styles/colors';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Doughnut } from 'react-chartjs-2';
|
||||
import { Chart, ArcElement, Tooltip } from 'chart.js';
|
||||
import { Badge, Card, Flex, Typography } from 'antd';
|
||||
import { Badge, Card, Flex, Typography } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IRPTOverviewProjectTasksByStatus } from '@/types/reporting/reporting.types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Badge, Collapse, Flex, Table, TableColumnsType, Tag, Typography } from 'antd';
|
||||
import { Badge, Collapse, Flex, Table, TableColumnsType, Tag, Typography } from '@/shared/antd-imports';
|
||||
import { useEffect } from 'react';
|
||||
import CustomTableTitle from '@/components/CustomTableTitle';
|
||||
import { colors } from '@/styles/colors';
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
fetchTask,
|
||||
setSelectedTaskId,
|
||||
} from '@/features/task-drawer/task-drawer.slice';
|
||||
import { DoubleRightOutlined } from '@ant-design/icons';
|
||||
import { DoubleRightOutlined } from '@/shared/antd-imports';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { fetchPriorities } from '@/features/taskAttributes/taskPrioritySlice';
|
||||
import { fetchPhasesByProjectId } from '@/features/projects/singleProject/phase/phases.slice';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex } from 'antd';
|
||||
import { Flex } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import CustomSearchbar from '@components/CustomSearchbar';
|
||||
import GroupByFilter from './group-by-filter';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IGroupBy } from '@/features/board/board-slice';
|
||||
import { CaretDownFilled } from '@ant-design/icons';
|
||||
import { Flex, Select } from 'antd';
|
||||
import { CaretDownFilled } from '@/shared/antd-imports';
|
||||
import { Flex, Select } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Col, DatePicker, Flex, Input, Row } from 'antd';
|
||||
import { Button, Col, DatePicker, Flex, Input, Row } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { toggleModal } from './scheduleSlice';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Avatar, Drawer, Tabs, TabsProps } from 'antd';
|
||||
import { Avatar, Drawer, Tabs, TabsProps } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleScheduleDrawer } from './scheduleSlice';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Checkbox, Col, Drawer, Form, Input, Row } from 'antd';
|
||||
import { Button, Checkbox, Col, Drawer, Form, Input, Row } from '@/shared/antd-imports';
|
||||
import React, { ReactHTMLElement, useState } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { toggleSettingsDrawer, updateSettings } from './scheduleSlice';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { ScheduleData } from '@/types/schedule/schedule-v2.types';
|
||||
import { Button, Col, DatePicker, Flex, Form, Input, Row } from 'antd';
|
||||
import { Button, Col, DatePicker, Flex, Form, Input, Row } from '@/shared/antd-imports';
|
||||
import React, { useEffect } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { createSchedule, fetchTeamData } from './scheduleSlice';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Avatar, Drawer, Tabs, TabsProps } from 'antd';
|
||||
import { Avatar, Drawer, Tabs, TabsProps } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Checkbox, Col, Drawer, Form, Input, Row } from 'antd';
|
||||
import { Button, Checkbox, Col, Drawer, Form, Input, Row } from '@/shared/antd-imports';
|
||||
import React, { ReactHTMLElement, useEffect, useState } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Tag, Typography } from 'antd';
|
||||
import { Tag, Typography } from '@/shared/antd-imports';
|
||||
import { colors } from '@/styles/colors';
|
||||
import { IProjectCategory } from '@/types/project/projectCategory.types';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Select, Tag, Tooltip } from 'antd';
|
||||
import { Select, Tag, Tooltip } from '@/shared/antd-imports';
|
||||
import { CategoryType } from '../../../types/categories.types';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { PhaseColorCodes } from '../../../shared/constants';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Drawer, Form, Input, message, Typography } from 'antd';
|
||||
import { Button, Drawer, Form, Input, message, Typography } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Drawer, Form, Input, message, Typography } from 'antd';
|
||||
import { Button, Drawer, Form, Input, message, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Drawer, Form, Input, message, Typography } from 'antd';
|
||||
import { Button, Drawer, Form, Input, message, Typography } from '@/shared/antd-imports';
|
||||
import React from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Drawer, Form, Input, message, Typography } from 'antd';
|
||||
import { Button, Drawer, Form, Input, message, Typography } from '@/shared/antd-imports';
|
||||
import React, { useEffect } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ConfigProvider, theme } from 'antd';
|
||||
import { ConfigProvider, theme } from '@/shared/antd-imports';
|
||||
import React, { useEffect, useRef, memo, useMemo, useCallback } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Avatar, Button, Card, Divider, Drawer, Tag, Timeline, Typography } from 'antd';
|
||||
import { Avatar, Button, Card, Divider, Drawer, Tag, Timeline, Typography } from '@/shared/antd-imports';
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleTimeLogDrawer } from './timeLogSlice';
|
||||
import { DownloadOutlined } from '@ant-design/icons';
|
||||
import { DownloadOutlined } from '@/shared/antd-imports';
|
||||
import jsonData from './ProjectTimeLog.json';
|
||||
import { AvatarNamesMap, durations } from '../../../shared/constants';
|
||||
import './ProjectTimeLogDrawer.css';
|
||||
|
||||
Reference in New Issue
Block a user