|
1 |
| -import { useEffect, useState } from 'react'; |
2 |
| -import { useDocumentTitle } from '@mantine/hooks'; |
3 |
| -import { Stack, Box, Center, Stepper } from '@mantine/core'; |
| 1 | +import { Box, Center, Stack, Stepper } from '@mantine/core'; |
4 | 2 | import {
|
5 | 3 | PRIMARY_HEADER_HEIGHT,
|
6 | 4 | STREAM_PRIMARY_TOOLBAR_CONTAINER_HEIGHT,
|
7 | 5 | STREAM_SECONDARY_TOOLBAR_HRIGHT,
|
8 | 6 | } from '@/constants/theme';
|
9 |
| -import classes from './styles/Correlation.module.css'; |
10 |
| -import { useCorrelationQueryLogs } from '@/hooks/useCorrelationQueryLogs'; |
11 |
| -import { useGetMultipleStreamSchemas, useGetStreamSchema } from '@/hooks/useGetCorrelationStreamSchema'; |
12 |
| -import { useFetchStreamData } from '@/hooks/useFetchStreamData'; |
13 |
| -import { correlationStoreReducers, useCorrelationStore } from './providers/CorrelationProvider'; |
14 | 7 | import { appStoreReducers, useAppStore } from '@/layouts/MainLayout/providers/AppProvider';
|
15 |
| -import CorrelationTable from './Views/CorrelationTable'; |
16 |
| -import CorrelationFooter from './Views/CorrelationFooter'; |
| 8 | +import { correlationStoreReducers, useCorrelationStore } from './providers/CorrelationProvider'; |
| 9 | +import { useEffect, useState } from 'react'; |
| 10 | +import { useGetMultipleStreamSchemas, useGetStreamSchema } from '@/hooks/useGetCorrelationStreamSchema'; |
| 11 | + |
17 | 12 | import { CorrelationEmptyPlaceholder } from './components/CorrelationEmptyPlaceholder';
|
18 |
| -import useParamsController from './hooks/useParamsController'; |
19 |
| -import _ from 'lodash'; |
20 |
| -import { useCorrelationsQuery } from '@/hooks/useCorrelations'; |
21 |
| -import SavedCorrelationsModal from './components/SavedCorrelationsModal'; |
22 |
| -import SaveCorrelationModal from './components/SaveCorrelationModal'; |
23 |
| -import { useCorrelationFetchCount } from './hooks/useCorrelationFetchCount'; |
| 13 | +import CorrelationFooter from './Views/CorrelationFooter'; |
| 14 | +import { CorrelationSidebar } from './components/CorrelationSideBar'; |
| 15 | +import CorrelationTable from './Views/CorrelationTable'; |
| 16 | +import { CorrelationToolbar } from './components/CorrelationToolbar'; |
24 | 17 | import CorrleationJSONView from './Views/CorrelationJSONView';
|
| 18 | +import SaveCorrelationModal from './components/SaveCorrelationModal'; |
| 19 | +import SavedCorrelationsModal from './components/SavedCorrelationsModal'; |
| 20 | +import _ from 'lodash'; |
| 21 | +import classes from './styles/Correlation.module.css'; |
25 | 22 | import dayjs from 'dayjs';
|
26 |
| -import { CorrelationToolbar } from './components/CorrelationToolbar'; |
27 |
| -import { CorrelationSidebar } from './components/CorrelationSideBar'; |
| 23 | +import { useCorrelationFetchCount } from './hooks/useCorrelationFetchCount'; |
| 24 | +import { useCorrelationQueryLogs } from '@/hooks/useCorrelationQueryLogs'; |
| 25 | +import { useCorrelationsQuery } from '@/hooks/useCorrelations'; |
| 26 | +import { useDocumentTitle } from '@mantine/hooks'; |
| 27 | +import { useFetchStreamData } from '@/hooks/useFetchStreamData'; |
| 28 | +import useParamsController from './hooks/useParamsController'; |
28 | 29 |
|
29 | 30 | const { changeStream, setTimeRange } = appStoreReducers;
|
30 | 31 | const { setSelectedFields, setCorrelationCondition, setActiveCorrelation, setPageAndPageData, setTargetPage } =
|
|
0 commit comments